[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Compiling on Fedora 4

From: Chelton Evans
Subject: [Help-gsl] Compiling on Fedora 4
Date: Wed, 5 Jul 2006 06:00:56 -0700 (PDT)

Hi, I did the standard ./configure , make, install
 but it did not work.  I found a fix. I do not know
 unix well, I just hack my way through.

gcc -Wall -I/usr/local/include matrix.c -o main -lgsl
-lgslcblas -lm
edited path to include /usr/local/include/ as
/usr/local/include/gsl needs to
 be seen.

Rebuilt the library with
  ./configure --disable-shared

The problems persisted.
address@hidden gsl]$ gcc -Wall t1.cpp -o main -lgsl
-lgslcblas -lm
/tmp/cc6P8NXu.o(.eh_frame+0x11): undefined reference
to `__gxx_personality_v0'
collect2: ld returned 1 exit status

Inside /gsl-1.7/
cd ./.libs/
cp /usr/lib/
cp libgsl.lai /usr/lib/
pushd /usr/lib/
ln -s libgsl.lai
ln -s

Inside /gsl-1.7/
cd /cblas/.libs
cp libgslcblas.a /usr/lib/
cp /usr/lib/
cp ../ /usr/lib/
pushd /usr/lib/
ln -s
ln -s

g++ -Wall t1.cpp -o main -lgsl -lgslcblas -lm

If this is of help to you the program ran fine,
 if not sorry to trouble you.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]