Hello Guys
I've been trying to use pygsl but unsuccessfuly so far. It seems it does not
find gsl libraries, which however exist on
--------------------------------------
s...@linux-pvpg:/usr/local/lib> ls
libgsl.a libgslcblas.la libgslcblas.so.0 libgsl.la libgsl.so.0
pkgconfig
libgslcblas.a libgslcblas.so libgslcblas.so.0.0.0 libgsl.so
libgsl.so.0.10.0 X11
s...@linux-pvpg:/usr/local/lib>
--------------------------------------
The message I get while running run_test.py is:
--------------------------------------
# python run_test.py
Did you try to import pygsl in the build directory?
Well, that does not work out of the box. If you want to do that, please
use
python setup.py build_ext -i
to add the necessary extension module in the local pygsl/ directory!
Please read the README first! Any further questions or missing information
please post to [email protected]!
Traceback (most recent call last):
File "run_test.py", line 69, in <module>
run()
File "run_test.py", line 47, in run
import pygsl
File "/usr/local/lib64/python2.6/site-packages/pygsl/__init__.py", line 57,
in <module>
import pygsl.init
ImportError: libgsl.so.0: cannot open shared object file: No such file or
directory
--------------------------------------
I've tried to specify gsl-prefix in 'python setup.py --gsl-prefix='usr/local'
build', it did not help. Then I specified gsl-config in a similar way - the
same result, even the modification of 'pygsl-0.9.4/gsl_dist/gsl_extension.py'
by explicitely pointing out to searched paths made no difference.
Any suggestion how to resolve the problem?
Regards
Romanas
PS: gsl-config output:
linux-pvpg:/home/ssrc/Documents/gsl-1.9 # ./gsl-config --prefix
/usr/local
linux-pvpg:/home/ssrc/Documents/gsl-1.9 # ./gsl-config --libs
-L/usr/local/lib -lgsl -lgslcblas -lm
linux-pvpg:/home/ssrc/Documents/gsl-1.9 # ./gsl-config --cflags
-I/usr/local/include
linux-pvpg:/home/ssrc/Documents/gsl-1.9 # ./gsl-config --version
1.9
linux-pvpg:/home/ssrc/Documents/gsl-1.9 #
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss