find | grep libc.so.6
reveals that it's in /lib/i386-linux-gnu/libc.so.6, but a script I was running expected it to be directly under /lib, so why isn't there at least a symlink?
Would I risk breaking anything if I put a symlink there?
reveals that it's in Would I risk breaking anything if I put a symlink there? |
|||
|
|
|
Anything that hardcodes the path to |
|||||||||||||||||||||
|
|
Dynamic libraries are loaded by the kernel, the paths are not hardcoded in a program. A program just says "I need libc.so.6". The system then searches in library paths as defined in On my 64 bits system,
To find out what library is loaded by a program, use
Putting the symlink would not break anything. To get a list of directories that are searched, run:
|
|||||||||||||||||||||
|
|
Just add symlink to the libc.so.6 file as following:
The same goes for other missing files still on the system, in my case Matlab was missing the file, the problem is gone now. |
||||
|
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?