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. |
||||
|
|
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.