basedir-spec issue

Mike Hearn mike at
Tue May 11 01:30:33 EEST 2004

On Mon, 10 May 2004 09:11:49 -0400, Rodney Dawes wrote:
> The rpath stuff only gets set
> properly if the .la files are available for libtool to use, which aren't
> needed on linux. Distributions like Red Hat, have started to get rid of
> them completely.

If you assume an FHS layout then you can do this:


which will cause a program /opt/bin/foo to look in /opt/lib for its

This is a little known trick. It is however entirely standard (it's a part
of the ELF spec). Maybe this is what you are looking for?

apbuild sets this automatically on the grounds that it's nearly always the
right thing to do.

thanks -mike

More information about the xdg mailing list