Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 09:17:24 -0500 (EST)
From:      Michael Scheidell <scheidell@secnap.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93595: ruby 1.8_4_1 doesn't like openssl overrite base
Message-ID:  <20060220141724.B993E137BA6@scanner.secnap.net>
Resent-Message-ID: <200602201420.k1KEKEVB098722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93595
>Category:       ports
>Synopsis:       ruby 1.8_4_1 doesn't like openssl overrite base
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 20 14:20:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
SECNAP Network Security
>Environment:
System: FreeBSD scanner.secnap.net 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #16: Sat Oct 22 11:14:55 EDT 2005 scheidell@scanner.secnap.net:/usr/obj/usr/src/sys/SCANNER i386

DELL 750, 2.8GHZ, 1GB ram.

file make.conf:

OPENSSH_OVERWRITE_BASE=YES
OPENSSL_OVERWRITE_BASE=YES
WITH_OPENSSL_STABLE=yes
NO_OPENSSH=    true    # do not build OpenSSH
NO_OPENSSL=    true    # do not build OpenSSL (implies NO_OPENSSH)


>Description:

ruby looks for /usr/local/lib/libcrypto.so.3 even though 
openssl_overrite_base only puts it in /usr/lib.

===>   ruby-1.8.4_4,1 depends on file: /usr/local/lib/libcrypto.so.3 - 
not found
===>    Verifying install for /usr/local/lib/libcrypto.so.3 in 
/usr/ports/security/openssl-stable
===>  Installing for openssl-stable-overwrite-base-0.9.7i
===>   Generating temporary packing list
===>  Checking if security/openssl-stable already installed
===>   openssl-stable-overwrite-base-0.9.7i is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of 
security/openssl-stable
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/security/openssl-stable.
*** Error code 1

Stop in /usr/ports/lang/ruby18.

>How-To-Repeat:

   installed earlier version of openssl with overwrite-base.
verified:
ls -ltd /var/db/pkg/openssl*
drwxr-xr-x  2 root  wheel  512 Feb 20 08:36 
/var/db/pkg/openssl-stable-overwrite-base-0.9.7i

  since it has portsaudit complaint, upgraded it
(needed to add WITH_OPENSSL_STABLE=yes or ports complained)
upgraded with portupgrade -rR openssl-overwrite-base
(port informed me of port name change to {}stable)

then upgrade ruby:
cd /usr/ports/lang/ruby
make

>Fix:

suggested change: look for OPENSSL_OVERWRITE_BASE=YES and set prefix. to 
/usr/lib not /usr/local/lib when checking for libraries.

workaround: copy /usr/lib/libcrypto.so.3 to /usr/local/lib



>Release-Note:
>Audit-Trail:
>Unformatted:



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