Subject: pkg/18617: ap-ssl build failure on Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 10/12/2002 02:32:26
>Number: 18617
>Category: pkg
>Synopsis: ap-ssl build failure on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 10 23:32:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: grant beattie
>Release: -current pkgsrc
>Organization:
>Environment:
SunOS sphinx 5.7 Generic_106541-21 sun4u sparc SUNW,Ultra-60
Architecture: sparc
Machine: sun4u
>Description:
ap-ssl fails to link on Solaris:
ld -L/usr/pkg/lib -R/usr/pkg/lib -G -o libssl.so mod_ssl.lo ssl_engine_config.lo ssl_engine_compat.lo ssl_engine_ds.lo ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_kernel.lo ssl_engine_rand.lo ssl_engine_io.lo ssl_engine_log.lo ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_vars.lo ssl_engine_ext.lo ssl_scache.lo ssl_scache_dbm.lo ssl_scache_shmht.lo ssl_scache_shmcb.lo ssl_expr.lo ssl_expr_scan.lo ssl_expr_parse.lo ssl_expr_eval.lo ssl_util.lo ssl_util_ssl.lo ssl_util_sdbm.lo ssl_util_table.lo -lssl -lcrypto -L/usr/pkg/lib/gcc-lib/sparc-sun-solaris/2.95.3 -lgcc
ld: fatal: library -lgcc: not found
ld: fatal: File processing errors. No output written to libssl.so
*** Error code 1
>How-To-Repeat:
cd www/ap-ssl; make
>Fix:
I guess on Solaris, we need a buildlink2.mk for gcc so that other
packages are able to use libgcc.
>Release-Note:
>Audit-Trail:
>Unformatted: