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

undefined reference to 'HMAC_CTX_init' #60

Open
raindeavor opened this issue Jul 14, 2022 · 1 comment
Open

undefined reference to 'HMAC_CTX_init' #60

raindeavor opened this issue Jul 14, 2022 · 1 comment

Comments

@raindeavor
Copy link

raindeavor commented Jul 14, 2022

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

@wupengcheng6819
Copy link

wupengcheng6819 commented Aug 18, 2022

Just that anyone still needs to build this project.

I ran across tons of problems. This is the what finally worked:

  1. Grab Ubuntu 16.04, e.g. sudo docker pull ubuntu:16.04 (Neither 12.04 or 14.04 worked!)
  2. sudo apt update
  3. sudo apt upgrade
  4. sudo apt install build-essential yasm libssl-dev libbz2-dev -y
  5. 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.

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