[OpenIndiana-discuss] How many versions of libs/apps should OI provide?
    Bob Friesenhahn 
    bfriesen at simple.dallas.tx.us
       
    Thu Dec 29 22:39:11 UTC 2016
    
    
  
On Thu, 29 Dec 2016, Jim Klimov wrote:
>
> Bob, do you mean symbols like 'this requires SUNW_1.23'? Yes, these 
> are here too. I believe they do not quite work around the issue 
> James describes, e.g. when your running binary pulls two copies of 
> different libjpeg.so.* even with proper versioning. For example, if 
> a library uses some global variables for state-keeping, and you call 
> a random set of functions from one and another copy of the loaded 
> lib that both satisfy your older required ABI version, you can get 
> chaos. @James, is this a correct interpretation? ;)
My understanding is that the Linux approach renames all the symbols in 
the library, including global variables.
The approach used by libjpeg allowed Debian Linux to transition to a 
newer libjpeg without breaking everything.
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