[MacPorts] #50787: libssl python netCDF4 symbol not found
#50787: libssl python netCDF4 symbol not found -------------------------------+-------------------------------- Reporter: barry.j.mcinnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -------------------------------+-------------------------------- {{{ Not sure where this should get directed to ? After an self update yesterday, a user python netCDF script broke, copying back a previous libssl.1.0.0.dylib, made the script work again. The versions of the library are upgraded problem library - -r-xr-xr-x 1 root admin 388008 Mar 1 15:23 opt/local/lib/libssl.1.0.0.dylib library copied back that works - -r-xr-xr-x 1 root admin 419064 Jan 28 12:35 opt.02032016//local/lib/libssl.1.0.0.dylib The user error was - from netCDF4 import Dataset Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/netCDF4/__init__.py", line 3, in <module> from ._netCDF4 import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/netCDF4/_netCDF4.so, 2): Symbol not found: _SSLv2_client_method Referenced from: /opt/local/lib/libcurl.4.dylib Expected in: /opt/local/lib/libssl.1.0.0.dylib in /opt/local/lib/libcurl.4.dylib All other libraries except libssl were the same. }}} -- Ticket URL: <https://trac.macports.org/ticket/50787> MacPorts <https://www.macports.org/> Ports system for OS X
#50787: libssl python netCDF4 symbol not found --------------------------------+-------------------------------- Reporter: barry.j.mcinnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by barry.j.mcinnes@…): {{{ More issues, after fixing libel problem with old libel, we get another python netCDF4 issue, must be related ? [mac24:~/refcst2] thamill% python precip_forecast_ccpa_2netcdf_610.py 120 240 Traceback (most recent call last): File "precip_forecast_ccpa_2netcdf_610.py", line 7, in <module> from netCDF4 import Dataset File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/netCDF4/__init__.py", line 3, in <module> from ._netCDF4 import * File "netCDF4/_netCDF4.pyx", line 4906, in init netCDF4._netCDF4 (netCDF4/_netCDF4.c:78244) ImportError: cannot import name microsec_units [mac24:~/refcst2] thamill% }}} -- Ticket URL: <https://trac.macports.org/ticket/50787#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50787: libssl python netCDF4 symbol not found --------------------------------+-------------------------------- Reporter: barry.j.mcinnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by devans@…): Replying to [ticket:50787 barry.j.mcinnes@…]:
{{{ Not sure where this should get directed to ?
The user error was - from netCDF4 import Dataset Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/netCDF4/__init__.py", line 3, in <module> from ._netCDF4 import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/netCDF4/_netCDF4.so, 2): Symbol not found: _SSLv2_client_method Referenced from: /opt/local/lib/libcurl.4.dylib Expected in: /opt/local/lib/libssl.1.0.0.dylib in /opt/local/lib/libcurl.4.dylib
All other libraries except libssl were the same. }}}
This first part of the ticket is a duplicate of #50783 which has been fixed. Please do a fresh selfupdate and retest. -- Ticket URL: <https://trac.macports.org/ticket/50787#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts