cedadev / jasmin_scivm

9 stars 0 forks source link

ncxx-config reports wrong lib dir #126

Closed alaniwi closed 7 years ago

alaniwi commented 7 years ago

Reports /usr/lib when libs are in /usr/lib64

$ ncxx4-config --libs -L/usr/lib -lnetcdf_c++4

​​$ rpm -ql netcdf-c++ /usr/bin/ncxx4-config /usr/lib64/libnetcdf_c++4.so /usr/lib64/libnetcdf_c++4.so.1 /usr/lib64/libnetcdf_c++4.so.1.0.2 /usr/lib64/pkgconfig/netcdf-cxx4.pc

alaniwi commented 7 years ago

Seems to be fixed in 4.3.0.

https://github.com/Unidata/netcdf-cxx4/blob/v4.3.0/ncxx4-config.in

alaniwi commented 7 years ago

Not a convenient time to update netcdf-cxx (various packages would need recompiling), so back-porting patch to 4.2 with a comment to remove the patch when upgrading.