[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] BUG: shlib search paths on ELF format.
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] BUG: shlib search paths on ELF format. |
Date: |
Sat, 09 Jun 2001 23:48:39 +0200 (CEST) |
> What you said is how to detect correct X11_PATH on "Building",
> but what I want to say is it fails on "Executing".
>
> According to NetBSD ELF FAQ,
> the real solution is to modify the Makefile to using the linker (ld)
> with -R as follows. (man cc and man ld)
> % cc -o ftview -L${X11_PATH} -Wl,-R${X11_PATH} -lX11 ....
>
> But I don't know how to fix with GNU libtool.
> (use --rpath?)
Read `info libtool' :-) With the recent version (1.4), support for
hardcoding run-time paths (-R) is available.
So the only thing is to modify the makefile to use the libtool stuff
from the FreeType library.
Werner