[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: runpath for X11 in autotools?
From: |
Christian Grothoff |
Subject: |
Re: runpath for X11 in autotools? |
Date: |
Thu, 21 Nov 2019 20:09:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 11/21/19 7:57 PM, ng0 wrote:
>> None of this was required on Debian GNU/Linux before: gnunet-qr works
>> fine without any of your (IMO inappropriate) recent changes to
>> configure.ac.
>
> okay, please read the commits, my message was only providing
> a tiny bit of context. This is for systems which do not provide
> an ldd.so.conf (which exist), however...
That should not matter. I assume you mean ld.so.conf.
>> You linking gnunet-qr directly against libX11 and other dependencies is
>> _wrong_. gnunet-qr does not directly use those other dependencies, so it
>> must not link against those directly. If it does not work without those
>> linker flags, I would investigate whether your libzbar was linked
>> correctly -- maybe libzbar was build badly?
>
> ... I think that you are right here and a simple -Wl,-R/path/to/X11
> should do it (manual, or by the build facilities of the packaging
> system). We do however need the -ljpeg unless I interpreted the
> message I got from #guix the wrong way.
I've checked, and we do not use libjpeg directly, and again it works on
Debian without that flag as a result. So no, even libjpeg is not needed.
Maybe send me the message from #guix via PM?
signature.asc
Description: OpenPGP digital signature