On Mon, Sep 08, 2008 at 14:56 -0400, Keith A McDermott wrote: > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> > </head> > <body bgcolor="#ffffff" text="#000000"> Keith, It's difficult for me to read your email with embedded HTML. Could you configure your mail program to send plain ascii text? > John,<br> > <br> > I actually don't have HEADAS at all so I'm not too sure why I had that > at all in my ./configure.<br> > <br> > I have cfitsio2 installed, pgplot compiled and installed in > /usr/local/pgplot and libslang2 installed.<br> > <br> > I had previously resolved this same error by pointing to the inc and > lib folders for the compiled version of pgplot. In the first message > for this thread the path is seen as being different:<br> > <br> > ---------------<br> > Error linking to /usr/local/isis/lib/modules/pgplot-module.so: > /usr/lib/libpgplot.so.5: undefined symbol: png_set_text > <br> > <br> > vs<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> > ---------------<br> > <br> > Also, replacing the pgplot-module.c just advanced to cpgconf missing > symbol.<br> > <br> > I think my problem now is just that I need to get isis to use > libpgplot.so.5 as it had during the first email I had emailed. I have > used the following configure command with no success (although it has > previously worked)<br> > <br> > ./configure --with-pgplotinc=/usr/include --with-pgplotlib=/usr/lib <br> > <br> > Thanks,<br> > Keith<br> I wonder if your local pgplot library was built with a different fortran compiler than the one you're using to build isis. It's important to use compatible C and Fortran compilers to build all the libraries and modules that will be linked together. If you're using gfortran to build isis, then gfortran should also be used to build pgplot. If you're using GNU compilers, then, ideally, they should be based on the same version of gcc. For example: > gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) > gfortran --version GNU Fortran 95 (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) To see what compiler was used to build libpgplot.a, you could do something like this: grep -i g77 /usr/local/pgplot/libpgplot.a grep -i gfortran /usr/local/pgplot/libpgplot.a If G77 symbols show up, g77 was the compiler. The same idea applies for gfortran. Thanks, -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: unsubscribeReceived on Mon Sep 08 2008 - 15:22:48 EDT
This archive was generated by hypermail 2.2.0 : Mon Sep 08 2008 - 15:24:16 EDT