Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Compiling troubles on linux

Subject: Compiling troubles on linux
Date: Tue, 15 Feb 2005 16:19:59 -0500 (EST)
Hello,

Trying to compile openssh-3.9p1 on Linux with OpenSSL 0.9.7f-dev, built
with shared libs.

If I try to configure openssh with the system's standard SSL libs, no
problem.  If I try to configure it using a statically compiled openssl
0.9.7f-dev, no problem.  However, if I try to configure against 0.9.7f-dev
built with the 'shared' commandline option, I get the following error:

# ./configure \
--prefix=/usr/tools/openssh \
--with-ssl-dir=/usr/tools/openssl \
--with-privsep-path=/usr/tools/openssh/empty \
--without-pam \
--without-zlib-version-check
...
checking OpenSSL header version... not found
configure: error: OpenSSL version header not found.

Only diff is the libs used:

# ls -l /usr/tools/openssl.old/lib/ /usr/tools/openssl/lib/
/usr/tools/openssl/lib/:
total 3512
-rw-r--r--    1 root     root      1891278 Feb 15 14:30 libcrypto.a
lrwxrwxrwx    1 root     root           14 Feb 15 14:30 libcrypto.so ->
libcrypto.so.0
lrwxrwxrwx    1 root     root           18 Feb 15 14:30 libcrypto.so.0 ->
libcrypto.so.0.9.7
-r-xr-xr-x    1 root     root      1169215 Feb 15 14:30 libcrypto.so.0.9.7
-rw-r--r--    1 root     root       293616 Feb 15 14:30 libssl.a
lrwxrwxrwx    1 root     root           11 Feb 15 14:30 libssl.so ->
libssl.so.0
lrwxrwxrwx    1 root     root           15 Feb 15 14:30 libssl.so.0 ->
libssl.so.0.9.7
-r-xr-xr-x    1 root     root       214271 Feb 15 14:30 libssl.so.0.9.7
drwxrwxr-x    2 root     root         4096 Feb 15 14:30 pkgconfig

/usr/tools/openssl.old/lib/:
total 2048
-rw-r--r--    1 root     root      1800674 Dec 24 12:55 libcrypto.a
-rw-r--r--    1 root     root       280584 Dec 24 12:55 libssl.a
drwxr-xr-x    2 root     root         4096 Dec 16 10:24 pkgconfig

OpenSSL is built as follows:

./config --openssldir=/usr/tools/openssl \
    no-threads \
    no-zlib \
    no-krb5 \
    no-rc5 \
    no-idea shared
make depend; make; make install

Any thoughts?

Cheers!
Jon

-- 
Jon Earle
Software Developer / Network Manager
Specializing in Open Source Software Solutions
http://kronos.honk.org/~earlej/

<Prev in Thread] Current Thread [Next in Thread>