Error compiling apache with OpenLink
| From: | Iran | Date: | Sat, 18 Nov 2000 14:32:44 +0000 |
| Subject: | Error compiling apache with OpenLink | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-837@lists.php.net to get a copy of this message | ||
Hi again. First of all, I would like to thank everyone who helped me to
solve my problem with the compilation of PHP+OpenLink ODBC. The
compilation was successfuly.
Now I got another one. As I wanna use PHP as an Apache module, I need
to compile Apache to, but when I do it, got two different errors in
each subsequent run of "make". First I got the following:
gcc -DLINUX=2 -I/home/iran/php-4.0.3pl1 -I/home/iran/php-4.0.3pl1/main
-I/home/iran/php-4.0.3pl1/main -I/home
/iran/php-4.0.3pl1/Zend -I/home/iran/php-4.0.3pl1/Zend
-I/home/iran/php-4.0.3pl1/TSRM -I/home/iran/php-4.0.3pl
1/TSRM -I/home/iran/php-4.0.3pl1 -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED
../apaci -o gen_test_char
gen_test_char.o -Wl,-rpath,/usr/local/lib/mysql -rdynamic
-L/usr/local/lib/mysql -Lmodules/php4 -L../modules
/php4 -L../../modules/php4 -lmodphp4 -L/usr/local/openlink/odbcsdk/lib
-liodbc -lpam -ldl -lmysqlclient -lgd
-lgdbm -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
./gen_test_char >test_char.h
./gen_test_char: error in loading shared libraries: libiodbc.so.2:
cannot open shared object file: No such fil
e or directory
I think the libraries are in the correct directories. I checked it. if
I run "make" again, something more happen in the compilation and I got
another error:
util.c: In function `ap_find_token':
util.c:1368: `test_char_table' undeclared (first use in this function)
util.c:1368: (Each undeclared identifier is reported only once
util.c:1368: for each function it appears in.)
util.c:1368: `T_HTTP_TOKEN_STOP' undeclared (first use in this
function)
util.c: In function `ap_escape_shell_cmd':
util.c:1427: `test_char_table' undeclared (first use in this function)
util.c:1427: `T_ESCAPE_SHELL_CMD' undeclared (first use in this
function)
util.c: In function `ap_escape_path_segment':
util.c:1554: `test_char_table' undeclared (first use in this function)
util.c:1554: `T_ESCAPE_PATH_SEGMENT' undeclared (first use in this
function)
util.c: In function `ap_os_escape_path':
util.c:1583: `test_char_table' undeclared (first use in this function)
util.c:1583: `T_OS_ESCAPE_PATH' undeclared (first use in this function)
I think it's a consequence of the first.
Has it something to do with ODBC stuff included in my PHP compilation?
What should I do.
Thanks in advance.
iran