This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Problem
- From: Steve ROBBINS <stever at bic dot mni dot mcgill dot ca>
- To: Przemyslaw Sliwa <sliwa at euv-frankfurt-o dot de>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Wed, 25 Sep 2002 13:46:35 -0400
- Subject: Re: Problem
- References: <3D91F251.2040705@euv-frankfurt-o.de>
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