On Thu, 29 Dec 2016, James Carlson via openindiana-discuss wrote:
Now we deliver a new libfoo.so.2.  The guy who maintains our application
is a real go-getter, so he relinks and redelivers binaries almost right
away.  When the application runs, it pulls in libfoo.so.2 and (via the
libbar.so.1 dependency) pulls in libfoo.so.1 as well.  Oops.  Chaos
ensues.  You get SIGBUS and an extremely confusing to examine core dump
if you're lucky, or silently corrupted user data if you're not.

At least Linux supports versioned symbols and libjpeg (and some others) were adapted to use versioned symbols so that multiple major versions of the library could be pulled in at once without harm.

Does Illumos support Linux-style versioned symbols?

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to