On Thursday 06 March 2008 09:51:09 Sukucorp Sukucorp wrote: > On Thu, Mar 6, 2008 at 3:46 AM, Robert Daniels > > <[EMAIL PROTECTED]> wrote: > > On Wednesday 05 March 2008 16:34:10 Bruce Dubbs wrote: > > > It is interesting to note that ldd finds the correct qt4 > > > libraries for binaries like assistant, designer, qtdemo, etc > > > even though LD_LIBRARY_PATH is not set and /etc/ld.so.conf has > > > not been modified. > > > > I believe this is because qt is linked using rpath, embedding the > > full path to the required libraries into the executables. > > Which is not a good thing. It makes upgrading packages very > problematic, especially for folks who use "install into /opt/" style > of package management. > > -- > Tushar Teredesai > mailto:[EMAIL PROTECTED] > http://www.linuxfromscratch.org/~tushar/
True. I knew that qt used rpath, but had no idea what it was until I looked up for my previous reply. Interestingly, I was already working around by creating the installation directory and symlink before configuring, then set -prefix to the symlink. A better way would be to disable rpath, which I think can be done with a configure switch. -- Robert Daniels -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
