Summary: | app-arch/dump-0.4.45[ermt,ssl]: link fails with dev-libs/openssl-1.0.2h-r1: cipher.c:(.text+0x82): undefined reference to `EVP_CipherUpdate' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment emerge --info |
Created attachment 436734 [details]
environment
Created attachment 436736 [details]
emerge --info
openssl is one of the few parts i didn't update to pkg-config. i guess i'll bite the bullet and do that now :x. i've fixed this upstream: https://sourceforge.net/p/dump/code/ci/26df39c57ba08b13430c8d22ed3967ba11fb8194 it'll be in the next release which i hope to get out soonish. The fix is not in the tree yet. |
Created attachment 436732 [details] build.log Hi, dump-0.4.45 with USE="ermt ssl" fails to link with openssl: libtool: link: i686-pc-linux-gnu-gcc -march=native -m32 -O2 -funswitch-loops -fpredictive-commoning -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fvect-cost-model -ftree-partial-pre -fgcse-after-reload -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=sse -pipe -frecord-gcc-switches -fno-stack-protector -march=native -m32 -O2 -funswitch-loops -fpredictive-commoning -pipe -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z -Wl,combreloc -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--relax -Wl,--hash-style=gnu -o ermt ermt.o cipher.o ../compat/lib/.libs/libcompat.a -lblkid -lext2fs cipher.o: In function `cipher': cipher.c:(.text+0x82): undefined reference to `EVP_CipherUpdate' cipher.c:(.text+0xcd): undefined reference to `EVP_bf_cbc' cipher.c:(.text+0x18a): undefined reference to `EVP_md5' cipher.c:(.text+0x1c7): undefined reference to `EVP_BytesToKey' cipher.c:(.text+0x1d3): undefined reference to `EVP_CIPHER_CTX_init' cipher.c:(.text+0x204): undefined reference to `EVP_CipherInit_ex' cipher.c:(.text+0x218): undefined reference to `EVP_CIPHER_CTX_set_padding' cipher.c:(.text+0x228): undefined reference to `OPENSSL_cleanse' cipher.c:(.text+0x238): undefined reference to `OPENSSL_cleanse' cipher.c:(.text+0x248): undefined reference to `OPENSSL_cleanse' cipher.c:(.text+0x254): undefined reference to `EVP_CIPHER_CTX_block_size' collect2: error: ld returned 1 exit status All these symbols belong to /usr/lib/libcrypto.so, so apparently -lcrypto is missing from $LIBS.