Hi,
well I have not yet used the pythonCGNS module with cgns v3.0. So I can
only guess, that the cgns library (so file) is compiled with hdf5
support but not linked to the hdf5 library itself. Thus there are
missing symbols. So either you link the cgns library itself to the hdf5
library, or you link the pythonCGNS module library additionally against
the hdf5 library. Therefore you'll need to adapt the setup.py file. Try
to change the following item in line 48
libraries=["cgns","hdf5"]
This is not tested, so maybe the syntax or the library is different.
Please report any success or failure to the mailing list.
Thx,
Oliver
Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce:
> Hello Oliver,
>
> First thank you for leading python-cgns code, which is very useful for
> us to import our meshes into
> Eilmer3(http://www.mech.uq.edu.au/cfcfd/eilmer3.html).
>
> Python-cgnslinked with cgns version 2.5 worked correctly, but now with
> 3.1 and hdf5 give us this error when executing the tutorials:
>
> "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol:
> H5T_NATIVE_SCHAR_g"
>
> Seems that cgns library works ok by itself, since runs tests in hdf5
> format. Sorry for our lack of knowledge, do you know where this error
> may be pointing?
>
>
> thank you very much
> jorge sancho
> postgraduate student
> Centre for hypersonics, UQ
|