[Developers] weird linking issue

Steve White steve.white at aei.mpg.de
Thu Oct 19 01:00:23 CDT 2006


Steve,

On 18.10.06, Steven R Brandt wrote:
> I have compiled cactus+carpet and am running on the NCSA machine Tungsten.
> 
> However, when I first tried to run the code it attempted to load 
> libhdf5.so.1. No such library existed, so I made a softlink between 
> libhdf5.so.1 and libhdf5.so.0 and everything worked... but I don't know 
> why it wanted libhdf5.so.1 in the first place. Can anyone explain it?
> 
> BTW, ldd tells me that the code wants libhdf5.so.0 only.
> 
> BTW, I tried contacting the NCSA consult people about this, but they 
> were not particularly helpful.
> 
I don't think anything in Cactus itself would do this.

Probably some external library being linked into Cactus has a link to 
libhdf5.so.1, which existed at the time when (or on the system where)
it was linked.

There are only a few external libraries linked in by Cactus.  You should
be able to track this down by looking at the command line that does
linking:  remove your Cactus executable from the exe directory, and
re-make the config, with SILENT=no.

Cheers!

-- 
Steve White : Programmer
Max-Planck-Institut für Gravitationsphysik      Albert-Einstein-Institut
Am Mühlenberg 1, D-14476 Golm, Germany                  +49-331-567-7625



More information about the Developers mailing list