NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: help: can not compile paoloa apps

> > I am compiling paoloa apps, and it seems to me I do not have the
> > libsunmath.so.1 on my machine, can I get it somewhere?  What kind of
> > library is this?  Thx
> >
> > YanChing
> > ....
> > f77 -G GoesRetrievalImp.o change_profil.o ev_diff_prof.o goesrte_2.o
> > so_read_1.o  dbdtgx_1.o get_profil.o re_read_1.o
> > /opt/SUNWspro/lib/libF77.so /opt/SUNWspro/lib/libM77.so
> > /opt/SUNWspro/lib/libV77.so  /usr/lib/libm.so.1
> > /opt/SUNWspro/lib/libFposix.so /opt/SUNWspro/lib/libFposix_c.so
> > /opt/SUNWspro/lib/libsunmath.so.1 -o libGoesRetrieval.so
> > ld: fatal: file /opt/SUNWspro/lib/libsunmath.so.1: cannot open file;
> > errno=2
> > ld: fatal: File processing errors.  No output written to
> > libGoesRetrieval.so
> > *** Error code 1
> > make: Fatal error: Command failed for target `libGoesRetrieval.so'
>  
> I had to explicitly add all these /opt/SUNWspro/lib/*.so files to LIBS
> in the makefile for libGoesRetrieval.so and GoesCollaboration.so in the
> visad/paoloa directory.  Even with /opt/SUNWspro/lib in my LD_LIBRARY_PATH
> java would not link them dynamically (I posted a question to a java
> newsgroup at the time but got no explanation).
>  
> I do not know what libsunmath.so.1 does, but on our Sun it is a symbolic
> link:
>  
>   /opt/SUNWspro/lib/libsunmath.so.1 -> /opt/SUNWspro/SC4.0/lib/libsunmath.so.1
>  
> It could be part of the Fortran installation, so you might make sure
> that Fortran is installed.  Fortran is necessary for the apps in
> visad/paoloa and visad/aune.
>  
> If your sys admin believes that you do have Fortran correctly
> installed let me know, and we can try to get some help from Sun
> on this (or perhaps someone on this list knows more than I do about
> this).

I'd bet that setting either LD_RUN_PATH or LD_PRELOAD to point to
/opt/SUNWspro/lib during the build will fix things.

I've gotta grab JDK1.2b3 to verify that, though.

I'll let you know if I manage to get this built on 'brutus' (which doesn't
have the sunmath stuff either...)

  • 1998 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: