Ludovic Brenta <[EMAIL PROTECTED]> writes: > Sean Neakums <[EMAIL PROTECTED]> 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.