[Developers] weird linking issue

Erik Schnetter schnetter at cct.lsu.edu
Wed Oct 18 17:28:22 CDT 2006


On Oct 18, 2006, at 16:46:47, 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?

These dependencies are created at link time.  Relinking may change  
things.  It could e.g. be that there is a libhdf5.so.1 somewhere in a  
linker path that is not found at run time.

> BTW, ldd tells me that the code wants libhdf5.so.0 only.

In this case, it may be another shared library which requires  
libhdf5.so.1.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20061018/d65ea649/attachment.bin 


More information about the Developers mailing list