[Top][All Lists]

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

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

From: Liviu Nicoara
Subject: Re: libtool/ltmain linking wrong (/usr/lib) libstdc++
Date: Tue, 24 Apr 2007 09:58:19 -0400
User-agent: Thunderbird (X11/20070326)

Hi Ralf,

Ralf Wildenhues wrote:
Hello Liviu,

* Liviu Nicoara wrote on Mon, Apr 23, 2007 at 04:54:55PM CEST:
I have attached it as a gzipped archive.

Was that with --tag=CXX?

Yes it was:

$ /bin/sh ../libtool --debug --tag=CXX --mode=link icpc -g -O2 -o -rpath /tmp/install/lib -release 0.0.1 lib.lo &>

I would expect the search variable sys_lib_search_path_spec to contain all paths explicitly specified in LD_LIBRARY_PATH. If this is not the case there are probably reasons which I do not see right now.

Hmm.  LD_LIBRARY_PATH is not something that is enforced to be equal for
all users of a system.  A library you compile now with some setting for
LD_LIBRARY_PATH may not run for the next user, with her different
setting, nor for you from another shell.

I would imagine that to be (IMHO) the easiest way for the user to explicitly indicate his/her preferences for a library. Is libtool finding libraries via the paths of the executables (compiler driver, linker, etc.) as found in PATH?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]