Mailinglist Archive: opensuse-buildservice (175 mails)

< Previous Next >
Re: [opensuse-buildservice] /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
On Sat, Oct 22, 2011 at 9:19 AM, Cristian Rodríguez
<crrodriguez@xxxxxxxxxxxx> wrote:
On 22/10/11 01:47, Roman Evstifeev wrote:

This results in an additional -lX11 flag added to final link command.
So thee questions are:
1) i wonder why this is needed in spec-file to build with OBS (while
not needed using "make" locally),

because you are probably building locally running older openSUSE
versions. The linker now defaults to --no-add-needed in factory, here is
an explanation why:
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange (essentially
now sanity prevails :) )

Thanks, that helped. So the correct way to solve this is to write
patch for package, and applying it in .spec-file?


2) Is it sane to resolve the problem this way? (i.e. with ./configure
LIBS="-lX11")

Hrmmm. not really, however it may be an acceptable hack to move forward ;)

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >