[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Linking problems with gsl
From: |
John Pye |
Subject: |
Re: [Help-gsl] Linking problems with gsl |
Date: |
Tue, 24 Apr 2007 00:57:01 +1000 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070302) |
Joseph Wakeling wrote:
> I tried an alternative route, also with success: when preparing for the
> install, typing,
>
> ./configure --prefix=/usr
> make
> sudo make install
>
> .... which works without any further ado as this places the library
> where the system expects to find it.
>
That works, but it's very naughty. You should only install to /usr
indirectly, eg by creating an packaged installation such as an RPM or
DEB file.
A better policy is to install to /usr/local but then to modify your
~/.bash_profile to include the 'export
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib' line.
Cheers
JP
john.pye.vcf
Description: Vcard
Re: [Help-gsl] Linking problems with gsl, Jordi Gutierrez Hermoso, 2007/04/23