MySQL compile problem
| From: | Juan A. Pons | Date: | Sun, 18 Jul 1999 01:13:44 +0000 |
| Subject: | MySQL compile problem | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2210@lists.php.net to get a copy of this message | ||
Hoping someone can elighten me. I am trying to compile B1 with MySQL
support and I am getting the following compile error. I checked and the
file /usr/local/lib/mysql/libmysqlclient.so.6 exists, actually it's a
soft link to libmysqlclient.so.6.0.0.
System profile:
Linux RH5.2
Apache 1.3.6
MySQL 3.22.22
php configure string:
./configure --with-mysql --with-apache=/usr/local/src/apache_1.3.6
--enable-track-vars
Apache config.status:
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--activate-module=src/modules/php4/libphp4.a" \
"--enable-module=proxy" \
"--enable-module=auth_dbm" \
"--enable-module=info" \
"--enable-module=rewrite" \
"$@"
compile error:
<=== src/ap
===> src/main
gcc -c -I../os/unix -I../include -DLINUX=2 -I/usr/local/src/php-4.0b1
-I/usr/local/src/php-4.0b1/libzend -I/usr/local/src/php-4.0b1/libzend
-I/usr/local/src/php-4.0b1 -DUSE_HSREGEX
../apaci gen_test_char.c
gcc -DLINUX=2 -I/usr/local/src/php-4.0b1
-I/usr/local/src/php-4.0b1/libzend -I/usr/local/src/php-4.0b1/libzend
-I/usr/local/src/php-4.0b1 -DUSE_HSREGEX ../apaci -o gen_test_char
gen_test_char.o -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4 -L/usr/local/src/php-4.0b1/ext/pcre/pcrelib -lpcre
-L/usr/local/src/php-4.0b1/regex -lregex -lgdbm -L/usr/local/lib/mysql
-lmysqlclient -lpam -ldl -lm -lcrypt -lnsl -lresolv -rdynamic -lm
-lcrypt -lndbm
./gen_test_char >test_char.h
./gen_test_char: error in loading shared libraries
libmysqlclient.so.6: cannot open shared object file: No such file or
directory
make[3]: *** [test_char.h] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.6'
make: *** [build] Error 2
Thanks,
-J
--
----------------------------------------
| http://motosite.com |
| Your motorcycle resource on the web! |
----------------------------------------
| Juan A. Pons |
| jpons@motosite.com |
| '98 VFR800 - '88 NT650 (Hawk) |
| AMA 368441 - HRCA |
----------------------------------------