[Top][All Lists]

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

Problem with libtool

From: Marcus Bjurman
Subject: Problem with libtool
Date: Wed, 18 Jun 2003 14:16:01 +0200


My project ( consists of two parts. One shared 
library and one ordinary executable linked agains the library. The library gets 
built alright but when building the executable libtool doesn't respect the 
$prefix that was choosen at configure-time. What I mean is that the rpath that 
libtool uses at link-time always gets set to /usr/local/lib regardless of the 
$prefix. This obviously causes a problem after the install since the executable 
is linked against a library in /usr/local/lib that doesn't exist.

I checked the libtool script av saw that the variable used for rpath is libdir. 
Checking further I saw that all makefiles have libdir setup correctly to 

So my question basicly is: where does libtool get the libdir variable from? And 
then what is the correct way of getting the correct value there?

BTW: I have checked other packages such as xmms that has the same basic layout 
with a library and an executable. They all work so its not a problem with the 
installation, its rather a problem with me not being able to figure out why 
they work and not my project ;)

Please CC replies to me


reply via email to

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