Using libcURL from an installed image
Posted: Thu Jul 15, 2021 12:18 pm
I am making some enhancements to our main application, which will be using the cURL library. Our application runs as an installed image, with privileges, which means that any shareable libraries it uses also have to be installed, and any logicals that are used to reference them need to be EXEC mode. I can get it to work by INSTALLing the cURL library libcurl$shr, and the LDAP library ldap$shr that the cURL library uses, and I can change the libcurl$shr logical to be EXEC mode. I could document those requirements so our customers can do the same.
Is there any better way of handling this? Should I be asking VSI if they can change the cURL installation procedure to allow for this? Is there any danger in INSTALLing ldap$shr?
Re-reading the release notes, I realise I may have another problem. It says that OpenSSL is statically linked into the shareable image, but our application also links to the OpenSSL shareable images - is that likely to cause a problem? Maybe I should be using the libcURL object library, not the shareable image?
Thanks,
Mark
Is there any better way of handling this? Should I be asking VSI if they can change the cURL installation procedure to allow for this? Is there any danger in INSTALLing ldap$shr?
Re-reading the release notes, I realise I may have another problem. It says that OpenSSL is statically linked into the shareable image, but our application also links to the OpenSSL shareable images - is that likely to cause a problem? Maybe I should be using the libcURL object library, not the shareable image?
Thanks,
Mark