Problem

Steve ROBBINS stever@bic.mni.mcgill.ca
Wed Sep 25 11:24:00 GMT 2002


On Wed, Sep 25, 2002 at 07:28:49PM +0200, Przemyslaw Sliwa wrote:
> Hi,
> I have a small problem:
> I compile the program on my PC and send the executable file on the 
> server which does not
> have GSL. Trying to execute it I get the error:
> error while loading shared libraries: libgsl.so.0: cannot open shared 
> object file: No such file or directory.
> 
> Does anyone know the problem.
 
You just described the problem: the server does not have GSL installed.

You have two options: 1. install gsl on the server, or 2. build your
application using the static gsl libraries.  The recipe for the
second option depends on your compiler; for gcc, link with
"gcc -static ...".

-S



More information about the Gsl-discuss mailing list