[Thread Prev][Thread Next][Index]

Re: [ferret_users] pyferret and libcurl



Hi Olivier,

This is great to hear you have gotten to this point.  The version of libcurl that you link in needs to be the same version and source of libcurl that was used in building the netcdf libraries.  (Unfortunately, there are a options for libcurl libraries.)  So if you can find the libcurl.so or libcurl.dylib that was used to build netcdf, that is what you need to link against for pyferret.

Best,
Karl
 

On Wed, Jan 27, 2016 at 6:13 AM, Olivier Marti <olivier.marti@xxxxxxxxxxxx> wrote:
Hi,

I've compiled pyferret on Mac OSX 10.11, and the build and installation process seem ok.

When I run pyferret, I get : 

marti@Spip-15:05:45-~ 👉  pyferret
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/marti/local/softs/ferret/lib/python2.7/site-packages/pyferret/__init__.py", line 52, in <module>
    from libpyferret import *
ImportError: dlopen(/Users/marti/local/softs/ferret/lib/python2.7/site-packages/pyferret/libpyferret.so, 2): Library not loaded: libcurl.4.dylib
  Referenced from: /Users/marti/local/softs/ferret/lib/python2.7/site-packages/pyferret/libpyferret.so
  Reason: Incompatible library version: libpyferret.so requires version 9.0.0 or later, but libcurl.4.dylib provides version 7.0.0

As libcurl (http://curl.haxx.se) last version is 7.47, I don't understand that pyferret needs version 9.0.0. Do I misintrepret the message ? What is its true meaning ?

Any hints appreciated !

Olivier

-- 
Dr. Olivier Marti  - mailto:olivier.marti@xxxxxxxxxxxx
Laboratoire des Sciences du Climat et de l'Environnement
Institut Pierre Simon Laplace
Laboratoire CEA-CNRS-UVSQ  -  UMR 8212
















--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement