Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 15:24:07 -0700
From:      Blake Swensen <blake@pyramus.com>
To:        FreeBSD ISP List <freebsd-isp@FreeBSD.ORG>
Subject:   Anyone else run into PHP build issues?
Message-ID:  <3EC95987.5090404@pyramus.com>

next in thread | raw e-mail | index | archive | help
(see below for all version and system information)

When running configure on php-4.3.1 (cvs'd fresh) I get the error that 
/usr/libexec/elf/ld cannot find -lmysqlclient.  The client libraries are 
in /usr/local/lib/mysql as per instructions and ldconfig -r sees them in 
the hints file.

I could get the system to configure under 4.2.2, but the make would 
crash with the same error.  Read some message about editing 
config_vars.mk and adding "-L/usr/local/lib/mysql" to the EXTRA_LIBS 
line.  This seemed to work but Apache crashed... was something to do 
with a missing symbol in the gd library.

In the hope of not having to go clear to 4.1.0, I was wondering if 
someone had found similar problems.

Blake

Configure command:
./configure \
--prefix=/usr/local \
--with-mysql=/usr/local \
--with-gdbm \
--with-gd=shared \
--with-apxs=/usr/local/sbin/apxs \
--with-zlib-dir=/usr/include \
--with-png-dir=/usr/local \
--with-tiff=/usr/local \
--with-jpeg=/usr/local \
--with-openssl \
--without-oracle \
--without-oci8 \
--includedir=/usr/local/include \
--libdir=/usr/local/li

UNAME: FreeBSD 4.8-PRERELEASE
LIBTOOL: 1.3.4-freebsd-ports
MYSQL: Distrib 3.23.56
AUTOCONF: autoconf (GNU Autoconf) 2.53
LD: ld version 2.12.1
APACHE: Server version: Apache/1.3.26
gd: gd-1.8.4_4
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Internet Rescue Company - http://www.pyramus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blake R. Swensen         Pyramus Online, Inc.
President                2080 SE Oak Grove Blvd. Suite 11
                          Milwaukie, Oregon 97267
                          800-327-5101
                          vox:503-353-0455
                          fax:503-353-0453
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"We measure success by the success of our clients"



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