[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: kde: Add kdelibs.
From: |
Federico Beffa |
Subject: |
Re: [PATCH] gnu: kde: Add kdelibs. |
Date: |
Wed, 5 Nov 2014 20:50:30 +0100 |
Andreas Enge <address@hidden> writes:
> As usual, the libraries and binaries are not explicitly linked with the
> libraries they depend on. So in a context where the input libraries are not
> in /usr/lib, executing binaries fails.
>
> In my private branch I also tried to compile a few KDE packages. The same
> problem everywhere: Unless I set an LD_LIBRARY_PATH, they do not find the
> necessary KDE and Qt libraries. I think we need a more general solution,
> as also witnessed by this:
I'm working on dconf and I had the same problem: the produced binaries
like dconf-edit, but even shared libraries produced by the build would
not find their own companions. Initially I did set LD_LIBRARY_PATH to
resolve the problem. However, after setting
#:configure-flags
;; Set the correct RUNPATH in binaries.
(list (string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))
at build time, everything was working fine without having to set
LD_LIBRARY_PATH. That is not in dconf and not in packages build against
dconf's libraries.
Regards,
Fede
- [PATCH] gnu: kde: Add kdelibs., Andreas Enge, 2014/11/04
- Re: [PATCH] gnu: kde: Add kdelibs.,
Federico Beffa <=
- Re: [PATCH] gnu: kde: Add kdelibs., Ludovic Courtès, 2014/11/05
- Re: [PATCH] gnu: kde: Add kdelibs., Eric Bavier, 2014/11/05
- Re: [PATCH] gnu: kde: Add kdelibs., Federico Beffa, 2014/11/05
- Re: [PATCH] gnu: kde: Add kdelibs., Andreas Enge, 2014/11/05
- Re: [PATCH] gnu: kde: Add kdelibs., Andreas Enge, 2014/11/05
- Re: [PATCH] gnu: kde: Add kdelibs., Ludovic Courtès, 2014/11/06
- Re: [PATCH] gnu: kde: Add kdelibs., Andreas Enge, 2014/11/06
- Re: [PATCH] gnu: kde: Add kdelibs., Andreas Enge, 2014/11/06
- Re: [PATCH] gnu: kde: Add kdelibs., Andreas Enge, 2014/11/06
- Re: [PATCH] gnu: kde: Add kdelibs., Eric Bavier, 2014/11/06