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

Meta issue for 'failed to create symbolic link '/opt/displaylink/libstdc++.so.6' (Debian) #931

Open
Barabazs opened this issue May 3, 2024 · 3 comments

Comments

@Barabazs
Copy link
Collaborator

Barabazs commented May 3, 2024

#805
#855

Description:
Installation on Debian often fails with
ln: failed to create symbolic link '/opt/displaylink/libstdc++.so.6': No such file or directory

Potential hacky workaround:
#805 (comment)

Root cause:
this code block from 2017 which may or may not be needed anymore...

# fix: issue #42 (dlm.service can't start)
# note: for this to work libstdc++6 package needs to be installed from >= Stretch
if [ "$lsb" == "Debian" ] || [ "$lsb" == "Devuan" ] || [ "$lsb" == "Kali" ];
then
ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/displaylink/libstdc++.so.6
fi

I don't have access to a Debian install and don't have the capacity to troubleshoot this on a VM. I would appreciate it if someone can try do comment out the code block and perform the installation on a fresh Debian install. (so not tainted with a previous displaylink install)

@Barabazs Barabazs changed the title Meta issue for 'failed to create symbolic link '/opt/displaylink/....' (Debian) Meta issue for 'failed to create symbolic link '//opt/displaylink/libstdc++.so.6' (Debian) May 3, 2024
@Barabazs Barabazs changed the title Meta issue for 'failed to create symbolic link '//opt/displaylink/libstdc++.so.6' (Debian) Meta issue for 'failed to create symbolic link '/opt/displaylink/libstdc++.so.6' (Debian) May 3, 2024
@Barabazs Barabazs pinned this issue May 3, 2024
@rogue73
Copy link
Contributor

rogue73 commented Jun 6, 2024

Hi Barabazs, I've done quickly a fresh install of debian 12. Then I've comment out the above block and could perfectly install and setup displaylink.
Also on my existing installation (Debian sid/unstable) I could install displaylink and it doesn't matter if the lines above are comment out or not.

I think these line can be removed.

Cheers
rogue73

@Barabazs
Copy link
Collaborator Author

Barabazs commented Jun 7, 2024

Thanks @rogue73!
Can you check if this file exists please? /usr/lib/x86_64-linux-gnu/libstdc++.so.6

@rogue73
Copy link
Contributor

rogue73 commented Jun 7, 2024

@Barabazs Hi, /usr/lib/x86_64-linux-gnu/libstdc++.so.6 exist as symlink to /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants