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

lib64 -> lib is broken link #1016

Closed
j00bar opened this issue Feb 13, 2017 · 2 comments
Closed

lib64 -> lib is broken link #1016

j00bar opened this issue Feb 13, 2017 · 2 comments

Comments

@j00bar
Copy link

j00bar commented Feb 13, 2017

Running in a Centos 7 Docker container:

[root@1884c38970d4 /]# virtualenv --version
15.1.0
[root@1884c38970d4 /]#  virtualenv -vvv --always-copy --system-site-packages /app/venv
Creating /app/venv/lib/python2.7
This system uses lib64; symlinking lib64 to lib
Symlinking /app/venv/lib64
Symlinking Python bootstrap modules
  Copying to /app/venv/lib/python2.7/config
  Copying to /app/venv/lib/python2.7/lib-dynload
  Creating parent directories for /app/venv/lib64/python2.7
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 713, in main
    symlink=options.symlink)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 925, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1132, in install_python
    copy_required_modules(home_dir, symlink)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1063, in copy_required_modules
    copyfile(filename, dst_filename, symlink)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 343, in copyfile
    os.makedirs(os.path.dirname(dest))
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: '/app/venv/lib64/python2.7'
[root@1884c38970d4 /]# ls -l /app/venv
total 4
drwxr-xr-x 3 root root 4096 Feb 13 21:02 lib
lrwxrwxrwx 1 root root    7 Feb 13 21:02 lib64 -> usr/lib

The link from lib64 to usr/lib is a broken link. I'm guessing the desired target is lib not usr/lib.

@stale
Copy link

stale bot commented Jan 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 14, 2019
@daa
Copy link

daa commented Jan 14, 2019

I believe this issue is fixed by #1249 .

@stale stale bot removed the wontfix label Jan 14, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants