Opened 9 years ago

Last modified 9 years ago

#50787 new defect

libssl python netCDF4 symbol not found

Reported by: basmac Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port:

Description

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.

Change History (2)

comment:1 Changed 9 years ago by basmac

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%

Version 0, edited 9 years ago by basmac (next)

comment:2 in reply to:  description Changed 9 years ago by dbevans (David B. Evans)

Replying to 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.

Note: See TracTickets for help on using tickets.