Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-05-23 Thread Alex Merry
I'm getting issues with building kdelibs-frameworks where I have either kdelibs4 installed in /usr or a sufficiently old version of kdelibs-frameworks installed somewhere referenced by LD_LIBRARY_PATH. The issue seems to be that executables built and used in the build process (like meinproc, but a

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-03 Thread David Faure
I've been wondering the same. Alex? Stephen? On Tuesday 21 May 2013 14:56:29 Alex Merry wrote: > I'm getting issues with building kdelibs-frameworks where I have either > kdelibs4 installed in /usr or a sufficiently old version of > kdelibs-frameworks installed somewhere referenced by LD_LIBRARY_

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-03 Thread Alexander Neundorf
On Monday 03 June 2013, David Faure wrote: > I've been wondering the same. > > Alex? Stephen? I'll have a look RSN. Alex ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-03 Thread Alexander Neundorf
On Tuesday 21 May 2013, Alex Merry wrote: > I'm getting issues with building kdelibs-frameworks where I have either > kdelibs4 installed in /usr or a sufficiently old version of > kdelibs-frameworks installed somewhere referenced by LD_LIBRARY_PATH. > > The issue seems to be that executables built

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-04 Thread Antonis Tsiapaliokas
Hello, I have exact the same issue... My Qt and kdelibs are both clean builds... I am installing both of them on /opt/kde5 ($KF5) I am using Qt 5.2 (dev branch).. One of the parameters on the Qt was -lib $KF5/64... (because my system is 64 bit.) Is that relevant? Could that cause the compile err

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-04 Thread Antonis Tsiapaliokas
Hello, Can you please also post what the RPATH and RUNPATH entries of meinproc4 > look > like, e.g. using readelf -a bin/meinproc4 | grep PATH ? > I have attach a file with the output... Regards, Antonis frameworks_linking Description: Binary data __

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-04 Thread Alexander Neundorf
On Tuesday 04 June 2013, Antonis Tsiapaliokas wrote: > Hello, > > Can you please also post what the RPATH and RUNPATH entries of meinproc4 > > > look > > like, e.g. using readelf -a bin/meinproc4 | grep PATH ? > > I have attach a file with the output... that looks good so far. Do you experience

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-04 Thread Alex Merry
On 03/06/13 22:51, Alexander Neundorf wrote: > Can you please also post what the RPATH and RUNPATH entries of meinproc4 look > like, e.g. using readelf -a bin/meinproc4 | grep PATH ? Hmm... it might just be caused by $LD_LIBRARY_PATH, which appears to override rpath. Meinproc rpath/runpath: Libr

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-04 Thread Alexander Neundorf
On Tuesday 04 June 2013, Alex Merry wrote: > On 03/06/13 22:51, Alexander Neundorf wrote: > > Can you please also post what the RPATH and RUNPATH entries of meinproc4 > > look like, e.g. using readelf -a bin/meinproc4 | grep PATH ? > > Hmm... it might just be caused by $LD_LIBRARY_PATH, which appe

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-04 Thread David Faure
On Tuesday 04 June 2013 23:36:47 Alexander Neundorf wrote: > On Tuesday 04 June 2013, Alex Merry wrote: > > On 03/06/13 22:51, Alexander Neundorf wrote: > > > Can you please also post what the RPATH and RUNPATH entries of meinproc4 > > > look like, e.g. using readelf -a bin/meinproc4 | grep PATH ?

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-05 Thread Alex Merry
On 04/06/13 23:01, David Faure wrote: > Hm, but why doesn't it work then? I see builddir/libkdeqt5staging/src in both > the RPATH and the RUNPATH, and one of these has priority over the env var, no? > I must be confused about how they work, then. https://blog.qt.digia.com/blog/2011/10/28/rpath-an

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-05 Thread Alexander Neundorf
On Wednesday 05 June 2013, Alex Merry wrote: > On 04/06/13 23:01, David Faure wrote: > > Hm, but why doesn't it work then? I see builddir/libkdeqt5staging/src in > > both the RPATH and the RUNPATH, and one of these has priority over the > > env var, no? I must be confused about how they work, then.

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-06 Thread Alex Merry
On 05/06/13 22:30, Alexander Neundorf wrote: > Actually I still do not understand why RUNPATH is considered so much better > than RPATH. More flexibility, I think. The idea is you can test whether an application still runs with new versions of libraries just by using LD_LIBRARY_PATH to point to

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-07 Thread Antonis Tsiapaliokas
On Tue, Jun 4, 2013 at 10:38 PM, Alexander Neundorf wrote: > On Tuesday 04 June 2013, Antonis Tsiapaliokas wrote: > > Hello, > > > > Can you please also post what the RPATH and RUNPATH entries of meinproc4 > > > > > look > > > like, e.g. using readelf -a bin/meinproc4 | grep PATH ? > > > > I have

Re: Bad rpath/LD_LIBRARY_PATH settings in kdelibs build scripts?

2013-06-11 Thread David Faure
Le mercredi 5 juin 2013 23:30:31 Alexander Neundorf a écrit : > On Wednesday 05 June 2013, Alex Merry wrote: > > On 04/06/13 23:01, David Faure wrote: > > > Hm, but why doesn't it work then? I see builddir/libkdeqt5staging/src in > > > both the RPATH and the RUNPATH, and one of these has priority o