Mailinglist Archive: opensuse-factory (1172 mails)

< Previous Next >
Re: [opensuse-factory] What should I add to linker?
On Thursday 01 September 2011 13:57:22 Cristian Morales Vega wrote:

'uncompress' is defined in DSO
/usr/lib/gcc/i586-suse-linux/4.6/../../../libz.so so try adding it to the
linker command line

But adding -lz to the linker does not help. What should I do?

With my special superpower (and people is *really* going to be
impressed if I'm correct) I'm going to guess the package is f4l from
KDE:KDE3.

Indeed!

If so, the more useful message is:

...
-ltransform-util -lz -ltransform -lqt-mt -lXext -lX11 -lm -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
flagStonePort/transform-cxx-bsd/transform/libtransform.a(FSTransform.o):
undefined reference to symbol 'uncompress'

And what you need to do is put "-lz" *after* "-ltransform".

Why? This looks very strange for me.

Unfortunately there seems to be no way to put it there so I did not test your
solution yet :\

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >