[OpenIndiana-discuss] How many versions of libs/apps should OI provide?
Bob Friesenhahn
bfriesen at simple.dallas.tx.us
Thu Dec 29 21:25:23 UTC 2016
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
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
More information about the openindiana-discuss
mailing list