Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Linking problem with Openssl

meistersanger2002
742 Views
I have an application running on SuSE 9.0 that uses Openssl and MKL It runs fine with the 32-bit version. However, when using the em64t version of MKL, the application will only run if it is linked dynamically. Every attempt to link the MKL statically wil cause a segmentation fault when the code makes a call to Openssl. Has anyone seen such a problem? Any information or suggestions would be appreciated.
Ed
0 Kudos
3 Replies
Intel_C_Intel
Employee
742 Views

Ed - This is strange and I haven't the slightest idea what is going on. As the technical manager of MKL I am interested in anything you might discover about this but haven't any suggestions as to why this is happening or how to diagnose the problem. --Bruce

0 Kudos
meistersanger2002
742 Views

Bruce,

I should have posted after I found the problem. I apologize.

There is nothing wrong with MKL; It was a make file issue. The Openssl libraries must be linked dynamically, but we needed the MKL to be linked statically. In the make file, the Linux threads library was included in the static section.That was what caused the problem. Unfortunately, this went undetected, because the application ran fine on 32-bit Linux. I have no idea why this worked work on 32-bit systems, but I was happy to have found the problem.

Thanks for your concern. I apologize again for not closing this off.

Ed

0 Kudos
Intel_C_Intel
Employee
742 Views
And thanks so much for clearing up this puzzle. --Bruce
0 Kudos
Reply