On Mon, Jul 06, 2009 at 11:48:44AM +0200, Wolfgang Rosenauer wrote:
Hi,
there is a strange (to me) linker error in Factory for the package MozillaFirefox:
The needed libraries are there and also referenced in the linker command. I can reproduce the error when building locally with osc build but I can't really find the issue as executing the very same linker command manually works without throwing errors.
I'm a bit confused. Anyone got a hint?
It is a --as-needed artefact I think. export SUSE_ASNEEDED=0 at %build or fix the bug: reorder the link line: ...xulrunner-devel-1.9.1.0/bin -lxpcom -lxul -L/usr/lib/xulrunner-devel-1.9.1.0/bin -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl /usr/lib/xulrunner-devel-1.9.1.0/lib/libmozreg_s.a -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lz -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject -lplc4 needs to be after /usr/lib/xulrunner-devel-1.9.1.0/lib/libmozreg_s.a Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org