[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] help for linking test program
From: |
Thomas Spuhler |
Subject: |
Re: [Help-gsl] help for linking test program |
Date: |
Wed, 6 Dec 2006 13:18:25 -0700 |
User-agent: |
KMail/1.9.4 |
On Wednesday 06 December 2006 12:38, Periklis Rammos wrote:
> Hello
>
> I downloaded & installed gsl 1.8 on my suse10.
> to /home/prammos/Documents/gsl-1.8/
>
> Nothing was installed at 'default' directories
> /usr/local/lib
> /usr/local/include
> (they are empty)
>
> This command worked fine:
> gcc -Wall -I/home/prammos/Documents/gsl-1.8/ -c test1.c
> producing the test1.o file
>
> However, this:
> gcc -L/home/prammos/Documents/gsl-1.8 test1.o -lgsl -lgslcblas -lm
> gives:
> /usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld:
> cannot find -lgsl
> collect2: ld returned 1 exit status
>
> Furthermore,no file under the name libgslcblas or libgsl
> are installed anywhere.
> It seems both -lgsl and -lgslcblas are invisible to gcc
>
> what am i doing wrong?
> Thanks in advance
>
> Periklis Rammos
>
I am not using Suse, on my Mandriva box I have as standard installed :
rpm -qa |grep gsl
libgsl0-devel-1.8-2mdk
gsl-doc-1.8-2mdk
libgsl0-1.8-2mdk
gsl-progs-1.8-2mdk
--
Thomas
pgpVB7kztP5RN.pgp
Description: PGP signature