#13394: BUG: hdf5 - wrong dependencies in libtool library file --------------------------------+------------------------------------------- Reporter: master@iaas.msu.ru | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.5.2 Keywords: | --------------------------------+------------------------------------------- in libhdf5.la file, installed by the hdf5 port in library folder one can find # Libraries that this one depends upon. dependency_libs=' -R/opt/local/lib/lib -R/opt/local/lib -L/opt/local/lib -L/opt/local/lib/lib -lz -lm' Note the references to nonexistent directory /opt/local/lib/lib. It is a result of the following incorrect Portfile line configure.args --enable-cxx --with-zlib=${prefix}/lib --with-zlib=${prefix}/lib should be changed to --with-zlib=yes or completely dropped, since it is the default. (Or at least, changed to --with-zlib=${prefix}.) configure results in --with-zlib=${prefix}/lib CPPFLAGS: -UH5_DEBUG_API -DNDEBUG -I/opt/local/lib/include -I/opt/local/include LDFLAGS: -L/opt/local/lib -L/opt/local/lib/lib --with-zlib=${prefix} CPPFLAGS: -UH5_DEBUG_API -DNDEBUG -I/opt/local/include -I/opt/local/include LDFLAGS: -L/opt/local/lib -L/opt/local/lib --with-zlib=yes CPPFLAGS: -UH5_DEBUG_API -DNDEBUG -I/opt/local/include LDFLAGS: -L/opt/local/lib In any case the ports version of zlib is linked against. The same holds (I hope, did not check) for --with-szlib in szlib variant. -- Ticket URL: <http://trac.macports.org/projects/macports/ticket/13394> MacPorts </projects/macports> Ports system for Mac OS