Bug#202204: xlibmesa3-glu: Symlink missing: libGLU.so -> libGLU.so.1.3
Ludovic Brenta <ludovic.brenta@insalien.org> writes:
> Sean Neakums <sneakums@zork.net> writes:
>
> Ah, OK. Sorry I didn't know. But then I have a question: how do
> binaries find the shared lib without the link? i.e. if I ever create
> a binary with -lGLU, how does the binary find libGLU.so.1.3 if
> libGLU.so does not exist?
Applications are always linked against libFoo.so.N, rather than
libFoo.so. (Run ldd on some binaries on your system to see this.)
This is done so that when N is increased, indicating an incompatible
change in the library's interface, the application will simply fail to
start, rather than starting and then crashing or otherwise
misbehaving.
Reply to: