Giter Club home page Giter Club logo

Comments (3)

four43 avatar four43 commented on July 20, 2024 12

You guys are right at the top of Google for me for conda libncurses.so.6 issues. My fix as discussed elsewhere is:

FIX:
conda install -y conda-forge ncurses

Due to what @ohadravid said, illuding to this issue: conda-forge/gdal-feedstock#221 Who's core issue is: conda/conda#7656 Give that second one a thumbs up, that seems to be the core issue. I was using a root environment too and just install via cli commands, not env file.

Sorry for highjacking your thread, hopefully this is helpful to others.

My original issue: conda-forge/gdal-feedstock#226

from pypy3.5-feedstock.

cowpig avatar cowpig commented on July 20, 2024

I should add:

$ sudo apt install libncurses5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libncurses5 is already the newest version (6.1-1ubuntu1.18.04).

from pypy3.5-feedstock.

ohadravid avatar ohadravid commented on July 20, 2024

Hi!

Thanks for letting me know.

Recreating this using ubuntu:18.04 on docker, it seems to work inside a conda env:

root@bee2cd52f8dc:/# conda create -n testenv
root@bee2cd52f8dc:/# source activate testenv
(testenv) root@bee2cd52f8dc:/# conda install -c conda-forge pypy3.5
(testenv) root@bee2cd52f8dc:/# pypy3
Python 3.5.3 (fdd60ed87e941677e8ea11acf9f1819466521bf2, May 24 2018, 06:31:10)
[PyPy 6.0.0 with GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.

But not under the root env:

root@bee2cd52f8dc:/# conda install -c conda-forge pypy3.5
root@bee2cd52f8dc:/# /root/miniconda3/bin/pypy3
/root/miniconda3/bin/pypy3: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory

I will check it out later, but as a workaround just use it inside a conda-env :)

More info:

(testenv) root@bee2cd52f8dc:/# ldd /root/miniconda3/envs/testenv/bin/pypy3
	linux-vdso.so.1 (0x00007ffc4659d000)
	libpypy3-c.so => /root/miniconda3/envs/testenv/bin/../lib/libpypy3-c.so (0x00007f1dcb31f000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1dcb100000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1dcad0f000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f1dcab0c000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1dca908000)
	libexpat.so.1 => /root/miniconda3/envs/testenv/bin/../lib/./libexpat.so.1 (0x00007f1dca6df000)
	libbz2.so.1.0 => /root/miniconda3/envs/testenv/bin/../lib/./libbz2.so.1.0 (0x00007f1dca4cf000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1dca131000)
	libz.so.1 => /root/miniconda3/envs/testenv/bin/../lib/./libz.so.1 (0x00007f1dc9f14000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1dc9d0c000)
	libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f1dc9ad4000)
	libffi.so.6 => /root/miniconda3/envs/testenv/bin/../lib/./libffi.so.6 (0x00007f1dc98cb000)
	libncurses.so.6 => /root/miniconda3/envs/testenv/bin/../lib/./libncurses.so.6 (0x00007f1dc969f000)
	libtinfo.so.6 => /root/miniconda3/envs/testenv/bin/../lib/./libtinfo.so.6 (0x00007f1dc9461000)
	libgcc_s.so.1 => /root/miniconda3/envs/testenv/bin/../lib/./libgcc_s.so.1 (0x00007f1dc924f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1dcee32000)


root@bee2cd52f8dc:/# ldd /root/miniconda3/bin/pypy3
	linux-vdso.so.1 (0x00007ffc5075d000)
	libpypy3-c.so => /root/miniconda3/bin/../lib/libpypy3-c.so (0x00007fc8fd532000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc8fd313000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc8fcf22000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fc8fcd1f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc8fcb1b000)
	libexpat.so.1 => /root/miniconda3/bin/../lib/./libexpat.so.1 (0x00007fc8fc8f2000)
	libbz2.so.1.0 => /root/miniconda3/bin/../lib/./libbz2.so.1.0 (0x00007fc8fc6e2000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc8fc344000)
	libz.so.1 => /root/miniconda3/bin/../lib/./libz.so.1 (0x00007fc8fc12d000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc8fbf25000)
	libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007fc8fbced000)
	libffi.so.6 => /root/miniconda3/bin/../lib/./libffi.so.6 (0x00007fc8fbae4000)
	libncurses.so.6 => not found
	libtinfo.so.6 => not found
	libgcc_s.so.1 => /root/miniconda3/bin/../lib/./libgcc_s.so.1 (0x00007fc8fb8d2000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc901045000)

root@bee2cd52f8dc:/# ll /root/miniconda3/lib/libncu*
lrwxrwxrwx 1 root root     15 Jun 15 12:55 /root/miniconda3/lib/libncurses++.a -> libncurses++w.a
-rw-rw-r-- 2 root root 128120 May  9 12:10 /root/miniconda3/lib/libncurses++w.a
lrwxrwxrwx 1 root root     13 Jun 15 12:55 /root/miniconda3/lib/libncurses.a -> libncursesw.a
lrwxrwxrwx 1 root root     18 Jun 15 12:55 /root/miniconda3/lib/libncurses.so -> libncursesw.so.6.1*
-rw-rw-r-- 2 root root 448020 May  9 12:10 /root/miniconda3/lib/libncursesw.a
lrwxrwxrwx 1 root root     18 Jun 15 12:55 /root/miniconda3/lib/libncursesw.so -> libncursesw.so.6.1*
lrwxrwxrwx 1 root root     18 Jun 15 12:55 /root/miniconda3/lib/libncursesw.so.6 -> libncursesw.so.6.1*
-rwxrwxr-x 2 root root 264040 May  9 12:10 /root/miniconda3/lib/libncursesw.so.6.1*


root@bee2cd52f8dc:/# ll /root/miniconda3/envs/testenv/lib/libncu*
-rw-rw-r-- 2 root root 240376 Apr 18 18:14 /root/miniconda3/envs/testenv/lib/libncurses++.a
-rw-rw-r-- 2 root root 240440 Apr 18 18:15 /root/miniconda3/envs/testenv/lib/libncurses++w.a
-rw-rw-r-- 2 root root 351564 Apr 18 18:14 /root/miniconda3/envs/testenv/lib/libncurses.a
lrwxrwxrwx 1 root root     17 Jun 15 10:38 /root/miniconda3/envs/testenv/lib/libncurses.so -> libncurses.so.6.1*
lrwxrwxrwx 1 root root     17 Jun 15 10:38 /root/miniconda3/envs/testenv/lib/libncurses.so.6 -> libncurses.so.6.1*
-rwxrwxr-x 2 root root 210368 Apr 18 18:15 /root/miniconda3/envs/testenv/lib/libncurses.so.6.1*
-rw-rw-r-- 2 root root 481892 Apr 18 18:14 /root/miniconda3/envs/testenv/lib/libncursesw.a
lrwxrwxrwx 1 root root     18 Jun 15 10:38 /root/miniconda3/envs/testenv/lib/libncursesw.so -> libncursesw.so.6.1*
lrwxrwxrwx 1 root root     18 Jun 15 10:38 /root/miniconda3/envs/testenv/lib/libncursesw.so.6 -> libncursesw.so.6.1*
-rwxrwxr-x 2 root root 299166 Apr 18 18:15 /root/miniconda3/envs/testenv/lib/libncursesw.so.6.1*

Seems like the lib/libncurses.so.6 link is missing.

from pypy3.5-feedstock.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.