RE: [PHP-INST] PHP with Openlink + Apache
| From: | Iran | Date: | Tue, 21 Nov 2000 15:22:43 +0000 |
| Subject: | RE: [PHP-INST] PHP with Openlink + Apache | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-864@lists.php.net to get a copy of this message | ||
well, I've gotten l3kozzzz.taz.
where do I get the other one? are both necessary?
thanks.
iran
On Tue, 21 Nov 2000 08:04:57 -0500, Andrew Hill wrote:
>Iran,
>
>Either:
>
>1. LD_LIBRARY_PATH isn't set to the openlink/lib directory (before
>attempting the make)
>2. The user you are make'ing as cannot read the openlink/lib directories
>3. You are missing some essential files. You need (for a linux glibc2.1.1
>box)
> l3kozzzz.zip (iODBC sdk)
> l3brzzzz.zip (Openlink request broker archive, contains server-side stuff
>as well as client driver library, header files, GUI admin for your DSN's
>etc)
> install.sh (install script)
>
>If these files are in an /usr/openlink or /home/openlink/ or whatever,
>running the install.sh will put all the files in the appropriate places. A
>subsequent openlinks.sh file will be created - make sure that you: .
>openlink.sh (notice the dot) before building any php/apache. Double check
>that the relevant environment variables are pointing to the openlink
>directories via an: env
>
>Hope this helps.
>
>Feel free to open a free support case at
>http://www.openlinksw.com/support/suppindx.htm if you need
>further
>assistance.
>
>Best regards,
>Andrew
>----------------------------------------------------
>Andrew Hill
>Director Technology Evangelism
>OpenLink Software
>http://www.openlinksw.com
>XML & E-Business Infrastructure Technology Provider
>
>
>> -----Original Message-----
>> From: Iran [mailto:iranph@toledo.br]
>> Sent: Tuesday, November 21, 2000 5:23 AM
>> To: php-install@lists.php.net
>> Subject: [PHP-INST] PHP with Openlink + Apache
>>
>>
>> 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
>>
>>
>>
>>
>> --
>> PHP Install Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-install-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>>
>>
>>