[PATCH] Fix ldconfig paths in default configuration

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 10 04:27:16 PDT 2007


On Tue, Apr 10, 2007 at 01:49:30PM +0300, Hasso Tepper wrote:
> > Let me guess -- ancient stuff that neither uses pkg-config nor libtool?
> 
> No, just pieces which don't hardcode library paths into binaries for
> various reasons.

Well, if they use pkg-config e.g. to get GTK2, they also get the proper
rpath flags. I thought libtool would handle that as well, but I might be
wrong on that.

It should be noted that the rpath way is the most portable solution,
e.g. most other dynamic linkage schemes have similiar mechanisms.
ldconfig is basically a relict from a.out days.

Joerg





More information about the Submit mailing list