hdf5 upgrade fails
Chris Waterson
waterson at maubi.net
Sun Nov 4 15:57:39 PST 2007
Apologies if this has already been reported, but...
It turns out that the HDF5 build will fail when *upgrading* from
1.6.5_0 to 1.6.6_0 with the following error:
gcc .libs/getnameS.o -O2 -std=c99 -Wno-long-long -O -fomit-frame-
pointer -finline-functions -o .libs/getname getname.o -L./.libs -
lh5test -L/opt/local/lib -L/opt/local/lib/lib -L../src/.libs -lhdf5 -
lz -lm
/usr/bin/ld: warning -L: directory name (/opt/local/lib/lib) does not
exist
/usr/bin/ld: Undefined symbols:
_H5G_user_path_test
collect2: ld returned 1 exit status
make[2]: *** [getname] Error 1
make[1]: *** [tests] Error 1
make: *** [all] Error 2
This is because it finds the old libhdf5.a in /opt/local/lib before
finding it in ../src/.libs (the local build directory).
I was able to work around this problem by:
port uninstall -f hdf5
port install hdf5
It would be nice to somehow patch or fix the software so that this
doesn't bite other unwitting upgraders...
thanks!
chris
More information about the macports-users
mailing list