View Issue Details

IDProjectCategoryView StatusLast Update
0001383libextractorportabilitypublic2008-07-13 19:40
Reporterghnynex Assigned ToChristian Grothoff  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Summary0001383: cannot use gnunet-insert on openbsd
Descriptiongnunetd compiles (without gtk or gnunet-setup) successfully now on OpenBSD 4.2 i386. after manual creation of /etc/gnunetd.conf and ~/.gnunet/gnunet.conf gnunet-transport-check returns OK. gnunetd runs and daemonizes, appears to be functioning according to gnunet-stats. when i try to run gnunet-insert /some/file i get a spew of "/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol" errors.
Additional Informationthreetwelve # uname -a
OpenBSD threetwelve.cardboard.net 4.2 GENERIC#375 i386
threetwelve # gnunetd --version
gnunetd v0.8.0
threetwelve # pkg-config --version libextrator
0.19
TagsNo tags attached.
Attached Files
gnunet-insert_errors.txt (2,776 bytes)   
# gnunet-insert /home/nynex/LocalExchange0.3.2-3.tar.gz  
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSoD1Ev'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSoD0Ev'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD1Ev'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD0Ev'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE9showmanycEv'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPcl'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_strear_exiv2.so: undefined symbol '_ZTv0_n12_NSoD1Ev'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD0Ev'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE9showmanycEv'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPcl'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE5uflowEv'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISt15basic_streambufIcSt11char_traitsIcEE'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISi'
gnunet-insert:/usr/local/lib/libextractor/libextractor_exiv2.so: undefined sym
Error uploading file: Initialization for indexing file `/home/nynex/LocalExchange0.3.2-3.tar.gz' failed.

gnunet-insert_errors.txt (2,776 bytes)   

Activities

Christian Grothoff

2008-07-02 01:37

manager   ~0003570

That would be a problem with your GNU libextractor installation, not with GNUnet. Simple workaround should be to delete the exiv2 plugin. Or, maybe, just recompile it...

Christian Grothoff

2008-07-13 16:58

manager   ~0003583

I suspect -lstdc++ is missing, I get the following libraries from ldd:

 ldd ~/lib/libextractor/libextractor_exiv2.so
/home/grothoff/lib/libextractor/libextractor_exiv2.so:
        Start End Type Open Ref GrpRef Name
        0bc43000 2bc66000 dlib 1 0 0 /home/grothoff/lib/libextractor/libextractor_exiv2.so
        05d6a000 25d6e000 rlib 0 1 0 /home/grothoff//lib/libextractor.so.2.1
        04007000 24010000 rlib 0 2 0 /usr/lib/libpthread.so.8.0
        03866000 23942000 rlib 0 2 0 /usr/local/lib/libiconv.so.4.0
        0db30000 2db34000 rlib 0 1 0 /home/grothoff//lib/libltdl.so.4.6
        03606000 2360e000 rlib 0 1 0 /usr/lib/libz.so.4.1


And the undef'ed symbols are:
$ extract /var/www/htdocs/logo23.jpg
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSoD1Ev'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSoD0Ev'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD1Ev'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD0Ev'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE9showmanycEv'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEextract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSs20_S_empty_rep_storageE'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTVSt15basic_streambufIcSt11char_traitsIcEE'
extract:/home/grothoff//lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTVSt9basic_iosIcSt11char_traitsIcEE'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTISo'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSoD1Ev'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSoD0Ev'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD1Ev'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTv0_n12_NSoD0Ev'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZNSt15basic_streambufIcSt11char_traits: undefined symbol '_ZTVSt15basic_streambufIcSt11char_traitsIcEE'
extract:/home/grothoff/lib/libextractor/libextractor_exiv2.so: undefined symbol '_ZTVSt9basic_iosIcSt11char_traitsIcEE'


Testing fix now...

Christian Grothoff

2008-07-13 19:29

manager   ~0003584

Fixed in SVN 7426.

Issue History

Date Modified Username Field Change
2008-07-01 12:11 ghnynex New Issue
2008-07-01 12:11 ghnynex File Added: gnunet-insert_errors.txt
2008-07-02 01:37 Christian Grothoff Note Added: 0003570
2008-07-02 01:37 Christian Grothoff Project GNUnet 0.8.x => libextractor
2008-07-13 16:58 Christian Grothoff Note Added: 0003583
2008-07-13 16:59 Christian Grothoff Status new => assigned
2008-07-13 16:59 Christian Grothoff Assigned To => Christian Grothoff
2008-07-13 19:29 Christian Grothoff Status assigned => resolved
2008-07-13 19:29 Christian Grothoff Resolution open => fixed
2008-07-13 19:29 Christian Grothoff Note Added: 0003584
2008-07-13 19:40 Christian Grothoff Status resolved => closed