[osg-users] Version numbers in dynamic libraries

2013-09-25 Thread Tony Vasile
When we link our executables on our linux box we are getting version
numbers in the .so.
For example if I do an ldd on an executable compiled against OpenSceneGraph
2.8.0 I get :

libosgUtil.so.65 => /usr/local/lib/libosgGA.so.65

Is there any way to link the programs so that ldd only has references like:

libosgUtil.so => /usr/local/lib/libosgGA.so

or some such without the version number?

Tony Vasile
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Version numbers in dynamic libraries

2013-09-25 Thread David Callu
Hi Tony

not sure but disable OPENSCENEGRAPH_SONAMES and OPENTHREADS_SONAMES in
cmake.

HTH
David



2013/9/25 Tony Vasile 

> When we link our executables on our linux box we are getting version
> numbers in the .so.
> For example if I do an ldd on an executable compiled against
> OpenSceneGraph 2.8.0 I get :
>
> libosgUtil.so.65 => /usr/local/lib/libosgGA.so.65
>
> Is there any way to link the programs so that ldd only has references like:
>
> libosgUtil.so => /usr/local/lib/libosgGA.so
>
> or some such without the version number?
>
> Tony Vasile
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Version numbers in dynamic libraries

2013-09-25 Thread Tony Vasile
Hi,
Tried setting the values on the command line and the applications that are 
built still refer to the .so.80 version of the dynamic library. Any other 
suggestions?

... 

Thank you!

Cheers,
Tony

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56487#56487





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Version numbers in dynamic libraries

2013-09-26 Thread Alberto Luaces
"Tony Vasile" writes:

> Hi, Tried setting the values on the command line and the applications
> that are built still refer to the .so.80 version of the dynamic
> library. Any other suggestions?
>

You have to rebuild everything —OSG and your program— from scratch.

Nevertheless, I wonder why you would want to do this.  Removing version
information from the libraries only leads to silent and difficult to
debug problems when accidentally several or different versions of the
library are present.

-- 
Alberto

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org