Posted Sep 26, 2012 22:46 UTC (Wed) by Company (guest, #57006)
In reply to: A lesson by Otus
Parent article: GStreamer 1.0 released
No, an application cannot support both at the same time because there'd be name collisions.
You can of course install the application twice, once into /usr and once into /opt. But that works for GNOME or KDE, too. In fact, GNOME development is done that way. Everyone has the distro's GNOME installed in /usr and a jhbuild somewhere in the home directory or /opt.
Posted Oct 1, 2012 14:31 UTC (Mon) by kleptog (subscriber, #1183)
[Link]
> 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).
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.