gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: runpath for X11 in autotools?


From: ng0
Subject: Re: runpath for X11 in autotools?
Date: Thu, 21 Nov 2019 18:57:00 +0000

> 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...

> 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.

The changes had nothing to do with my system btw, it build okay with
it before these changes. Only because I am affected doesn't mean it
didn't work for me.

> Run "ldd -r $PATH_TO_LIBZBAR.so".  On a proper system, it should show
> all required dependencies and no missing symbols. If it shows missing
> symbols, than libzbar was linked incorrectly.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]