Changes required to build on Debian 11 "Bullseye"
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.
Thank you for the hints. The same applies to Debian 12 bookworm.
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!