When building an application using g++, I am not explicitly passing the libc library as a library to link to in the same way you would for other libraries (like passing -lpthread for example). I know that libc has the so name libc.so.6 but I am aware that this is not actually a library but something like a pointer to another version of libc (such as libc-2.15.so). My question is if I had multiple versions of libc on my computer, how can I tell which one actually gets linked to through the libc.so.6.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||
|
|
|
In case of the libc you can simply run the
|
|||||
|
