User: Password:
Subscribe / Log in / New account

A lesson

A lesson

Posted Oct 1, 2012 14:31 UTC (Mon) by kleptog (subscriber, #1183)
In reply to: A lesson by Company
Parent article: GStreamer 1.0 released

> No, an application cannot support both at the same time because there'd be name collisions.

Well, it could if the library used symbol versioning

There's lots and lots of features in shared libraries to make backward compatibility work. But it seems that glibc is the only library out there that uses it (thank god, it makes glibc upgrades extremely safe).

(Log in to post comments)

A lesson

Posted Oct 1, 2012 14:48 UTC (Mon) by TomH (subscriber, #56149) [Link]

That's not strictly true - while there are many libraries that don't use symbol versioning there are also many (other than glibc) which do.

To name a few: libstdc++, zlib, libpng, libjpeg-turbo, libxml2, etc, etc.

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds