[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 libgsl.so.0.8.0 /usr/lib/
cp libgsl.lai /usr/lib/
pushd /usr/lib/
ln -s libgsl.lai libgsl.la
ln -s libgsl.so.0.8.0 libgsl.so
Inside /gsl-1.7/
cd /cblas/.libs
cp libgslcblas.a /usr/lib/
cp libgslcblas.so.0.0.0 /usr/lib/
cp ../libgslcbas.la /usr/lib/
pushd /usr/lib/
ln -s libgslcblas.so.0.0.0 libgslcbas.so
ln -s libgslcblas.so.0.0.0 libgslcbas.so.0
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.
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- [Help-gsl] Compiling on Fedora 4,
Chelton Evans <=