On Wed, 3 Sep 2003, Ben Reser wrote:
> On Wed, Sep 03, 2003 at 09:05:53AM +0200, Gwenole Beauchesne wrote:
> > I explained. If encoded RPATH concerned X11 libs, update their aclocal.m4
> > (LIBTOOL) with bits from system's to add x11 libs in skip list.
>
> You said it should be possible. How about providing the "bits" (as you
> put it) to do just that.
gc's patch. ;-) Something like the following applied to aclocal.m4 or
acinclude.m4 if you intend to regenerate the former:
@@ -1932,8 +1932,8 @@
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib /usr/X11R6/lib"
case $host_os in
aix3*)
Besides, configure seems to list:
--disable-rpath Disable passing additional runtime library
search paths
doesn't it work?
> Or hell even better, why don't you just fix chrpath as Debian did to
> work right on 64-bit archs?
Done, but I'd still prefer the right disabling of rpath without using
chrpath. I once saw a null DT_RPATH entry, it looks weird...
Bye,
Gwenole.