[Top][All Lists]

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

Re: how to use dynamic-link

From: Rob Browning
Subject: Re: how to use dynamic-link
Date: 22 Jan 2001 00:42:51 -0600
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Matt Wette <address@hidden> writes:

> I am trying to use load shared objects but keep running to the
> error message "file not found".  Does anyone know how to do this?
> I am on sparc-solaris7.   If I have a file in the current
> directory and have the symbolic link ->
>   $ LD_LIBRARY_PATH=. guile
>   guile> (dynamic-link "")

AFAIK, dynamic-link doesn't care about LD_LIBRARY_PATH, but if's linked against anything else, then (at least under linux),
ldso *does* care.  One thing I've found tremendously helpful in
tracking down (use-modules (... somemod)) issues is
strace.  If you strace the process, you can often see what files
guile's trying to find and figure out what's wrong.

  strace -f -o strace.dump guile -c '(dynamic-link "")'


Hope this helps.

Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930

reply via email to

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