[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of libtool for linking executables - rpath problem
From: |
Bob Friesenhahn |
Subject: |
Re: use of libtool for linking executables - rpath problem |
Date: |
Mon, 19 Nov 2001 13:41:31 -0600 (CST) |
On Mon, 19 Nov 2001, Bruno Haible wrote:
> 3) Introduce a libintl-config script that sets outputs the right -L and
> -rpath option.
Most packages appear to select this option. Unfortunately it is often
worse than useless because it only works in the most simplistic case
--- the case where the application only uses that one library.
As soon as more than one *-config script is used to obtain -I, -L, and
-l options, things blow up since the combination of path options often
selects the wrong files, and the libraries may be linked in the wrong
order.
What is needed is a "database" which acts as a registry of installed
packages. This would be updatable by 'make install' as well as binary
packaging tools. A tool would be provided to formulate the optimum
-I, -L, and -llibs options required to build using a set of libraries.
The database would need to be distributable across multiple prefixes
in order to handle the case where libraries are provided by the
system, installed to a common local directory, and installed in a
private directory.
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
- Re: use of libtool for linking executables - rpath problem, (continued)
- Re: use of libtool for linking executables - rpath problem, Rob Browning, 2001/11/19
- Re: use of libtool for linking executables - rpath problem, Paul Jarc, 2001/11/19
- Re: use of libtool for linking executables - rpath problem, Rob Browning, 2001/11/19
- Re: use of libtool for linking executables - rpath problem, Russ Allbery, 2001/11/19
- Re: use of libtool for linking executables - rpath problem, Bob Friesenhahn, 2001/11/19
- Re: use of libtool for linking executables - rpath problem, Russ Allbery, 2001/11/20
- Re: use of libtool for linking executables - rpath problem, Lars J. Aas, 2001/11/20
- Re: use of libtool for linking executables - rpath problem, Russ Allbery, 2001/11/20
Re: use of libtool for linking executables - rpath problem,
Bob Friesenhahn <=
Re: use of libtool for linking executables - rpath problem, Paul Eggert, 2001/11/19