View Issue Details

IDProjectCategoryView StatusLast Update
0036484FPCPackagespublic2019-12-27 12:04
ReporterEric Heijnen Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSMacOS Catalina 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0036484: MacOS: OpenSSL goes for unversioned .dylib before versioned
DescriptionWhen trying to load the unversion libcrypto.dylib or libssl.dylib MacOS will terminate the application with the error :
"Invalid dylib load. Clients should not load the unversioned libssl dylib as it does not have a stable ABI."
Steps To Reproduceuse fphttpclient and get an https url , or just do a do a dlopen('libssl.dylib')
Additional InformationYou can prevent the application termination by loading a version specific dylib, like "libssl.0.9.8.dylib"

This code before using the openssl library fixes it as well:
openssl.DLLVersions[1]:=openssl.DLLVersions[2];
TagsNo tags attached.
Fixed in Revision43798
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

Michael Van Canneyt

2019-12-27 12:04

administrator   ~0120084

Fixed by adding a
  DLLVersions[1]:=DLLVersions[2]
in loadlibraries under macos.

Please test and close if OK.

Issue History

Date Modified Username Field Change
2019-12-27 11:48 Eric Heijnen New Issue
2019-12-27 12:04 Michael Van Canneyt Assigned To => Michael Van Canneyt
2019-12-27 12:04 Michael Van Canneyt Status new => resolved
2019-12-27 12:04 Michael Van Canneyt Resolution open => fixed
2019-12-27 12:04 Michael Van Canneyt Fixed in Version => 3.3.1
2019-12-27 12:04 Michael Van Canneyt Fixed in Revision => 43798
2019-12-27 12:04 Michael Van Canneyt FPCTarget => 3.2.0
2019-12-27 12:04 Michael Van Canneyt Note Added: 0120084