Hi Peter,
On Tue, Aug 25, 2009 at 4:32 PM, Peter W. Draper<[log in to unmask]> wrote:
>
> can you try moving all the "png" libraries out of the way in /star/lib:
>
> cd /star/lib
> mkdir pnglibs
> mv libpng* pnglibs
>
After that, Gaia will not start, saying:
~> gaia
GAIA_DIR = /star/bin/gaia
dyld: Library not loaded: libgaia4.3.0.dylib
Referenced from: /star/bin/gaia/gaia_wish
Reason: image not found
So I set the DYLD library path again:
export DYLD_LIBRARY_PATH=/star/lib
Then started Gaia with a data cube, picked a spectrum from the cube
and exported that to Splat, which started up normally!
Now, obviously, those commands (I've tried a couple in KAPPA) that do
need the png libraries cannot find them anymore, for example:
~/data/PDRs/JCMT2009B> kaphelp
dyld: Library not loaded: /star/lib/libpng12.0.dylib
Referenced from: /star/lib/libpgplot_star.0.dylib
Reason: Incompatible library version: libpgplot_star.0.dylib
requires version 39.0.0 or later, but libpng12.0.dylib provides
version 30.0.0
Trace/BPT trap
So I tried adding the pnglibs subdirectory to the path as well. Like this:
export DYLD_LIBRARY_PATH=/star/lib,/star/lib/pnglibs/
Then I get a different error message from kaphelp:
~> kaphelp
dyld: Library not loaded: libcfitsio.dylib
Referenced from: /star/bin/kappa/kaphelp
Reason: image not found
Trace/BPT trap
Even though the libcfitsio.dylib file is present in /star/lib
~> ls /star/lib/libcfitsio.dylib
/star/lib/libcfitsio.dylib
Am I doing something stupid in setting multiple paths here?
--
Matthijs
--
M.H.D. van der Wiel
Kapteyn Astronomical Institute, University of Groningen
& SRON Netherlands Institute for Space Research
e-mail: [log in to unmask]
homepage: http://www.astro.rug.nl/~wiel/
room: ZG 183 [Landleven 12]
tel: +31 (0)50 363 4083
|