[Pkg-phototools-devel] Bug#615708: enblend-enfuse: ftbfs with gold or ld --no-add-needed
Andreas Metzler
ametzler at downhill.at.eu.org
Tue Mar 1 18:33:43 UTC 2011
On 2011-02-28 Matthias Klose <doko at debian.org> wrote:
> Package: enblend-enfuse
> Version: 4.0+dfsg-1
> Severity: important
> Tags: sid
> User: peter.fritzsche at gmx.de
> Usertags: no-add-needed
> The package fails to build in a test rebuild on at least amd64 with
> ld --no-add-needed. For details, please see:
> http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
> http://wiki.debian.org/ToolChain/DSOLinking
Actually it even fails with the new Debian default
--no-copy-dt-needed-entries
> Ubuntu might have a patch for this issue, but unfortunately it was
> not forwarded to Debian. Please have a look at
> http://packages.qa.debian.org/enblend-enfuse to see if an Ubuntu version for
> this package exists, and if a fix is included in the Ubuntu diff.
There is no patch.
[...]
> x86_64-linux-gnu-g++ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../include -DVIGRA_STATIC_LIB -pthread -I/usr/include/OpenEXR -g -O2 --param inline-unit-growth=60 -O2 -DNDEBUG -Wall -fopenmp -o enblend enblend-enblend.o enblend-gpu.o enblend-error_message.o enblend-filenameparse.o enblend-filespec.o enblend-self_test.o enblend-tiff_message.o vigra_impex/libvigra_impex.a -lGLEW -lGLU -lGL -lm -lglut -lGLU -lGL -lm -lboost_filesystem -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lxmi -llcms -ltiff -lpng -ljpeg -lz
> /usr/bin/ld: enblend-filenameparse.o: undefined reference to symbol 'boost::system::get_system_category()'
> /usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO /usr/lib64/libboost_system.so.1.42.0 so try adding it to the linker command line
> /usr/lib64/libboost_system.so.1.42.0: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
Afaict this one is basically identical to 602959. enblend uses
boost_filesystem which includes inline references to boost_system in
its *headers*.
There are a couple of workaround available:
* --with-boost-filesystem=no
* LDFLAGS+=--copy-dt-needed-entries
* Patch the autoconfo suite to also link to libboost_system
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Pkg-phototools-devel
mailing list