Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How to link libeay32, libssl32 and ssleay32 statically in Windows?
Re: How to link libeay32, libssl32 and ssleay32 statically in Windows? [message #53586 is a reply to message #53555] Tue, 14 April 2020 01:55 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello Tom,

I have (had?) the same problem but with MacOS and library crypto and ssl. CLANG refuse the static .a version.

Tonight I have found a post

https://stackoverflow.com/questions/37038472/osx-how-to-stat ically-link-a-library-and-dynamically-link-the-standard-libr ary

There one guy said "Compiler prefers dynamic version over static version of library". In my case the .dylib (equivalent of .dll for mac) and .a libraries are in the same folder. As last temptive I have renamed the .dylib... and worked! The compiler didn't find the .dylib and used the static library. The otool program no longer see the linked library. Tomorrow I'll inquire better but I am confident that this did the trick.

Best regards,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [BUG] TheIDE prevents using MSC Incremental link
Next Topic: invalid memory access
Goto Forum:
  


Current Time: Sun Apr 28 01:03:47 CEST 2024

Total time taken to generate the page: 0.05141 seconds