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

Changes required to build on Debian 11 "Bullseye" #28

Open
shapirus opened this issue Nov 23, 2021 · 2 comments
Open

Changes required to build on Debian 11 "Bullseye" #28

shapirus opened this issue Nov 23, 2021 · 2 comments

Comments

@shapirus
Copy link

FWIW, to avoid errors (missing libs) at the linker stage, I had to replace -lcrypto.1.1 with -lcrypto and -lssl.1.1 with -lssl. This fixes the following errors:

/usr/bin/ld: cannot find -lssl.1.1
/usr/bin/ld: cannot find -lcrypto.1.1

After that, there was another error:

/usr/bin/ld: CMakeFiles/io.dir/apib_iothread.cc.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line

This was fixed by adding the -pthread flag in the linker stage.

@sebix
Copy link

sebix commented Oct 30, 2023

Thank you for the hints. The same applies to Debian 12 bookworm.

@gbrail
Copy link
Contributor

gbrail commented Oct 30, 2023

I'm glad that you all had a chance to work on this. Is there a chance that either of you could contribute a PR for the necessary changes to the cmake stuff? I'm no longer at Apigee or Google and I'm not sure that I'll be able to merge them, but if no one responds I may fork this project since I still use it in other contexts!

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

3 participants