John,
---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribe Received on Mon Sep 08 2008 - 15:00:43 EDTRe: ISIS initialization error On Mon, Sep 08, 2008 at 13:28 -0400, Keith A McDermott wrote:
> Thanks John,<br>
> <br>
> libpng.a was actually just a symlink to libpng12. I applied that
> change but now it seems to have reverted isis to using it's own pgplot
> module instead of using the system one<br>
> <br>
> *** isis initialization failed; using ISIS_SRCDIR = /usr/local/isis<br>
> <br>
> Error linking to /usr/local/isis/lib/modules/pgplot-module.so:
> /usr/local/isis/lib/modules/pgplot-module.so: undefined symbol: cpggray<br>
> Traceback: import<br>
> /usr/local/isis/share/pgplot.sl:1:<top-level>:Import Error<br>
> Traceback: evalfile<br>
> Traceback: evalfile<br>
> *** isis initialization failed<br>
> <br>
pgplot-module.so is part of the isis distribution.
For some reason, it looks like your pgplot library doesn't have
the 'cpggray' subroutine. That's why you're seeing the message
"undefined symbol: cpggray".
It's strange that this symbol is missing.
> Early on in trying to get a successfully run, I had compiled with<br>
> ./configure --with-pgplotinc=/usr/include --with-pgplotlib=/usr/lib
> --with-pgplot=$HEADAS --with-headas=$HEADAS<br>
> <br>
> but naturally that's not working again. :-)<br>
> <br>
I recommend using the cfitsio and pgplot libraries included in
the HEADAS distribution. To do that, configure isis like so:
./configure --with-slang=DIR --with-headas=$HEADAS
Is cpggray missing from the HEADAS version of pgplot?
In case that's the problem, I removed the reference to cpggray
from pgplot-module.c. That modified version of the module
available in:
ftp://space.mit.edu/pub/houck/tmp/pgplot-module.c
and can be used to replace:
isis-$version/modules/pgplot/src/pgplot-module.c
To build a new version of the pgplot module after replacing
that file, do:
cd isis-$version/modules/pgplot/src
make clean all install
I hope there are no more missing symbols.
Thanks,
-John
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT