pcompress
pcompress copied to clipboard
undefined reference to 'HMAC_CTX_init'
When making it after"./config --disable-wavpack" on my Ubantu 18.04,I get an error:
"./libpcompress.so: undefined reference to`HMAC_CTX_init' ./libpcompress.so: undefined reference to `HMAC_CTX_cleanup' collect2: error: ld returned 1 exit status Makefile:426: recipe for target 'buildtmp/pcompress' failed make: *** [buildtmp/pcompress] Error 1"
openssl version:1.0.2u
Just that anyone still needs to build this project.
I ran across tons of problems. This is the what finally worked:
- Grab Ubuntu 16.04, e.g.
sudo docker pull ubuntu:16.04
(Neither 12.04 or 14.04 worked!) -
sudo apt update
-
sudo apt upgrade
-
sudo apt install build-essential yasm libssl-dev libbz2-dev -y
- cd to
pcompress
folder and./config --disable-wavpack && make
For some weird reasons, first run of make
always failed. But a SECOND run of it will make it.