Opened 8 years ago

Last modified 7 years ago

#51584 closed defect

kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found: — at Version 2

Reported by: ForTozs Owned by: vince@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: kealib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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?

Change History (2)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vince@… removed
Owner: changed from macports-tickets@… to vince@…

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.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

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.

Note: See TracTickets for help on using tickets.