On Jan 7, 2008, at 11:09 AM, Colin Aspin wrote:
> Hi,
>
> I recently upgraded to the latest JAC Starlink distribution (puana)
> and today tried to compile a
> FORTRAN program using the /star/lib/libpgplot.a library. This
> worked OK using the previous
> release of JAC STarlink but now I get a run-time error (not
> compilation error) when the pgplot
> dynamic library is accessed:
>
> dyld: lazy symbol binding failed: Symbol not found: __g95_index3
> Referenced from: /star/lib/libpgplot.0.dylib
> Expected in: flat namespace
>
> dyld: Symbol not found: __g95_index3
> Referenced from: /star/lib/libpgplot.0.dylib
> Expected in: flat namespace
>
> sp-cn2: line 55: 10570 Trace/BPT trap spgen2 <<ENDIT
>
> Compilation/linking command is:
>
> g95 spgen2.f -o spgen2 -L/star/lib -lchr -lpgplot -lgwm -L/usr/X11R6/
> lib -lX11 -lemsf -lems -
> lcnf
>
Try using the g95 that is in /star/bin
It's possible that your g95 is too old (or too new).
Tim
|