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

LD_LIBRARY_PATH containing /usr/lib stopping RStudio from launching #131

Open
eigenraven opened this issue Jul 30, 2019 · 1 comment
Open

Comments

@eigenraven
Copy link

export LD_LIBRARY_PATH=/usr/lib64/nvidia/:/usr/lib32/nvidia:/usr/lib:${LD_LIBRARY_PATH}

This line, specifically adding /usr/lib to LD_LIBRARY_PATH causes RStudio to fail on start (Archlinux x86_64), because it bundles its own Qt5 library and this override causes the system library path to take precedence over the locally defined QT_DIR in the rstudio-bin launch script.

I'm reporting this here, because /usr/lib is a standard library path and I don't see why it'd be necessary to add it to LD_LIBRARY_PATH which takes precedence over standard library search procedure.

Would it be possible to just remove /usr/lib from this line and just leave the nvidia library directories there?

@achea
Copy link

achea commented Mar 2, 2020

I also had this strange issue with Nix sandboxes and removing /usr/lib from the LD_LIBRARY_PATH worked.

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

2 participants