Hello, On Mon, Nov 16, 2009 at 12:40, Jaromír Mikeš <mira.mi...@seznam.cz> wrote: >> Od: Peter Fritzsche <peter.fritzs...@gmx.de> > >> Source: slv2 >> Version: 0.6.6-2 >> Severity: minor >> User: peter.fritzs...@gmx.de >> Usertags: no-add-needed >> >> Tried to build your package and it fails to build with GNU binutils-gold. The >> important difference is that --no-add-needed is the default behavior of of >> GNU >> binutils-gold. Please provide all needed libraries to the linker when >> building >> your executables. >> >> It is maybe better in your case that libslv2.so gets linked against >> the needed libraries to fix that problem. You can use --no-undefined (or >> respective -Wl,--no-undefined when linking with g++ or gcc) to check your >> libraries if they still have symbols which doesn't get resolved by them. >> >> dpkg-shlibdeps will also print warnings about unresolved symbols when it gets >> run in your debian/rules. >> >> More informations can be found at >> >> http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking >> >> [23/25] cc_link: build/default/utils/lv2_inspect_3.o -> >> build/default/utils/lv2_inspect >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlclose' >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlerror' >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlopen' >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlsym' >> collect2: ld returned 1 exit status >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlclose' >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlerror' >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlopen' >> /usr/bin/ld: default/libslv2.so: error: undefined reference to 'dlsym' >> collect2: ld returned 1 exit status >> Waf: Leaving directory `/home/peter/rebuild/build/slv2/slv2-0.6.6/build' > > Hello mentors, > > I got this email ... can someone advise me how to solve it? >
add "-ldl" to the linking command in the build script (like Makefile"). -- Best Regards LI Daobing -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org