[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: libtool, -rpath into libs
From: Stephan Kulow <coolo () kde ! org>
Date: 2000-04-11 7:30:27
[Download RAW message or body]
Michael Matz wrote:
>
> Hi,
>
> before digging deeply into libtool I wanted to ask the list if somebody
> knows a solution:
>
> I want to build the modules (essentialy shared libs, like kio_xxx.so) with
> hardcoded paths to shared libs they depend on. With libtool this is
> normaly possible (in a more or less portable way) with '-rpath <dir>'. Now
> this only works if libtool is trying to link a program. If one links a
> library (consequently also when linking shared modules), it refuses with
> 'link: warning: ignoring multiple `-rpath's for a libtool library'
>
> If I hack a little bit around (and set hardcode_into_libs to 'all' (it was
> 'yes')) it actually tries to include the paths (in fact they are in
> .libs/module.so). But when installing this stuff, the 'libtool
> --mode=install' pass tries to relink the modules and barfs about not
> finding 'deplibs'.
>
> If nobody has any idea, I guess I have to beat on libtool a little bit.
>
This is not portable and this is also the reason why libtool doesn't
support it.
Greetings, Stephan
--
It said Windows 95 or better, so in theory Linux should run it
GeorgeH on /.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic