Danny,

   I think your problem is one of two possibilities: either your
LD_LIBRARY_PATH is not being set correctly by pymol.com, or your
python1.5.so shared object isn't valid.  

You might try using linking against a static Python library as described
in http://pymol.sourceforge.net/workarounds.html

Good luck!
Warren

--
mailto:war...@sunesis.com
Warren L. DeLano, Ph.D.
Informatics Manager
Sunesis Pharmaceuticals, Inc.
341 Oyster Point Blvd.
S. San Francisco, CA 94080
(650)-266-3606 fax: (650)-266-3501



> -----Original Message-----
> From: Danny G Smith [mailto:d...@omega.omrf.ouhsc.edu]
> Sent: Tuesday, December 18, 2001 12:52 PM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] pymol on SGI
> 
> 
> I have complied pymol-0_73, with ext-0_51, useing the following
> build.com in the ext subdirectory.  When I try to run pymol.com I get
> the following message:
> 
> omega[272]:/misc/local/src/pymol/pymol % ./pymol.com
> Traceback (innermost last):
>   File "/misc/local/src/pymol/pymol/modules/launch_pymol.py", 
> line 6, in
> ?
>     import pymol
>   File 
> "/misc/local/src/pymol/pymol/modules/pymol/__init__.py", line 24,
> in ?
>     import _cmd
> ImportError: 4192945:/misc/local/src/pymol/pymol/ext/bin/python: rld:
> Fatal Error: Cannot Successfully map soname 'libpython1.5.so' 
> under any
> of the filenames
> /usr/local/lib/libpython1.5.so:/usr/lib32/libpython1.5.so:/usr
> /lib32/internal/libpython1.5.so:/lib32/libpython1.5.so:/opt/li
> b32/libpython1.5.so:
> omega[273]:/misc/local/src/pymol/pymol %
> 
> 
> Any help would be appreciated.
> 
> 
> # build.com in ext directory
> #!/bin/csh
> #
> #---------------------------------------------------------------------
> # Build script for making PyMOL External dependencies
> #---------------------------------------------------------------------
> # (can't do this stuff in a makefile cause we need to define
> #  some important environmental variables)
> #
> #- Paths -------------------------------------------------------------
> #
> # --- Base
> #setenv BASE /home/local/export/ext
> setenv BASE /misc/local/src/pymol/pymol/ext
> #
> #- Targets 
> -------------------------------------------------------------
> # -- Linux with just Tcl/Tk
> # setenv PYMOL_TARGETS "tcl tk zlib python distutils numpy 
> pmw png-linux
> glut-linux"
> #
> # -- Linux with Tcl/Tk and wxPython
> # setenv PYMOL_TARGETS tcl tk zlib python distutils numpy pmw 
> png-linux
> glut-linux glib gtk wxgtk wxpython"
> #
> # -- SGI/IRIX with just Tcl/Tk
> # setenv PYMOL_TARGETS "tcl tk zlib python distutils numpy 
> pmw png-irix
> glut-irix"
> #
> # -- SGI/IRIX with Tcl/Tk and wxPython
> setenv PYMOL_TARGETS "tcl tk zlib python distutils numpy pmw png-irix
> glut-irix glib gtk wxgtk wxpython"
> #---------------------------------------------------------------------
> #
> #- For creation of a shared python library --------------------------
> # --- Linux
> #setenv LDALLFLAGS "--whole-archive"
> # --- SGI/IRIX
> setenv LDALLFLAGS "-n32 -all"
> #---------------------------------------------------------------------
> #
> #- Misc --------------------------------------------------------------
> #
> # --- SGI/IRIX
> setenv SGI_ABI -n32
> setenv MAKE gmake
> setenv CXX CC
> #
> # --- Linux
> #setenv MAKE make
> #
> #- Path pre-emption critical for building gtk/wx ---------------------
> #
> setenv PATH ${BASE}/bin:$PATH
> setenv LD_LIBRARY_PATH ${BASE}/lib
> #
> #- Build 
> --------------------------------------------------------------
> $MAKE -f Makefile.in $1
> 
> 
> 
> 
> -- 
> thanks,
> Danny G Smith  
> 
> UNIX Systems Administrator
> Crystallography Dept Oklahoma Medical Research Foundation
> phone 271-8954 fax 271-7953
> 
> =========================================================
> UNIX air conditioned environment, keep the windows closed
> 
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 

Reply via email to