ch424 wrote: > However, when I open up the python command line, and type "from gpib > import *" or "import gpib" I get "ImportError: /usr/.../gpibmodule.so: > undefined symbol: ibdev" -- but I know it's defined in the ni488.h > file, especially as I can use this code from actual C programs without > problems. The ni488.h file in in the right place to be used for C > compilation.
I guess ibdev is *declared* in ni488.h and you'll have to add the lib where it is *defined*. You'll probably have to add a libraries = ['gpip'] to setup.py. Daniel -- http://mail.python.org/mailman/listinfo/python-list