Can two different versions of the same libs (with same name) exists in an application?

Posted by Jay on Stack Overflow See other posts from Stack Overflow or by Jay
Published on 2010-12-27T14:50:07Z Indexed on 2010/12/27 14:54 UTC
Read the original article Hit count: 129

Filed under:
|
|

I have some scenario like this:

Product-> Platform-> mylibs(version-1)

Product-> mylibs(version-2)

i.e Product uses mylibs (version-2) directly. Product also uses platform (which is also a dynamic lib) and platform uses my libs (version-1).

The names of the libs used by product and platform are same. Only versions are different and both these versions are not compatible.

Is there a way with ".so" libs in linux that Platform can link to one version and product can link to another version of the same libs having the same name?

© Stack Overflow or respective owner

Related posts about c

    Related posts about linux