#22033: py26-scientific fails to build -----------------------------------------+---------------------------------- Reporter: singingwolfboy@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: py26-scientific -----------------------------------------+---------------------------------- Comment(by adfernandes@…): Replying to [comment:6 adfernandes@…]:
Replying to [comment:4 singingwolfboy@…]:
I went as far as uninstalling py26-scientific, netcdf, and hdf5-18, and reinstalling all of them. (For netcdf, I used both the "netcdf4" and "docs" variants). Same error message. Weird. Why would it work for you but not for me? Are you also running Leopard?
Yes - 10.5.8, latest dev tools, etc. The suggestion that perhaps py26-numpy or py26-numeric is required is implicitly required a good one; I've got them both.
Thanks for doing all those reinstalls, BTW. I've just checked my shared libraries for py26-scientific and get the following: {{{ Assam:ports andrew$ otool -L `port contents py26-scientific | fgrep .so` /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/Scientific/darwin/Scientific_affinitypropagation.so: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/Scientific/darwin/Scientific_interpolation.so: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/Scientific/darwin/Scientific_netcdf.so: /opt/local/lib/libnetcdf.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/Scientific/darwin/Scientific_numerics_package_id.so: /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/Scientific/darwin/Scientific_vector.so: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) }}} By the look of it, `Scientific_netcdf.so` is the only library that requires a non-system dylib, and only `/opt/local/lib/libnetcdf.6.dylib` at that. (Well, that's a runtime link dependency, but it would be weird if it had a build dependency on one of the other ports mentioned...!) -- Ticket URL: <http://trac.macports.org/ticket/22033#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS