RE: [PHP-GENERAL] [PHP3] HELP! PHP3 + Apache + iodbc install problem
| From: | Liz Kimber | Date: | Fri, 12 May 2000 10:31:14 +0000 |
| Subject: | RE: [PHP-GENERAL] [PHP3] HELP! PHP3 + Apache + iodbc install problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35@lists.php.net to get a copy of this message | ||
Sounds like /usr/local/iodbc/lib isnt in your /etc/ld.so.conf
Liz
> -----Original Message-----
> From: Open Systems Ltd. [mailto:os_test@opensys.com.hk]
> Sent: 12 May 2000 11:18
> To: php-install@lists.php.net; php-general@lists.php.net
> Subject: [PHP-GENERAL] [PHP3] HELP! PHP3 + Apache + iodbc install
> problem
>
>
> 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 php3-unsubscribe@lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>