[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 27 Sep 2005 22:55:15 +0200
* Tim Rice wrote on Tue, Sep 27, 2005 at 07:56:31PM CEST:
> On Tue, 27 Sep 2005, Howard Chu wrote:
> > First of all, my objective - other folks may have their own objectives
> > different than this: Build a suite of software that uses shared libraries,
> > such that any embedded runpaths only reflect the ultimate install path (e.g.
> > /opt/foo/lib) and not any of the build paths (e.g. ~/src/project1/blah).
> I'd like to be able have the embedded runpath be /opt/lib even
> if I install in /opt/foo/lib. (the package posinstall script would put
> symbolic links in /opt/lib)
I believe that should be possible now, although in a bit weird way:
configure --prefix=/opt --enable-fast-install [OPTIONS]
make install DESTDIR=/tmp
mv /tmp/opt/* /opt/foo
# create symlinks ..
./libtool --mode=finish /opt/lib
(surely you can also use some other path below /opt as DESTDIR to avoid
another copy if /tmp is on another mount point).
Did I miss anything?
Re: static vs. dynamic linking, Enrico Weigelt, 2005/09/27