nicecupoftea
Registered
Hi,
I've been trying to compile and run some code using g95 and pgplot on my new desktop (Mac OS X 10.4.5) but I'm running into some weird (Tiger-specific?) problems. I started off using the pgplot that was already installed on my Mac (from Starlink, if that makes a difference) and g95 from Fink. I compiled the code with no trouble using
%g95 wpplot.f90 -L/local-star/lib -lpgplot
But when I ran it, I encountered this error:
dyld: lazy symbol binding failed: Symbol not found: _s_cat
Referenced from: /local-star/lib/libpgplot.0.dylib
Expected in: flat namespace
dyld: Symbol not found: _s_cat
Referenced from: /local-star/lib/libpgplot.0.dylib
Expected in: flat namespace
Trace/BPT trap
Then, remembering that I was always able to run pgplot downloaded from another source (scisoft) on my laptop (running 10.3.9), I downloaded it from there instead and installed it on my desktop. After trouble-free compilation, I got the following runtime error:
dyld: Library not loaded: /usr/local/lib/libpgplot.dylib
Referenced from: /Users/rmason/data/Miche-BN-specpol/./a.out
Reason: image not found
Trace/BPT trap
I really have no idea what to do. Anybody out there know what's going on and how I can fix it?? Thanks very much!