Opened 12 years ago

Closed 12 years ago

#29460 closed defect (fixed)

octave needs a rev bump to link against new hdf5-18

Reported by: MacPorts@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: mamoll (Mark Moll), adfernandes (Andrew Fernandes)
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
--->  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.dylib@          libhdf5_cpp.dylib@* *   *         libhdf5_hl_cpp.7.dylib* 
libhdf5.settings        libhdf5_hl.7.dylib*     libhdf5_hl_cpp.a        
> cd /opt/local/lib

> sudo ln -s libhdf5.7.dylib libhdf5.6.dylib
> 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

Change History (6)

comment:1 Changed 12 years ago by MacPorts@…

Cc: MacPorts@… added

Cc Me!

comment:2 Changed 12 years ago by MacPorts@…

Cc: MacPorts@… removed

Cc Me!

comment:3 Changed 12 years ago by MacPorts@…

Cc: MacPorts@… added

Cc Me!

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Cc: mmoll@… added; MacPorts@… removed
Keywords: octave libhdf5 removed
Owner: changed from macports-tickets@… to stechert@…
Summary: Latest octave wants earlier libhdf5octave needs a rev bump to link against new hdf5-18

Please remember to cc the maintainer.

This is probably the case for other hdf5-18 dependents too?

comment:5 Changed 12 years ago by mamoll (Mark Moll)

Yes, I bumped the revision number for other ports dependent on hdf5-18 for which I am a maintainer or which are marked openmaintainer. Not sure if I should do the same for octave and other ports.

comment:6 Changed 12 years ago by ryandesign (Ryan Schmidt)

Cc: adfernandes@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.