hdf5 upgrade fails
Ryan Schmidt
ryandesign at macports.org
Sun Nov 4 20:52:46 PST 2007
On Nov 4, 2007, at 17:57, Chris Waterson wrote:
> 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...
Yes, we have two bugs filed on that problem:
http://trac.macports.org/projects/macports/ticket/12704
http://trac.macports.org/projects/macports/ticket/12705
The maintainer of the hdf5 port has not yet added any comments to
those bugs.
More information about the macports-users
mailing list