Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2003 20:45:48 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57504: lang/php4 dont start with openssl
Message-ID:  <200310021845.h92IjmWr095197@home.dinoex.sub.de>
Resent-Message-ID: <200310021850.h92IoDHa038497@freefall.freebsd.org>

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

>Number:         57504
>Category:       ports
>Synopsis:       lang/php4 dont start with openssl
>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:   Thu Oct 02 11:50:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

	FreeBSD 4.8-STABLE, FreeBSD-5.1-STABLE
	php-4.3.4RC1.tar.bz2

>Description:

	Building on a clean system,
	add WITH_OPENSSL=yes to your config.
	port compiles and build,
	but can'Ät start cause of missing symbols.
	when comiled with IMAP-SSL it is working

>How-To-Repeat:

>Fix:

	apply this patch:

RCS file: /home/pcvs/ports/lang/php4/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	1 Oct 2003 11:34:23 -0000	1.29
+++ Makefile	2 Oct 2003 18:42:20 -0000
@@ -441,6 +439,8 @@
 
 .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP)
 .include "${PORTSDIR}/Mk/bsd.openssl.mk"
+OPENSSL_LIBS=	-lcrypto -lssl
+CONFIGURE_ENV+=	OPENSSL_LIBS="${OPENSSL_LIBS}"
 CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE}
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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