Build error v0.8.0.1: undefined reference to `EVP_sha3_256' #301

Closed
opened 4 years ago by slim2k · 10 comments
slim2k commented 4 years ago
[100%] Linking CXX executable ../../bin/wownero-wallet-cli
../crypto/libcncrypto.a(sha3.c.o): In function `sha3':
sha3.c:(.text+0x46): undefined reference to `EVP_sha3_256'
collect2: error: ld returned 1 exit status
src/simplewallet/CMakeFiles/simplewallet.dir/build.make:141: recipe for target 'bin/wownero-wallet-cli' failed
```bash [100%] Linking CXX executable ../../bin/wownero-wallet-cli ../crypto/libcncrypto.a(sha3.c.o): In function `sha3': sha3.c:(.text+0x46): undefined reference to `EVP_sha3_256' collect2: error: ld returned 1 exit status src/simplewallet/CMakeFiles/simplewallet.dir/build.make:141: recipe for target 'bin/wownero-wallet-cli' failed ```
slim2k commented 4 years ago
Poster

I followed the Debian section from the README:

sudo apt update && sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libpgm-dev git
  git clone https://git.wownero.com/wownero/wownero
  cd wownero
  make -j2
  

I'm run VERSION="9 (stretch)"

I followed the Debian section from the README: ```bash sudo apt update && sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libpgm-dev git git clone https://git.wownero.com/wownero/wownero cd wownero make -j2 ``` I'm run VERSION="9 (stretch)"
Owner

Check the version of openssl. You need to have openssl v1.1.1 installed.

Check the version of openssl. You need to have openssl v1.1.1 installed.
Owner

try

sudo apt update && sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libpgm-dev libhidapi-dev libusb-1.0-0-dev libprotobuf-dev protobuf-compiler libudev-dev git -y

try `sudo apt update && sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libpgm-dev libhidapi-dev libusb-1.0-0-dev libprotobuf-dev protobuf-compiler libudev-dev git -y`
Owner

What does the build log say for these lines?

-- Using OpenSSL found at .....
-- Using OpenSSL include dir at ....
What does the build log say for these lines? ``` -- Using OpenSSL found at ..... -- Using OpenSSL include dir at .... ```
slim2k commented 4 years ago
Poster
-- Using OpenSSL include dir at /usr/include
```bash -- Using OpenSSL include dir at /usr/include ```
slim2k commented 4 years ago
Poster

I did not see "found at".

I did not see "found at".
Owner

what do you get when you type openssl version

what do you get when you type `openssl version`
slim2k commented 4 years ago
Poster

OpenSSL 1.1.0l .. After running the 2nd apt install above, same error.

Is there another Dockerfile file option? Or is ./Dockerfile the best one just for a simple end-user build and updates?

`OpenSSL 1.1.0l` .. After running the 2nd apt install above, same error. Is there another Dockerfile file option? Or is `./Dockerfile` the best one just for a simple end-user build and updates?
Owner
You could use this Dockerfile https://git.wownero.com/lza_menace/docker-wownero/src/branch/master/wownero
slim2k commented 4 years ago
Poster

Looks like the docker is working .. thanks .. We can close, let me know if you have any questions about this later.

Looks like the docker is working .. thanks .. We can close, let me know if you have any questions about this later.
slim2k closed this issue 4 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: wownero/wownero#301
Loading…
There is no content yet.