#29460: Latest octave wants earlier libhdf5 ------------------------------+--------------------------------------------- Reporter: MacPorts@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: octave libhdf5 | Port: octave ------------------------------+--------------------------------------------- This is the second time in the past week or so that I've had a port fail to run because it wanted an earlier version of some .dylib than the one installed. Isn't there some easy way to require and then use any version equal to or LATER than some specific version? Here is my detailed report: {{{
sudo port selfupdate; sudo port upgrade outdated Password: ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.9.2 installed, MacPorts base version 1.9.2 downloaded. ---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated Error: No ports matched the given expression
octave
dyld: Library not loaded: /opt/local/lib/libhdf5.6.dylib Referenced from: /opt/local/bin/octave Reason: image not found Trace/BPT trap
ls /opt/local/lib/libhdf5[tab]
libhdf5.7.dylib* libhdf5_cpp.7.dylib* libhdf5_hl.a libhdf5_hl_cpp.dylib@ libhdf5.a libhdf5_cpp.a libhdf5_hl.dylib@ libhdf5_hl_cpp.la* libhdf5.dylib@ libhdf5_cpp.dylib@ libhdf5_hl.la* libhdf5.la* libhdf5_cpp.la* libhdf5_hl_cpp.7.dylib* libhdf5.settings libhdf5_hl.7.dylib* libhdf5_hl_cpp.a
cd /opt/local/lib
/opt/local/lib
sudo ln -s libhdf5.7.dylib libhdf5.6.dylib Password:
octave octave:1> exit
port installed | grep octave octave @3.2.4_3+atlas+gcc43 (active) octave-audio @1.1.4_0 (active) octave-benchmark @1.1.1_0 (active) octave-control @1.0.11_0 (active) octave-data-smoothing @1.2.0_0 (active) octave-general @1.1.3_0 (active) octave-ident @1.0.7_0 (active) octave-integration @1.0.7_0 (active) octave-io @1.0.9_0 (active) octave-linear-algebra @1.0.8_0 (active) octave-miscellaneous @1.0.9_0 (active) octave-missing-functions @1.0.2_0 (active) octave-odepkg @0.6.7_0 (active) octave-optim @1.0.6_0 (active) octave-optiminterp @0.3.2_0 (active) octave-plot @1.0.7_0 (active) octave-signal @1.0.10_0 (active) octave-specfun @1.0.8_0 (active) octave-special-matrix @1.0.7_0 (active) octave-spline-gcvspl @1.0.8_0 (active) octave-splines @1.0.7_0 (active) octave-statistics @1.0.9_0 (active) octave-strings @1.0.7_0 (active) octave-struct @1.0.7_0 (active) octave-symband @1.0.10_0 (active)
port installed | grep hdf5 hdf5-18 @1.8.6_2 hdf5-18 @1.8.7_0 (active)
port deps octave Full Name: octave @3.2.4_3+atlas+gcc44 Build Dependencies: gawk, gsed, perl5, texinfo, gcc44 Library Dependencies: arpack, curl, fftw-3, fftw-3-single, ftgl, ghostscript, glpk, GraphicsMagick, gnuplot, hdf5-18, metis, ncurses, pcre, readline, qhull, qrupdate, SuiteSparse, atlas
}}} -- Ticket URL: <https://trac.macports.org/ticket/29460> MacPorts <http://www.macports.org/> Ports system for Mac OS