Summary: | net-misc/openssh-4.5_p1-r1 build fails during config with openssl headers do not match library | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Will Holland <will> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Log file from the build
config log config log |
Description
Will Holland
2007-06-10 20:23:46 UTC
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/net-misc/openssh-4.5_p1-r1/work/openssh-4.5p1/config.log
Please, attach the log.
Created attachment 121698 [details]
Log file from the build
Nope; attach the config.log, not build log Created attachment 121707 [details]
config log
Created attachment 121709 [details]
config log
<snip> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libldap.so: undefined reference to `X509_STORE_CTX_get_error' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libldap.so: undefined reference to `X509_STORE_set_flags' /usr/lib/libssl.so.0.9.8: undefined reference to `EVP_idea_cbc' </snip> Your openldap install is messed up, you should run revdep-rebuild and/or re-emerge openldap for starters. I've run revdep-rebuild, which gives the following: ------------------------------------------ revdep-rebuild -p Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. ------------------------------------------ So I don't think there's any DLL errors there. emerge --unmerge openldap emerge openssh gives the same error (emerge openssh requires openldap, so it builds that too) > Also see contrib/findssl.sh for help identifying header/library mismatches.
Copy the file from the openssh tarball somewhere, run it like `sh ./findssl.sh` and post the output here.
The results from findssl.sh I'm archiving off /home/home, and I'll check if things get better tomorrow. contrib # sh ./findssl.sh Searching for OpenSSL header files. which: no locate in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin) 0x0090601fL /home/home/src/redhat/BUILD/openssl-0.9.6a/crypto/opensslv.h /home/home/src/redhat/BUILD/openssl-0.9.6a/include/openssl/opensslv.h 0x0090804f /usr/include/openssl/opensslv.h Searching for OpenSSL shared library files. which: no locate in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin) 0x0090801fL /home/will/.google-earth/libcrypto.so.0.9.8 0x0090804fL /usr/lib/libcrypto.so.0.9.8 0x0090804fL /usr/lib/libcrypto.so 0x0090800fL /usr/NX/lib/libcrypto.so.0.9.8 0x0090800fL /usr/NX/lib/libcrypto.so Searching for OpenSSL static library files. which: no locate in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin) 0x0090601fL /home/home/src/redhat/BUILD/openssl-0.9.6a/libcrypto.a 0x0090804fL /usr/lib/libcrypto.a When I look at this there are also some libcrypto.so files picked up from within /usr/NX/lib Removing these fixes the problem. Thanks for the help. Thanks for reporting back. |