external program interference : libwx_gtk2ud-2.8.so.0 not found on ubuntu 64 bit
I just downloaded and installed phenix 1.5.2 . I want to run phenix with the GUI on my 64 ubuntu 8.04 box When I run phenix I get the following error: hari@charlie:~$ phenix Traceback (most recent call last): File "/usr/local/phenix-1.5-2/phenix/wxGUI2/command_line/main.py", line 13, in <module> run(sys.argv[1:]) File "/usr/local/phenix-1.5-2/phenix/wxGUI2/command_line/main.py", line 7, in run from wxGUI2 import App File "/usr/local/phenix-1.5-2/phenix/wxGUI2/__init__.py", line 109, in <module> import wx File "/rawdata12/wx-widgets-read-only/wxPython/wx/__init__.py", line 45, in <module> from wx._core import * File "/rawdata12/wx-widgets-read-only/wxPython/wx/_core.py", line 4, in <module> import _core_ ImportError: libwx_gtk2ud-2.8.so.0: cannot open shared object file: No such file or directory I know that I should not be getting this error because I have wxwidgets and wxpython installed and I have wx working on this machine for other apps. Consequently I do have a libwx_gtk2ud-2.8.so.0 on my LD_LIBRARY_PATH. I tried with and without a libwx_gtk2ud-2.8.so.0 in my LD_LIBRARY_PATH and I still got the same error. Any ideas why phenix GUI does not start? Thanks Hari hari@charlie:~$ which phenix /usr/local/phenix-1.5-2/build/intel-linux-2.6-x86_64/bin/phenix hari@charlie:~$ echo $LD_LIBRARY_PATH /home/hari/ccp4-6.0.99e/lib::/home/hari/ccp4-6.0.99e/extralib
On Oct 27, 2009, at 9:01 AM, hari jayaram wrote:
I just downloaded and installed phenix 1.5.2 . I want to run phenix with the GUI on my 64 ubuntu 8.04 box
When I run phenix I get the following error: . . . ImportError: libwx_gtk2ud-2.8.so.0: cannot open shared object file: No such file or directory
I know that I should not be getting this error because I have wxwidgets and wxpython installed and I have wx working on this machine for other apps. Consequently I do have a libwx_gtk2ud-2.8.so.0 on my LD_LIBRARY_PATH. I tried with and without a libwx_gtk2ud-2.8.so.0 in my LD_LIBRARY_PATH and I still got the same error.
The Phenix installer comes with its own local installation of Python, wxPython and GTK, because we can't rely on the system having compatible versions (especially on the ancient Linux 2.4 systems). Since we don't compile with that particular library, it sounds like it is linking against the wrong copy of the wxWidgets and/or GTK shared libraries. What happens if you reset LD_LIBRARY_PATH before launching Phenix? I think this can be done temporarily by using the 'env' command: linux% env LD_LIBRARY_PATH="" phenix ------------------- Nathaniel Echols Lawrence Berkeley Lab 510-486-5136 [email protected]
Hi Nathaniel,
I get the same thing.
I know my LD_LIBRARY_PATH is not set .
Even If say
env LD_LIBRARY_PATH="" phenix
OR
export LD_LIBRARY_PATH=""
phenix
I get the same error
libwx_gtk2ud-2.8.so.0 not found
Also as I mentionned. When I do set the LD_LIBRARY_PATH. That *.so
file is very well in the LD_LIBRARY_PATH.
So I dont know why phenix or wx does not find it.
Hari
On Tue, Oct 27, 2009 at 1:47 PM, Nathaniel Echols
On Oct 27, 2009, at 9:01 AM, hari jayaram wrote:
I just downloaded and installed phenix 1.5.2 . I want to run phenix with the GUI on my 64 ubuntu 8.04 box
When I run phenix I get the following error: . . . ImportError: libwx_gtk2ud-2.8.so.0: cannot open shared object file: No such file or directory
I know that I should not be getting this error because I have wxwidgets and wxpython installed and I have wx working on this machine for other apps. Consequently I do have a libwx_gtk2ud-2.8.so.0 on my LD_LIBRARY_PATH. I tried with and without a libwx_gtk2ud-2.8.so.0 in my LD_LIBRARY_PATH and I still got the same error.
The Phenix installer comes with its own local installation of Python, wxPython and GTK, because we can't rely on the system having compatible versions (especially on the ancient Linux 2.4 systems). Since we don't compile with that particular library, it sounds like it is linking against the wrong copy of the wxWidgets and/or GTK shared libraries. What happens if you reset LD_LIBRARY_PATH before launching Phenix? I think this can be done temporarily by using the 'env' command:
linux% env LD_LIBRARY_PATH="" phenix
------------------- Nathaniel Echols Lawrence Berkeley Lab 510-486-5136 [email protected]
_______________________________________________ phenixbb mailing list [email protected] http://www.phenix-online.org/mailman/listinfo/phenixbb
On Oct 27, 2009, at 12:54 PM, hari jayaram wrote:
I get the same error libwx_gtk2ud-2.8.so.0 not found
Also as I mentionned. When I do set the LD_LIBRARY_PATH. That *.so file is very well in the LD_LIBRARY_PATH. So I dont know why phenix or wx does not find it.
I think I didn't read the original message closely enough - sorry. The answer was in the traceback: File "/usr/local/phenix-1.5-2/phenix/wxGUI2/__init__.py", line 109, in <module> import wx File "/rawdata12/wx-widgets-read-only/wxPython/wx/__init__.py", line 45, in <module> from wx._core import * File "/rawdata12/wx-widgets-read-only/wxPython/wx/_core.py", line 4, in <module> import _core_ ImportError: libwx_gtk2ud-2.8.so.0: cannot open shared object file: No such file or directory In fact, the problem is actually with the Python import paths, because it is importing the wxPython module you have installed locally, rather than the one in Phenix (which will be in $PHENIX/build/$PHENIX_MTYPE/ base/lib/python2.6/site-packages). This could be caused by setting PYTHONPATH, although I thought we were already doing the right things to avoid conflicts from this. Could you please send me the output from the following command? phenix.wxpython -c "import sys; print sys.path" ------------------- Nathaniel Echols Lawrence Berkeley Lab 510-486-5136 [email protected]
participants (2)
-
hari jayaram
-
Nathaniel Echols