This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: problem in linking the lib
- From: Jacek Pliszka <pliszka at phyun0 dot ucr dot edu>
- To: Achim Gaedke <Achim dot Gaedke at uni-koeln dot de>
- Cc: crsccw at nus dot edu dot sg, <gsl-discuss at sources dot redhat dot com>
- Date: Tue, 14 May 2002 03:38:46 -0700 (PDT)
- Subject: Re: problem in linking the lib
- Reply-to: Jacek Pliszka <pliszka at phyun0 dot ucr dot edu>
On Tue, 14 May 2002, Achim Gaedke wrote:
> Hmm... Maybe it is a typo: the gcc command must be:
>
> gcc -L/usr/lib -lgsl test.c
Why not:
gcc test.c `gsl-config --libs`
BR,
Jacek