Try using the option --with-mysql=/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=/usr/local/apache2/bin/apxs \
 --with-mysql=/opt/sfw/mysql/ \
 --with-mysql-sock=/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=/usr/local \
 --with-png-dir=/usr/local \
 --with-ttf \
   --with-iconv=/usr/local \
 --with-curl=/usr/local \
 --enable-track-vars \
 --with-gettext \
 --with-config-file-path=/usr/local/apache2/conf \
 --enable-trans-id \
 --enable-ftp \
 --enable-mbstring \
 --with-openssl=/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 .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

301 Gregson Dr
Cary, NC  27511
Office 919-379-8513
Cell    919-272-8833
[EMAIL PROTECTED]





Reply via email to