Bug #4260: configure script appears to correctly build for --with-ldap or --with-mysql

From: Date: Thu, 27 Apr 2000 13:42:59 +0000
Subject: Bug #4260: configure script appears to correctly build for --with-ldap or --with-mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-18203@lists.php.net to get a copy of this message
From: steve.lewis@iname.com Operating system: Solaris 2.8 PHP version: 3.0.16 PHP Bug Type: Installation problem Bug description: configure script appears to correctly build for --with-ldap or --with-mysql configure appears to fail to put correct -l options in APXS_LDFLAGS for --with-ldap and --with-mysql, details below; apache 1.3.12 with DSO php-3.0.16 openldap 1.2.9 mysql 3.22.32 built php-3.0.16 with ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml \ --with-ldap=/usr/local --with-config-file-path=/usr/local/apache build and install appears to complete successfully, however apache (1.3.12) will not start, error message is Cannot load /usr/local/apache/libexec/libphp3.so into server: ld.so.1: /usr/loca l/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/libp hp3.so: symbol ber_free: referenced symbol not found workaround appears to be to add -llber to APXS_LDFLAGS in Makefile after configure. A similar problem occurs for mysql, adding -lmysqlclient to APXS_LDFLAGS appears to fix it. a quick look at configure.in suggests these should be added automatically, beyond my knowledge to see why they are not. a copy of my environment below; $ set HOME=/export/home/slewis HZ=100 IFS= LC_COLLATE=en_GB.ISO8859-1 LC_CTYPE=en_GB.ISO8859-1 LC_MESSAGES=C LC_MONETARY=en_GB.ISO8859-1 LC_NUMERIC=en_GB.ISO8859-1 LC_TIME=en_GB.ISO8859-1 LOGNAME=slewis MAIL=/var/mail/slewis MAILCHECK=600 MANPATH=/usr/local/man: OPTIND=1 PATH=/usr/local/bin:/usr/bin:/usr/ucb:/etc:.:/usr/ccs/bin PS1=$ PS2=> SHELL=/bin/sh TERM=vt220 TZ=GB _INIT_NET_STRATEGY=none _INIT_PREV_LEVEL=S _INIT_RUN_LEVEL=3 _INIT_RUN_NPREV=0 _INIT_UTS_ISA=i386 _INIT_UTS_MACHINE=i86pc _INIT_UTS_NODENAME=calvin _INIT_UTS_PLATFORM=i86pc _INIT_UTS_RELEASE=5.8 _INIT_UTS_SYSNAME=SunOS _INIT_UTS_VERSION=Generic

« previous php.dev (#18203) next »