I am using the directions for compiling PHP in 32 bits mode on Leopard. I've used the directions before without any problem, but now when I am running the configure command (after installing mcrypt and gd modules) I am getting the following error:
Hi, I've tried to recreate your error but I'm unable to. Did you by any change install the openssl libraries or have you used anything link fink or macports earlier?
I just encountered this error after copying and pasting a line above "--with-pdo-mysql=/usr/local/mysql \". To fix it delete and/or re-type the line above. I think a bad(invisible) character was pasted into your script.
#
I am using the directions for compiling PHP in 32 bits mode on Leopard. I've used the directions before without any problem, but now when I am running the configure command (after installing mcrypt and gd modules) I am getting the following error:
configure: error: Cannot find OpenSSL's libraries
The configure command I am using is below:
./configure --prefix=/usr/local/php5 \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--with-zlib \
--with-zlib-dir=/usr \
--with-openssl \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-mbregex \
--enable-sockets \
--with-gd \
--with-jpeg-dir=/usr/local/lib \
--with-png-dir=/usr/X11R6 \
--with-freetype-dir=/usr/X11R6 \
--with-xpm-dir=/usr/X11R6 \
--with-mcrypt \
–-with-curl=/usr/local/lib \
--with-mysql=/usr/local/mysql \
--with-pdo-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-apxs2=/usr/local/apache2/bin/apxs
I'm not sure why it wouldn't be finding openssl now. suggestions?
#
Hi, I've tried to recreate your error but I'm unable to. Did you by any change install the openssl libraries or have you used anything link fink or macports earlier?
This normally should work as described.
#
I just encountered this error after copying and pasting a line above "--with-pdo-mysql=/usr/local/mysql \". To fix it delete and/or re-type the line above. I think a bad(invisible) character was pasted into your script.
#
Thanks, will have a look at it...