Dear Christopher,

    did you compile it yourself? (I guess so). If so please can you do

$touch src/init/initmodule.c

and run

$python setup.py build.

Please look if there are any error messages or warnings.

What I can see is, that a symbol is missing in the shared library.

Or could you run something like ldd
on

/Library/Python/2.5/site-packages/pygsl/init.so

and see if this finds the gsl library?

Sincerely yours
   Pierre


> I have installed pygsl on my system with no errors seen during  
> installation and if I try to run python and import say, pygsl.rng, I  
> get:
>
> ---------
> 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 "<stdin>", line 1, in <module>
>    File "/Library/Python/2.5/site-packages/pygsl/__init__.py", line  
> 57, in <module>
>      import pygsl.init
> ImportError: dlopen(/Library/Python/2.5/site-packages/pygsl/init.so,  
> 2): Symbol not found: _gsl_version
>    Referenced from: /Library/Python/2.5/site-packages/pygsl/init.so
>    Expected in: flat namespace
>   in /Library/Python/2.5/site-packages/pygsl/init.so
> ---------
>
> I'm not in the build directory, and the same error pops up when I try  
> to run the tests in the tests directory. I'm using python2.5 on Mac OS  
> X.6.1, and gsl version 1.13.
>
> Thanks.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> pygsl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pygsl-discuss
>   


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss

Reply via email to