From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20192 invoked by alias); 25 Sep 2002 17:46:39 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 20185 invoked from network); 25 Sep 2002 17:46:38 -0000 Received: from unknown (HELO shadow.bic.mni.mcgill.ca) (132.206.178.7) by sources.redhat.com with SMTP; 25 Sep 2002 17:46:38 -0000 Received: (from stever@localhost) by shadow.bic.mni.mcgill.ca (8.11.6/8.11.6) id g8PHkZp435650; Wed, 25 Sep 2002 13:46:35 -0400 (EDT) Date: Wed, 25 Sep 2002 11:24:00 -0000 From: Steve ROBBINS To: Przemyslaw Sliwa Cc: gsl-discuss@sources.redhat.com Subject: Re: Problem Message-ID: <20020925134635.B426213@shadow.bic.mni.mcgill.ca> References: <3D91F251.2040705@euv-frankfurt-o.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: <3D91F251.2040705@euv-frankfurt-o.de>; from sliwa@euv-frankfurt-o.de on Wed, Sep 25, 2002 at 07:28:49PM +0200 X-SW-Source: 2002-q3/txt/msg00226.txt.bz2 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