Page 1 of 1
libcgns.so.2
Posted: Tue Jul 03, 2012 3:05 pm
by rezki
Hello,
I upgraded ubuntu from 11.10 to 12_04 and I am using Code_Saturne 2.0.2.
Before using 12.04 version, all worked well, but when I installed the 12.04 version and lunched Code_Saturne, I got this massage in "listpre" file:
/usr/lib/libcgns.so.2: undefined symbol: H5P_CLS_LINK_ACCESS_g
Any ideas please !!
Best regards.
Rezki
Re: libcgns.so.2
Posted: Wed Jul 04, 2012 9:35 am
by rezki
Hi,
In /usr/lib directory, I try to do :
rezki@rezki:/usr/lib$ file libcgns.so.2
and I get :
libcgns.so.2: symbolic link to `libcgns.so.2.0.0'
Any suggestions ?!
Regards
Rezki
Re: libcgns.so.2
Posted: Thu Jul 05, 2012 10:10 am
by Yvan Fournier
Hello,
Did you reinstall Code_Saturne ?
After upgrading your system, I suggest reinstalling the whole Code_Saturne toolchain (at least the preprocessor/ECS, FVM library, and solver/NCS).
When compiling the solver (NCS), you will need to add
LDFLAGS=-B/usr/lib/compat-ld
to your
configure line, so as to force the legacy GNU linker instead of the newer gold linker
A maintenance version of 2.0 (2.0.6) will be released probably next week, and will not need to precaution above (i.e. the generated libraries will be compatible with the gold linker), but for now, this is my recommendation.
Regards,
Yvan
Re: libcgns.so.2
Posted: Fri Jul 06, 2012 10:35 am
by rezki
Hello,
Thank you for your help.
Problem is solved by reinstalling the old Ubuntu vesrion (11.10) and Code_saturne.
I got an error with : libhdf5-1.6.6.so.0 and I resolved it by creating symbolic link :
sudo ln -s /usr/lib/libhdf5.so.6 /usr/lib/libhdf5-1.6.6.so.0
Thanks again.
Best regards.
Rezki