[Info-vax] PHP on VMS x86-64 9.2-2
    Stephen Hoffman 
    seaohveh at hoffmanlabs.invalid
       
    Sun Mar 24 11:30:17 EDT 2024
    
    
  
On 2024-03-23 21:56:37 +0000, Lawrence D'Oliveiro said:
> On Sat, 23 Mar 2024 12:23:14 -0400, Stephen Hoffman wrote:
> 
>>> It’s supposed to solve problems with linking with incompatible
>>> libraries.
>> 
>> Which is exactly what has happened here. An incompatible shareable 
>> image library was found in the default path, and its activation 
>> violated the rules the developers provided to the linker, and the 
>> activation was blocked.
> 
> What happened here is known as “DLL hell”. So you see, it’s something 
> else Windows inherited from VMS.
Shareables can require different versions around, yes. All platforms 
have to deal with this case, too.
In the linker, in the image activator, in the installer or package 
manager, and in the system and the app updates/upgrades.
For OpenVMS, I'd suggest spending some time in the linker manual and 
particularly with GSMATCH details.
Page 93: https://docs.vmssoftware.com/docs/VSI_Linker_Manual.pdf
The developers coded this shareable image for an exact match only, 
meaning that they were not expecting or not keeping ABI stability. Or 
they didn't specify GSMATCH.
Whether that was appropriate choice here, I don't know, as I don't know 
the details of the ABI here.
OpenVMS does not do well around installations and upgrades and parallel 
versions, with various apps chosing their own paths here, and OpenVMS 
itself chosing different paths in different cases.
-- 
Pure Personal Opinion | HoffmanLabs LLC 
    
    
More information about the Info-vax
mailing list