libcgns.so.2

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
rezki

libcgns.so.2

Post 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
rezki

Re: libcgns.so.2

Post 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
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: libcgns.so.2

Post 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
rezki

Re: libcgns.so.2

Post 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
Post Reply