Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/ubuntu/galaxy-es/lib/galaxy/earthsystem/gridftp_security/gridftp_acl_plugin.py", line 2, in <module>
- import galaxy.eggs
- File "/home/ubuntu/galaxy-es/lib/galaxy/eggs/__init__.py", line 5, in <module>
- import os, sys, shutil, glob, urllib, urllib2, ConfigParser, HTMLParser, zipimport, zipfile
- File "/usr/lib/python2.7/zipfile.py", line 6, in <module>
- import io
- File "/usr/lib/python2.7/io.py", line 60, in <module>
- import _io
- ImportError: /usr/lib/python2.7/lib-dynload/_io.so: undefined symbol: PyExc_ImportError
- Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
- [GCC 4.5.2] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import galaxy.eggs
- >>>
- SET ( CMAKE_SHARED_LINKER_FLAGS "/usr/lib/python2.7/lib-dynload/datetime.so" )
- g++ -shared -o libfoo.so foo.o -lbar -lzab /usr/lib/python2.7/lib-dynload/datetime.so
- // new line of code
- void*const libpython_handle = dlopen("libpython2.6.so", RTLD_LAZY | RTLD_GLOBAL);
- PyInitialize();
Add Comment
Please, Sign In to add comment