Mailinglist Archive: opensuse-buildservice (175 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
- From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
- Date: Sat, 22 Oct 2011 02:19:14 -0300
- Message-id: <4EA25252.9030409@opensuse.org>
On 22/10/11 01:47, Roman Evstifeev wrote:
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 :) )
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
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 :) )
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
| < Previous | Next > |