Skip to content
Prev 55460 / 398500 Next

Dyn.load of sharing object with GSL library

On Thu, 9 Sep 2004, Vicky Landsman wrote:

            
That should probably look like this instead:

  PKG_LIBS="-L/usr/local/lib -lgsl -lgslcblas -lm"

The math library (-lm) should not be necessary here but I left it in
case it's needed by your [unspecified] OS for some reason.
Shared library linkage often allows symbols to remain undefined
until runtime by design. As such, there would be no error message.
You may need the following environment variable set prior to
running R. It would be best added to your .profile.

  $ export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:/usr/dt/lib:/usr/lib

And why in the world is your R installation located in a
directory for system binaries? Perhaps it would be better
located as '/usr/local/R-1.9.1' or '/opt/R-1.9.1' instead.


----------------------------------------------------------
SIGSIG -- signature too long (core dumped)