This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]