Open renzibei opened 8 months ago
@Chithesus I found the problem is that the linking options that I use to link my program include the ones that are needed for FStack and DPDK, among which, the -lssl
or -lcrypto
are listed.
The FStack and DPDK are built with the system openssl. The current workaround is to use the system openssl as well in my project, which will share the symbols with fstack.
To solve this program, I think we need to change the link options. We should create a method to avoid including so many linking options that are not intended for our custom projects. For example, we can try to create a static library to pack f-stack and part of our project (this part cannot use other ssl libraries). And then, we link this library to our main project.
Thanks for your mail.邮件已收,谢谢
@Chithesus I found the problem is that the linking options that I use to link my program include the ones that are needed for FStack and DPDK, among which, the
-lssl
or-lcrypto
are listed. The FStack and DPDK are built with the system openssl. The current workaround is to use the system openssl as well in my project, which will share the symbols with fstack. To solve this program, I think we need to change the link options. We should create a method to avoid including so many linking options that are not intended for our custom projects. For example, we can try to create a static library to pack f-stack and part of our project (this part cannot use other ssl libraries). And then, we link this library to our main project.
should I rebuild openssl with fstack?
Hello,
I'm currently working on a project that involves building a TLS library based on F-Stack. It seems that F-Stack is linked with OpenSSL when built. My project, however, requires integrating an alternative SSL library, specifically BoringSSL, instead of OpenSSL.
After integrating BoringSSL with my F-Stack based application, I've encountered runtime errors specifically related to SSL operations. These errors do not occur when:
Given the above, I'm seeking advice or guidance on the following:
Any help or guidance on this matter would be greatly appreciated. Integrating BoringSSL (or other SSL libraries) is a critical component of our project, and we're keen on resolving these runtime errors to move forward.
Thank you for your time and assistance.