Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 16:49:19 -0600 (CST)
From:      tilghman-20030120-freebsd-pr-report@jeffandtilghman.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47273: Ports tree references wrong crypto library
Message-ID:  <200301202249.h0KMnJt4099083@jeff.jeffandtilghman.com>

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

>Number:         47273
>Category:       ports
>Synopsis:       Ports tree references wrong crypto library
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 14:50:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tilghman Lesher
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
>Environment:
>Description:

/usr/ports/Mk/bsd.port.mk, line 827:
---snip---
LIB_DEPENDS+=   crypto.2:${PORTSDIR}/security/openssl
---snip---

Unfortunately, the current version of openssl creates crypto.3, not crypto.2,
so all ports which require openssl will fail to build on fresh machines.

---snip---
jeff:/var/db/pkg/openssl-0.9.6h# grep libcrypto +CONTENTS
lib/libcrypto.a
lib/libcrypto.so
lib/libcrypto.so.3
jeff:/var/db/pkg/openssl-0.9.6h# cd /usr/ports/security/stunnel
jeff:/usr/ports/security/stunnel# make
===>  Extracting for stunnel-4.04
>How-To-Repeat:
>Fix:

The fix should be obvious:
1) Either add a symlink in /usr/local/lib from libcrypto.so.3 to libcrypto.so.2, or
2) Update the bsd.port.mk file to reference crypto.3 instead of crypto.2


-Tilghman
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for stunnel-4.04.tar.gz.
 ===>   stunnel-4.04 depends on file: /usr/local/bin/sed_inplace - found
 ===>   stunnel-4.04 depends on shared library: crypto.2 - not found
 ===>    Verifying install for crypto.2 in /usr/ports/security/openssl
 ===>   Returning to build of stunnel-4.04
 Error: shared library "crypto.2" does not exist
 *** Error code 1
 
 Stop.
 jeff:/usr/ports/security/stunnel#
 ---snip---
 
 

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




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