Guest User

Untitled

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