Static or Dynamic Linking

Hello

I was testing the HDF5 in our application, I found that HDF5 must be
dynamic linked on Linux and OSX or else the program would get a very weird
segment fault and never gave me any useful debug info just dead in
different ways, use GCC412 on Linux and GCC421 on OSX. I tried to use
threadsafe flag but never work.

Strangely on Windows the static linking works fine by VC10, don't know why,
of course M$ improved C++ compiler a lot a lot.

Using HDF5 1.8.9 . I'm not sure if there is some special code calls system
callback functions for dynamic linking or the other special behavior, now I
just always using dynamic linking on Linux & OSX.

Thanks