hi,

I just recently changed my main devel box from a debian to a RH9
distribution and something seems to have change which I cannot quite get
used to.

I have my stock RH9 packages installed with GNOME. I have also a
home-built GNOME desktop installed in /opt/gnome2/. Until things started
to break, I used to think that my binaries in /opt/gnome2/bin did find
their associated libs with the magic LD_LIBRARY_PATH I used in my
.bashrc. However, recently, I built gnomemeeting and this binary did not
work. More specifically, it segfaults at startup. I do not really know
why but I suspect that it might be related to the fact the libraries
this binary depends upon resolve to the RH libs installed in /usr while
I did build it against the ones in /opt/gnome2: ldd shows that the
binary depends on /usr libs (at least, this is what LD_DEBUG=libs says).

The weird thing is that this prompted me to figure out why my other
desktop applications did correctly depend upon the libraries in /opt.
This turned out to be because they were built with a RPATH (why, I do
not know but I am looking into this). 

What really surprises me is that the bottomline seems to be that
LD_LIBRARAY_PATH has NO effect whatsoever on the library lookup
performed by the linker. I cannot help but find this a bit
un-constructive. Am I wrong ? If so, how can I make sure that a given
binary will use LD_LIBRARY_PATH correctly ?

(yes, I have exported LD_LIBRARY_PATH, thank you)

regards,
Mathieu
-- 
Mathieu Lacage <[EMAIL PROTECTED]>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to