| Spencer Plantier 2005-03-23, 3:56 pm |
| =20
-----Original Message-----
From: Michael [mailto:phplist@mew.ssxh.net]=20
Sent: Tuesday, March 22, 2005 6:39 PM
To: Plantier, Spencer
Cc: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] Make error
Try using the option --with-mysql=3D/opt/sfw/mysql (remove the end =
slash).
It looks to me as though the configure script is appending
"/lib/mysql/.libs/libmysqlclient.so" to the end of the mysql path.
Plantier, Spencer wrote:
>I am new to unix and need to get snort running asap. Any help from this
>group would be appreciated.
>
>I was able to run this sucessfully:
>
>./configure \
> --with-apxs2=3D/usr/local/apache2/bin/apxs \
> --with-mysql=3D/opt/sfw/mysql/ \
> --with-mysql-sock=3D/tmp/mysql.sock \
> --with-sqlite \
> --enable-sqlite-utf8 \
> --with-zlib \
> --with-zlib-dir \
> --with-bz2 \
> --with-gd \
> --enable-gd \
> --enable-gd-native-ttf \
> --with-jpeg-dir=3D/usr/local \
> --with-png-dir=3D/usr/local \
> --with-ttf \
> --with-iconv=3D/usr/local \
> --with-curl=3D/usr/local \
> --enable-track-vars \
> --with-gettext \
> --with-config-file-path=3D/usr/local/apache2/conf \
> --enable-trans-id \
> --enable-ftp \
> --enable-mbstring \
> --with-openssl=3D/usr/local
>
>When I do a make I get
>
>ld: fatal: file /opt/sfw/mysql//lib/mysql/.libs/libmysqlclient.so: open
>failed: No such file or directory
>ld: fatal: File processing errors. No output written to=20
>.libs/libphp5.so
>*** Error code 1
>make: Fatal error: Command failed for target `libphp5.la'
>libmysqlclient.so is located at
>/opt/sfw/mysql/lib/mysql/libmysqlclient.so
>
>Any help would be appreciated with this.
>
>Thanks
>
>Spencer Plantier
>System Network Administrator
>=20
>301 Gregson Dr
>Cary, NC 27511
>Office 919-379-8513
>Cell 919-272-8833
>spencer.plantier@stratech.com
>
>
>
> =20
I made the correction. Libmysqlclient.so is in the
/opt/sfw/mysql/lib/mysql not /opt/sfw/mysql/lib/mysql/.libs. I don't
have a .libs directory.
d: fatal: file /opt/sfw/mysql/lib/mysql/.libs/libmysqlclient.so: open
failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'
Thanks,
=20
=20
Spencer
>
|