Thanks very much. What you suggest also works for me, on FreeBDS
10. Even the simpler line
guile -L /opt/nlopt/share/guile/site ex.scm
works, since I have
(setenv "LD_LIBRARY_PATH" "/opt/nlopt/lib")
at the top of ex.scm.
The problem I reported occurs when I run guile inside Emacs 24.3. Maybe
the LD_LIBRARY_PATH isn't really exported?
Kostas
On 05/26/2014 17:52, Steven G. Johnson wrote:
> I just tried it, and it works for me with Guile 1.8.8 (on Debian
> GNU/Linux):
>
> cd nlopt-2.4.2
> ./configure --enable-shared --prefix=$HOME/opt && make && sudo make
> install
> LD_LIBRARY_PATH=$HOME/opt/lib guile -L $HOME/opt/share/guile/site/
>
> and then the example from the tutorial
> (http://ab-initio.mit.edu/wiki/index.php/NLopt_Tutorial#Example_in_GNU_Guile_.28Scheme.29)
> runs successfully.
>
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss