Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install --shared problem ? #119

Closed
gst opened this issue Aug 25, 2016 · 0 comments
Closed

install --shared problem ? #119

gst opened this issue Aug 25, 2016 · 0 comments

Comments

@gst
Copy link

gst commented Aug 25, 2016

Hi,

on centos 6.7,

11:05 $ pythonz install --shared  2.7.6
Use the previously fetched /home/gregory/.pythonz/dists/Python-2.7.6.tgz
Extracting Python-2.7.6.tgz into /home/gregory/.pythonz/build/CPython-2.7.6

This could take a while. You can run the following command on another shell to track the status:
  tail -f /home/gregory/.pythonz/log/build.log

Installing CPython-2.7.6 into /home/gregory/.pythonz/pythons/CPython-2.7.6

Installed CPython-2.7.6 successfully.
✔ ~

but :

12:11 $ /home/gregory/.pythonz/pythons/CPython-2.7.6/bin/python
/home/gregory/.pythonz/pythons/CPython-2.7.6/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
✔ ~ 

12:15 $ ldd /home/gregory/.pythonz/pythons/CPython-2.7.6/bin/python
        linux-vdso.so.1 =>  (0x00007fff2bfff000)
        libpython2.7.so.1.0 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039cb400000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000039cb800000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00000039db000000)
        libm.so.6 => /lib64/libm.so.6 (0x00000039cc000000)
        libc.so.6 => /lib64/libc.so.6 (0x00000039cb000000)
        /lib64/ld-linux-x86-64.so.2 (0x00000039cac00000)
✔ ~ 
12:15 $ 

my question is : is it normal that I would have to setup myself the LD_LIBRARY_PATH ?

12:13 $ LD_LIBRARY_PATH=.pythonz/pythons/CPython-2.7.6/lib /home/gregory/.pythonz/pythons/CPython-2.7.6/bin/python
Python 2.7.6 (default, Aug 25 2016, 12:07:24) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
@gst gst closed this as completed May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant