Hi,

I am trying to configure PHP 5.1.2 on an AMD64 server. When you try to configure php with links to /usr/lib64 is still looks in /usr/lib for the .so files. Is this a bug or is there special instruction to configure PHP on 64bit.

I did get PHP to configure by using the --with-libdir=lib64

./configure \
--with-libdir=lib64 \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--enable-soap \
--enable-calendar \
--enable-ftp \
--with-zlib-dir=/usr \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-tiff-dir=/usr \
--with-freetype-dir=/usr \
--enable-exif

But I have to create a sys link for the mysql lib for the configure will find the lib files.
ln -s /usr/local/mysql/lib /usr/local/mysql/lib64

Does anyone know that the right way to configure php on a b4bit system is???? My method worked but I don't think it is the right way.

Thanks,
Mark.

Reply via email to