Hello,
We don't have SunOS boxes here so Analysis will probably not install as
easily (or perhaps even work as easily!) on that as on Linux / OSX. From
doing a bit of googling my first guess is that the library libXmu.* (with
whatever * should be) might not be on the standard runtime search path for
your system. One thing that worries me about this idea is why would it
not be in the same place as all the other X11 libraries, and I assume they
are being picked up ok. Well it's possible this happens to have been the
first X11 function it tried to load so it fell over there but I wonder.
Anyway, is there a libXmu* in /usr/lib/X11 (or /usr/X11R6/lib or wherever
Sun sticks X11)?
If there is, you could instead try, in the shell where you are about to
run analysis:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11/lib
or (if LD_LIBRARY_PATH is not set):
export LD_LIBRARY_PATH=/usr/X11/lib
assuming you are using bash; otherwise do
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/X11/lib
or
setenv LD_LIBRARY_PATH /usr/X11/lib
(If you try "export" and bash is not your shell then you will get a
"command not found" response.)
Wayne
On Mon, 2 Jun 2008, Andreas Grommek wrote:
> Hi everybody,
>
> I just installed the CCPNMR package but analysis does not seem to work properly. If I try to start
> it I get the following messages:
>
> Error, the Analysis module will not work, something is wrong with the C code.
> Traceback (most recent call last):
> File "/nmrnet/var/aria/source/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py", line 72, in
> <module>
> from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
> File "/nmrnet/var/aria/source/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", line 92,
> in <module>
> from ccpnmr.analysis.Analysis import Analysis
> File "/nmrnet/var/aria/source/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py", line 85, in
> <module>
> from ccpnmr.c.ContourFile import ContourFile, StoredContourFile
> ImportError: ld.so.1: python: fatal: relocation error: file
> /nmrnet/var/aria/source/ccpnmr/ccpnmr1.0/python/ccpnmr/c/ContourFile.so: symbol
> XmuLookupStandardColormap: referenced symbol not found
> >>>
>
> I'm not THAT familiar wit Unix, but it seems to me there is a problem with the linker. The question
> is: Is this a mistake I do while compiling or is this a bug?? The software runs on SunOS 5.10 using
> Python 2.5, Tcl 8.4 and Tk 8.4.
>
> Thanks for any help you are able to offer!
>
> Andreas
>
|