[MacPorts] #51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found:
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: ------------------------+-------------------------------- Reporter: JDTilley@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: kealib ------------------------+-------------------------------- I am trying to install kealib on my computer (OS X 10.11.5, Xcode 7.3). It installs fine, but once I try to open a file in Python using gdal I get the message: {{{ dyld: lazy symbol binding failed: Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE Referenced from: /opt/local/lib/libkea.1.4.4.dylib Expected in: /opt/local/lib/libhdf5_cpp.100.dylib dyld: Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE Referenced from: /opt/local/lib/libkea.1.4.4.dylib Expected in: /opt/local/lib/libhdf5_cpp.100.dylib }}} and Python quits "unexpectedly". I have the following dependencies installed: hdf5 @1.10.0_0+cxx+fortran+gcc5+hl+szip gdal @2.0.1_0+expat+hdf4+hdf5+netcdf I would use gdal 2.1, but the current py27-gdal port is version 2.0.1_0. I'm not sure if it could be related. I was getting the message: {{{ NUMPY driver was compiled against GDAL 2.0 but current library version is 2.1 }}} and unable to open anything until I reactivated the old 2.0.1 port. Does anyone know what my issue is? -- Ticket URL: <https://trac.macports.org/ticket/51584> MacPorts <https://www.macports.org/> Ports system for OS X
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: -------------------------+--------------------- Reporter: JDTilley@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: kealib | -------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => vince@… * cc: vince@… (removed) Comment: Does rebuilding kealib help? {{{ sudo port -ns upgrade --force kealib }}} If so, we may need to increase kealib's revision to rebuild it on the server. -- Ticket URL: <https://trac.macports.org/ticket/51584#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: -------------------------+--------------------- Reporter: JDTilley@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: kealib | -------------------------+--------------------- Old description:
I am trying to install kealib on my computer (OS X 10.11.5, Xcode 7.3). It installs fine, but once I try to open a file in Python using gdal I get the message:
{{{ dyld: lazy symbol binding failed: Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE Referenced from: /opt/local/lib/libkea.1.4.4.dylib Expected in: /opt/local/lib/libhdf5_cpp.100.dylib
dyld: Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE Referenced from: /opt/local/lib/libkea.1.4.4.dylib Expected in: /opt/local/lib/libhdf5_cpp.100.dylib }}}
and Python quits "unexpectedly". I have the following dependencies installed:
hdf5 @1.10.0_0+cxx+fortran+gcc5+hl+szip gdal @2.0.1_0+expat+hdf4+hdf5+netcdf
I would use gdal 2.1, but the current py27-gdal port is version 2.0.1_0. I'm not sure if it could be related. I was getting the message:
{{{ NUMPY driver was compiled against GDAL 2.0 but current library version is 2.1 }}}
and unable to open anything until I reactivated the old 2.0.1 port. Does anyone know what my issue is?
New description: I am trying to install kealib on my computer (OS X 10.11.5, Xcode 7.3). It installs fine, but once I try to open a file in Python using gdal I get the message: {{{ dyld: lazy symbol binding failed: Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE Referenced from: /opt/local/lib/libkea.1.4.4.dylib Expected in: /opt/local/lib/libhdf5_cpp.100.dylib dyld: Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE Referenced from: /opt/local/lib/libkea.1.4.4.dylib Expected in: /opt/local/lib/libhdf5_cpp.100.dylib }}} and Python quits "unexpectedly". I have the following dependencies installed: {{{ hdf5 @1.10.0_0+cxx+fortran+gcc5+hl+szip gdal @2.0.1_0+expat+hdf4+hdf5+netcdf }}} I would use gdal 2.1, but the current py27-gdal port is version 2.0.1_0. I'm not sure if it could be related. I was getting the message: {{{ NUMPY driver was compiled against GDAL 2.0 but current library version is 2.1 }}} and unable to open anything until I reactivated the old 2.0.1 port. Does anyone know what my issue is? -- Comment (by ryandesign@…): Wait... you have deliberately downgraded gdal to version 2.0.1? We can't help you if you do that. Please upgrade gdal back to the latest version provided by MacPorts, and upgrade all other ports shown by `port outdated`, then test kealib again. If py-gdal needs to be updated to a newer version, please file a separate ticket about that. -- Ticket URL: <https://trac.macports.org/ticket/51584#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: -------------------------+--------------------- Reporter: JDTilley@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: kealib | -------------------------+--------------------- Comment (by JDTilley@…): Replying to [comment:1 ryandesign@…]:
Does rebuilding kealib help?
{{{ sudo port -ns upgrade --force kealib }}}
If so, we may need to increase kealib's revision to rebuild it on the server.
Rebuilding did not help. I will get a ticket going on py-gdal if there still isn't an upgraded port and get back with you. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/51584#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: -------------------------+--------------------- Reporter: JDTilley@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: kealib | -------------------------+--------------------- Comment (by JDTilley@…): Replying to [comment:2 ryandesign@…]:
Wait... you have deliberately downgraded gdal to version 2.0.1? We can't help you if you do that. Please upgrade gdal back to the latest version provided by MacPorts, and upgrade all other ports shown by `port outdated`, then test kealib again.
If py-gdal needs to be updated to a newer version, please file a separate ticket about that.
[[BR]] It looks like I might need to wait for an update to py-gdal. I was able to install the python gdal 2.1.0 bindings through pip. Then I reinstalled kealib. However, in Python I get a similar message as before this time complaining about kealib: {{{ ERROR 1: KEA was compiled against GDAL 2.0 but current library version is 2.1 }}} This is strange to me. I did attempt to compile kealib from source before, so I've looked all over my computer but haven't found any traces of previous kealib or gdal installations. Now when I try {{{ sudo port -ns upgrade --force kealib }}} I get build failure with: {{{ Error: org.macports.build for port kealib returned: command execution failed Please see the log file for port kealib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_kealib/kealib/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} I'm not sure if that is expected or not. -- Ticket URL: <https://trac.macports.org/ticket/51584#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: -------------------------+--------------------- Reporter: JDTilley@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: kealib | -------------------------+--------------------- Comment (by JDTilley@…): I patched py27-gdal to 2.1.0. I am still receiving the same error in Python. -- Ticket URL: <https://trac.macports.org/ticket/51584#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts