-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 26 Jun 2008 22:53:28 +0200 "Jeffrey Ratcliffe" <[EMAIL PROTECTED]> wrote:
> >> dpkg-shlibdeps: warning: > >> debian/syx-gtk/usr/lib/syx/gtk/libsyx-gtk.so.0.0.0 shouldn't be linked > >> with libgthread-2.0.so.0 (it uses none of its symbols). > > I've fixed this in the past with LDFLAGS="-Wl,-z,defs,--as-needed", > but then here the package FTBFS. It seems the -Bsymbolic-functions > flag is currently necessary. Perhaps someone here with more expertise > than I have can advise how to fix this warning. > I've tried with -Wl,--as-needed (-z defs will give compilation errors). The result is the same. objdump -x debian/tmp/usr/lib/syx/gtk/libsyx-gtk.so|grep NEEDED NEEDED libgthread-2.0.so.0 NEEDED librt.so.1 NEEDED libgtk-x11-2.0.so.0 NEEDED libgdk-x11-2.0.so.0 NEEDED libatk-1.0.so.0 NEEDED libgdk_pixbuf-2.0.so.0 NEEDED libm.so.6 NEEDED libpangocairo-1.0.so.0 NEEDED libpango-1.0.so.0 NEEDED libcairo.so.2 NEEDED libgobject-2.0.so.0 NEEDED libgmodule-2.0.so.0 NEEDED libdl.so.2 NEEDED libglib-2.0.so.0 NEEDED libpthread.so.0 NEEDED libc.so.6 You see e.g. libgthread is needed someway even syx-gtk.so doesn't use any of its symbols (I don't know why) - -- http://syx.googlecode.com - Smalltalk YX http://lethalman.blogspot.com - Thoughts about computer technologies http://www.ammazzatecitutti.org - Ammazzateci tutti -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIZHMhw9Qj+8Kak3ERAihDAKCGAl2yLb8u0a05ISf3Xk+sOqad8ACfTbML UoO8QRTTl4esXMYD478lDkU= =EM39 -----END PGP SIGNATURE-----

