On Sun, 26 Jun 2011 13:49:58 -0700
Eric Schulte <[email protected]> wrote:
> Beautiful, this is now working on my system. The only change I needed
> to make was setting LD_LIBRARY_PATH so that libfoo.so could be found at
> runtime, with the following
>
> (ext:system "export LD_LIBRARY_PATH=/home/eschulte/Desktop/lisp-lib;
> ./main.exe")
Alternatively to using LD_LIBRARY_PATH it's also possible to use ELF
RPATH to hold the library paths. For instance, adding the following to
the compiling command using GCC would
add /home/eschulte/Desktop/lisp-lib:
-Wl,-R/home/eschulte/Desktop/lisp-lib
objdump -p from binutils should show the RPATH entries for an ELF object
ldd depending on your OS, should display the library dependencies
and
the fullpath found to them
Your custom RPATH directives can be added to C:*USER-LD-FLAGS*, which
ECL will use when generating the compiler commands.
--
Matt
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list