guile-user
[Top][All Lists]
Advanced

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

Re: dynamic linking problems when using --prefix, perhaps solved


From: Marius Vollmer
Subject: Re: dynamic linking problems when using --prefix, perhaps solved
Date: 24 Apr 2002 22:48:27 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greg Troxel <address@hidden> writes:

> I am having the same dynamic linking problems as others:
> 
>   lab gdt 157 ~/QUIST-current/guile > /usr/quist/bin/guile 
>   ERROR: In procedure dynamic-link:
>   ERROR: file: "libguilereadline", message: "file not found"
>   lab gdt 158 ~/QUIST-current/guile > sudo ldconfig -m /usr/quist/lib
>   lab gdt 159 ~/QUIST-current/guile > /usr/quist/bin/guile
>   ERROR: In procedure dynamic-link:
>   ERROR: file: "libguilereadline", message: "file not found"
> 
> IMHO there should be some way to pass @libdir@ to libtool's dlopen, so
> that guile can search in its installed directory first.
> 
> The following worked, but it is kludgy:
> 
>   LTDL_LIBRARY_PATH=/usr/quist/lib /usr/quist/bin/guile

I think this is exactly right.  If you have shared libraries installed
in /usr/quist/lib, you need to tell your system about it, preferably
globally.

> Alternatively, the scheme code that links libguilereadline could
> pass in the entire path, rather than just the filename.  This would
> ensure that guile links only a matching libguilereadline.  There are
> a lot of systems on which guile 1.4 and 1.5.x will have to coexist -
> I want to use 1.5.6 for new stuff but gnome pulls in 1.4.

We have addressed this issue by including the version number of
libguilereadline in its name so that 1.4 and 1.6 will not confuse each
others libraries.  We hope to have a more elegant solution in 1.8.



reply via email to

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