Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2017, 06:02 PM   #1
LQ Newbie
Registered: Aug 2016
Posts: 14

Rep: Reputation: 0
Question shared obj versioning

I've noticed that some cross toolchains create shared objects with version appended (e.g. libgeos on Android built with NDK produces "", but on x86-64 it is "").
Why this versioning is needed on Android? And what controls this kind of behavior?
Old 06-25-2017, 07:50 PM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,521

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
There is usually a and a, or several. It is controlled by the library itself. Sometimes there are different versions of a library on the same system. So, in order for users to check if the correct version is present, version numbers are attached. Programs can read the version from within the library.

Many times the various versions are symlinks to one file. Many times when one is missing a library, he can just make a symlink from the base library with the correct version number.

Last edited by AwesomeMachine; 06-25-2017 at 07:51 PM.
1 members found this post helpful.


android, shared object

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Obj C in Slackware wolfslacker Slackware 2 12-03-2013 08:51 PM
[SOLVED] shared obj still unavail after build/install wxGTK SkyMeadow Linux - Newbie 2 03-11-2012 07:41 PM
[SOLVED] C++ - Two-way Communication between objects if A (obj) creates an instance of B (obj) Gavin Harper Programming 5 04-06-2011 05:27 AM
Using Shared Obj implicitly ugenn Programming 0 04-15-2002 09:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration