Re: automake problem with multiple "-rpath"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 May 2021, aotto wrote:

./configure {CC=gcc -m32 -O2} --prefix=... --enable-shared --disable-static
--with-readline-includes=... {--with-readline-library=-L.../lib -lreadline} --with-tcl=.../lib --with-tcl-includes=...

The above does not look good to me. It seems that you expect the configure script to convert the strange '.../lib' into a fully-qualified path (e.g. using 'realpath path' or '(cd path && pwd)'. If it did not do so, then any use of the path would fail or be silently ignored if the build process did any 'cd' while building. Most people would use ../lib rather than .../lib.

So you could do something like

  -L`pwd`/../lib

to form a fully-rooted path.

I choose Try3 ....
so much time spend for a stupid single problem :-(

All problems are stupid!

Notice that you posted to the 'autoconf' list about an 'automake' problem rather than posting to the GNU 'automake' list, although this could possibly be a libtool problem and thus an issue for discussion on the 'libtool' list.

Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux