Original Post
Hello!
I have installed 2 versions of OSG on my linux machine. My /usr/local/lib64 folder looks like this:
so libosgFX.so for example points to the newest shared object. If I link against -losgFX, the linker will link against libosgFX.so.3.0.1.
Is it possible to link against the old version libosgFX.so.2.9.5? I tried to specify the .so directly with: g++ ... /usr/local/lib64/libosgFX.so.60, but I still get
a lot of undefined references.
So how do I link against a specific version of a .so?
I have installed 2 versions of OSG on my linux machine. My /usr/local/lib64 folder looks like this:
libosgFX.so -> libosgFX.so.80
libosgFX.so.80 -> libosgFX.so.3.0.1
libosgFX.so.60 -> libosgFX.so.2.9.5
so libosgFX.so for example points to the newest shared object. If I link against -losgFX, the linker will link against libosgFX.so.3.0.1.
Is it possible to link against the old version libosgFX.so.2.9.5? I tried to specify the .so directly with: g++ ... /usr/local/lib64/libosgFX.so.60, but I still get
a lot of undefined references.
So how do I link against a specific version of a .so?