[PHP3] HELP! PHP3 + Apache + iodbc install problem
[email protected] ("Open Systems Ltd.")
| Newsgroups | php.general |
|---|---|
| Organization | Open Systems Limited |
| Message-ID | <[email protected]> |
Dear All,
I am using redhat linux 6.1, and would like to install
PHP3.0.16, Apache 1.3.12, and iODBC 2.50.3, but when I make
the apache 1.3.12, I got the following error:
libiodbc.so.2: cannot open shared object file: No such file or
directory
but the file is actually existed in /usr/local/iodbc/lib
what's wrong is that?
Regards
Bill
-------------------------------------------------------
For your information:
I configure php-3.0.16 with the following line
./configure \
--with-apache=../apache_1.3.12 \
--with-iodbc=/usr/local/iodbc \
--with-mysql=/usr/local/mysql \
--with-xml
And I configure apache 1.3.12 with the following line
./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/php3/libphp3.a
The follow error occur when I make the apache 1.3.12 :
<=== src/ap
===> src/main
gcc -c -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED `../apaci`
gen_test_char.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED `../apaci` -o gen_test_char
en_test_char.o -Wl,-rpath,/usr/local/mysql/lib/mysql
-Wl,-rpath,/usr/local/lib -lgd -L/usr/local/mysql/lib/mysql
-lmysqlclient -L/
usr/local/lib -lexpat -Lmodules/php3 -L../modules/php3
-L../../modules/php3 -lmodphp3 -L/usr/local/iodbc/lib -liodbc
-lpam -lm -ldl -lcrypt -lresolv -lm -lcrypt -lgdbm
./gen_test_char >test_char.h
./gen_test_char: error in loading shared libraries: libiodbc.so.2:
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/scr/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/scr/apache_1.3.12'
make: *** [build] Error 2
--
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to [email protected]
To subscribe to the digest, e-mail: [email protected]
To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: [email protected]