Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 16:02:15 +1100
From:      "Richard Grace" <rgrace@aapt.com.au>
To:        <questions@FreeBSD.ORG>
Subject:   Problem with OpenSSL port
Message-ID:  <sa64708f.014@aaptmailmta.aapt.com.au>

next in thread | raw e-mail | index | archive | help
Sorry to post this again.  I got no response the last time.

I've tried a few times to install the OpenSSL port but don't seem to be =
getting very far.

I'm running FreeBSD 2.2-STABLE - newly CVSuped and installed, and the =
current ports.

Basically, the port will not build shared libraries.  The build of the =
OpenSSL port completes fine, but only the static libraries are installed:

  $ ls -ld /var/db/pkg/openssl*
  drwxr-xr-x  2 root  bin  512 Jan 12 03:44 /var/db/pkg/openssl-0.9.5a_1
  $ ls -l /usr/local/lib/lib*
  -rw-r--r--  1 root  wheel    4164 Jan 12 03:44 /usr/local/lib/libRSAglue.=
a
  -rw-r--r--  1 root  wheel  937444 Jan 12 03:44 /usr/local/lib/libcrypto.a=

  -rw-r--r--  1 root  wheel  202462 Jan 12 03:44 /usr/local/lib/libssl.a
  $ ls -l /usr/local/openssl/lib/lib*
  $

If I try to build OpenSSH or lynx-ssl ports, they can't find the crypto =
library, so I assume it is looking for the shared lib, which is not =
installed.  Obviously reconfiguring ldconfig is not going to do much good, =
nor is setting LD_LIBRARY_PATH (both are configured correctly anyway).

Does anyone have any ideas why this is not working?  Or why OpenSSL does =
not install shared libs?

The uname, port Makefile version IDs, OpenSSL version, and make output are =
listed below.

Any hints on what to play with (I've tried playing with make options and =
other bits) would be appreciated.  Failing this, should I be sending mail =
to the port maintainer?

Thanks in advance,

Richard Grace.



----8<----
$ uname -a
FreeBSD freebsd 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Thu Jan 11 20:56:30 =
EST 2001     root@freebsd.vicone.net.au:/usr/src/sys/compile/GENERIC  i386

$ grep '$Free' /usr/ports/security/openssl/Makefile
# $FreeBSD: ports/security/openssl/Makefile,v 1.48 2000/10/08 10:22:52 =
asami Exp $

$ grep '$Free' /usr/ports/security/openssh/Makefile
# $FreeBSD: ports/security/openssh/Makefile,v 1.56 2000/11/04 23:04:20 =
green Exp $

$ cd /usr/ports/security/openssh && make
=3D=3D=3D>  Extracting for OpenSSH-2.2.0
>> Checksum OK for openssh-2.2.0.tgz.
=3D=3D=3D>   OpenSSH-2.2.0 depends on shared library: crypto.1 - not found
=3D=3D=3D>    Verifying install for crypto.1 in /usr/ports/security/openssl=


  <snip - OpenSSL builds and installs OK (?) >

=3D=3D=3D>   Returning to build of OpenSSH-2.2.0
Error: shared library "crypto.1" does not exist
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
$=20




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sa64708f.014>