Re: Failed to import PyNIO from precompiled binary

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 20 2014 - 15:25:36 MDT

Hi Jack,

Thanks also to you for providing useful information on your SSL libraries.

It does indeed look like you have a newer SSL library than what PyNIO was built with. This doesn't surprised me because we haven't release a new set of binaries for awhile now.

What version of gfortran do you have? I might be able to provide you with a new PyNIO binary compiled against this.

gfortran --version

Also, do you need OPeNDAP support? If not, then I can probably build PyNIO without OPeNDAP support, which I believe turns off the SSL requirement.

Thanks,

--Mary

On Mar 17, 2014, at 6:59 PM, Shi-Pei Hsu <hsushipei1@gmail.com> wrote:

> Dear all,
>
> I downloaded pre-compiled version of PyNIO,
>
> "PyNIO-1.4.1.linux-redhat-x86_64-gcc412-py271-numpy160.tar.gz".
>
> I moved the extracted files under /usr since I can find the same directories("lib/python2.7/site-
>
> packages") from the tar file.
>
> To test the software, I got the following message
>
> >>> import Nio
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "Nio.py", line 63, in <module>
> from nio import *
> ImportError: libssl.so.6: cannot open shared object file: No such file or directory
>
> Then, I checked the dynamically linked libraries of "nio.so", it prints the following
>
> linux-vdso.so.1 => (0x00007fffd5dfe000)
> libidn.so.11 => /lib64/libidn.so.11 (0x00007fbc450c7000)
> libssl.so.6 => not found
> libcrypto.so.6 => not found
> libldap-2.3.so.0 => not found
> librt.so.1 => /lib64/librt.so.1 (0x00007fbc44ebe000)
> libgfortran.so.1 => not found
> libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fbc44bb5000)
> libm.so.6 => /lib64/libm.so.6 (0x00007fbc448ae000)
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbc44697000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbc4447a000)
> libc.so.6 => /lib64/libc.so.6 (0x00007fbc440bb000)
> /lib64/ld-linux-x86-64.so.2 (0x000000345dc00000)
>
> Then I tried to find the missing *.so files, for example,
>
> $ locate libssl
>
> One of the output is,
>
> /usr/lib64/libssl.so.10
>
> Is the "point 10" after .so means the version of libssl I have is "too new" for the current PyNIO?
>
> I also tried to locate other missing libs, like "libgfortran.so.1"
>
> nio.so needs libgfortran.so.1, but I have /usr/lib64/libgfortran.so.3 in my system. I don't whether they are the same issue or not.
>
> P.S. The OS I'm running is the latest stable version of Fedora, Fedora 20 with kernel 3.13.6-200.fc20.x86_64
>
> Thank you very much!!
>
> Sincerely,
> Jack Hsu
>
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Mar 20 15:25:44 2014

This archive was generated by hypermail 2.1.8 : Mon Apr 14 2014 - 11:43:53 MDT