Dear Pierre, On Sep 30, 2009, at 12:56 PM, Pierre SCHNIZER wrote:
> > 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. > I get these odd warnings: ld: warning: in /usr/local/lib/libgsl.dylib, file is not of required architecture ld: warning: in /usr/local/lib/libgslcblas.dylib, file is not of required architecture ld: warning: in /usr/local/lib/libgsl.dylib, file is not of required architecture ld: warning: in /usr/local/lib/libgslcblas.dylib, file is not of required architecture This is odd because I have installed gsl recently and have linked to it successfully with my c compiler. > 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? > When I do this, I get the message: ld: warning: -arch not specified ld: warning: in /Library/Python/2.5/site-packages/pygsl/init.so, missing required architecture x86_64 in file ld: could not find entry point "start" (perhaps missing crt1.o) for inferred architecture x86_64 I'm not sure I know exactly where to go from here, so hopefully you may have some idea... > 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® 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-12, 2009. >> Register now! >> 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® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ pygsl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pygsl-discuss
