Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my element can't be compiled #481

Open
knight9uzi opened this issue Mar 6, 2021 · 1 comment
Open

my element can't be compiled #481

knight9uzi opened this issue Mar 6, 2021 · 1 comment

Comments

@knight9uzi
Copy link

Hello! I am trying to write my own Click element which include openssl/bn.h and functions like BN_new() from this library.
But when I run make install it shows undefined reference to `BN_new'.
I do this on linux ubuntu 20.04 and already install openssl.
Anyway to fix this?

@tbarbette
Copy link
Collaborator

Add ELEMENT_LIBS(-lopenssl) at the end of the .cc file so it know it must link with openssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants