Subject: pkg/22565: openssl package build perfectly but won't let other packages use it
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 08/21/2003 21:50:31
>Number:         22565
>Category:       pkg
>Synopsis:       openssl package build perfectly but won't let other packages use it
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 21 21:51:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bas van Oostveen
>Release:        pkgsrc for irix
>Organization:
na
>Environment:
IRIX washu 6.5 07121149 IP32
uname -aR
IRIX washu 6.5 6.5.17m 07121149 IP32

>Description:

using a pkgsrc bootstrapped on my SGI O2 machine 
(with the freeware gcc3 compiler.)

(irix 6.5.17m on a sgi o2 1-175mhz 256mb)

i build the openssl package
the installed finished successfully
but once uppon building openssh the
configure for openssh reported
'Can't find recent OpenSSL libcrypto'

* /usr/pkg/lib/libcrypto.so exists
but config.log reported the folllowing:
...
ld32: ERROR 33: Unresolved textsymbol "RAND_add" -- 1st referenced by /var/tmp//ccS6d7Xd.so
...
collect2: ld returned 2 exit status

when building the wget package (with ssl support)
configure gives:

checking for RSA_new in -lcrypto... no
checking for SSL_new in -lssl... no
ERROR: Failed to find OpenSSL libraries.

so it seems as that my self-build openssl package misses a lot
of important stuff.

installing the irix pkg for openssl from Jan Schaumann do work.
so that could be seen as a tmp workarround...



>How-To-Repeat:
bmake clean; bmake install :)

>Fix:
installing the irix pkg for openssl from Jan Schaumann
seems to work.

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