PacificBiosciences / FALCON_unzip

Making diploid assembly becomes common practice for genomic study
BSD 3-Clause Clear License
30 stars 18 forks source link

Problem with HDF5 and downloaded binary #83

Closed pb-cdunn closed 7 years ago

pb-cdunn commented 7 years ago
+ /home/UNIXHOME/cdunn/repo/gh/FALCON-integrate/FALCON-examples/run/greg200k-sv2/DOWN/bin/pbalign -h
Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.8.16, library is 1.8.17
pb-cdunn commented 7 years ago
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:        14.04
Codename:       trusty
pb-cdunn commented 7 years ago

Also happens on Centos6.6.

pb-cdunn commented 7 years ago

Apparently, our Anaconda picks up its own shared libraries, despite my LD_LIBRARY_PATH.

pb-cdunn commented 7 years ago
export HDF5_DISABLE_VERSION_CHECK=1

Seems to work for pbalign, but fails for ConsensusCore.

ImportError: /mnt/software/a/anaconda2/4.2.0/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/UNIXHOME/cdunn/repo/gh/FALCON-integrate/FALCON-examples/run/greg200k-sv2/DOWN/lib/python2.7/site-packages/ConsensusCore-1.0.2-py2.7.egg/_ConsensusCore.so)

Yes, I first ran module load gcc/4.9.2, which solved the glibcxx problem for other Pythons. Possibly, Anaconda uses its own libgcc too? Maybe via rpath when built?

Other Python works fine. Closing.