RE: [PHP-DEV] Bug #13545: oci8 compile problem
| From: | Jerome Ponsin | Date: | Fri, 05 Oct 2001 11:10:17 +0000 |
| Subject: | RE: [PHP-DEV] Bug #13545: oci8 compile problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70060@lists.php.net to get a copy of this message | ||
Thanks for your response,
Yes it is a patch for glibc greater 2.1.3 (for me
it's 2.2).
The problem doesn't appear with the cgi compilation...
Does that mean I can't install php module with Redhat 7.1
for example, or is there something to do ? But I think I
heard about people installing oci8+php4.0.6+apache 1.3.2
on Redhat 7.1 ?
Thanks again,
Jerome
>>> -----Message d'origine-----
>>> De : Markus Fischer [mailto:mfischer@guru.josefine.at]
>>> Envoyé : vendredi 5 octobre 2001 10:41
>>> À : Jerome Ponsin
>>> Cc : php-general@lists.php.net
>>> Objet : Re: [PHP-DEV] Bug #13545: oci8 compile problem
>>>
>>>
>>> Again, is this patch against some kind of libc problem?
>>>
>>> Because standard 8.1.7 does not support glibc 2.2.x, only
>>> 2.1.(x|3) ?
>>>
>>> But there is little from php that can be done I think.
>>>
>>> For testing try to build a cgi module and see if that works. If
>>> so IMHO its not a php problem.
>>>
>>> I always took dsitributions with libc 2.1.3 for installing
>>> orackle (rh 6.2, debian potato) and they ran well.
>>>
>>> - Markus
>>>
>>> On Fri, Oct 05, 2001 at 10:09:09AM +0200, Jerome Ponsin wrote :
>>> > For me this really a bug in php compilation with
>>> > oracle 8.1.7 within apache 1.3.20 :
>>> >
>>> > The problem occurs with php 4.0.5, php4.0.6 but also
>>> > with latest snapshot...
>>> >
>>> > For Php ->
>>> > ./configure --with-apache=/root/apache_1.3.20
>>> --with-mysql --enable-ftp --en
>>> > able-inline-optimization --disable-debug --with-zlib
>>> --with-oci8=/opt/oracle
>>> > /product/8.1.7
>>> > make
>>> > make install
>>> >
>>> > For php within apache :
>>> > cd
>>> > /root/apache_1.3.20;./configure
>>> --activate-module=src/modules/php4/libphp4.a
>>> >
>>> > I get at that command the message :
>>> > usr/lib/gcc-lib/i386.....libresolv.so: undefined reference to
>>> > >>> > `__res_nclose@GLIBC_2.2'
>>> >
>>> > Any idea ?
>>> > Thanks for help,
>>> > Jerome
>>> >
>>> >
>>> > >>> -----Message d'origine-----
>>> > >>> De : Markus Fischer [mailto:mfischer@guru.josefine.at]
>>> > >>> Envoyé : jeudi 4 octobre 2001 20:45
>>> > >>> À : php-general@lists.php.net
>>> > >>> Cc : jerome.ponsin@francetrader.com
>>> > >>> Objet : Re: [PHP-DEV] Bug #13545: oci8 compile problem
>>> > >>>
>>> > >>>
>>> > >>> Please ask on php-general@lists.com or php-install@
>>> > >>>
>>> > >>> Is this patch against the glibc 2.2x problem?
>>> > >>>
>>> > >>> - Markus
>>> > >>>
>>> > >>> On Thu, Oct 04, 2001 at 06:26:10PM -0000,
>>> > >>> jerome.ponsin@francetrader.com wrote :
>>> > >>> > From: jerome.ponsin@francetrader.com
>>> > >>> > Operating system: LINUX RH 7.1
>>> > >>> > PHP version: 4.0.6
>>> > >>> > PHP Bug Type: Oracle related
>>> > >>> > Bug description: oci8 compile problem
>>> > >>> >
>>> > >>> > - oracle 8.1.7 install ok
>>> > >>> > - oracle patch from technet ok,
>>> > >>> > - php compiles fine (4.0.6)
>>> > >>> >
>>> > >>> > but on the oracle compile (./configure
>>> > >>> > --activate-module=src/modules/php4/libphp4.a )
>>> > >>> > I get :
>>> > >>> >
>>> > >>> > usr/lib/gcc-lib/i386.....libresolv.so: undefined
>>> reference to
>>> > >>> > `__res_nclose@GLIBC_2.2'
>>> > >>> > ...
>>> > >>> >
>>> > >>> > even if I put -lpthread in the "src/Configure" file
>>> > >>> > (is that the good place ?)
>>> > >>> >
>>> > >>> > Thaks for help,
>>> > >>> > Jerome
>>> > >>> >
>>> > >>> >
>>> > >>> >
>>> > >>> > --
>>> > >>> > Edit bug report at:
>>> > >>> > http://bugs.php.net/?id=13545&edit=1
>>> > >>> >
>>> > >>> >
>>> > >>> > --
>>> > >>> > PHP Development Mailing List
>>> > >>> > <http://www.php.net/>
>>> > >>> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>>> > >>> > For additional commands, e-mail: php-dev-help@lists.php.net
>>> > >>> > To contact the list administrators, e-mail:
>>> > >>> php-list-admin@lists.php.net
>>> > >>>
>>> > >>> --
>>> > >>> Markus Fischer,
>>> > >>> http://guru.josefine.at/~mfischer/
>>> > >>> EMail: mfischer@guru.josefine.at
>>> > >>> PGP Public Key:
>>> http://guru.josefine.at/~mfischer/C2272BD0.asc
>>> > >>> PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674
>>> B445 C227 2BD0
>>> > >>> -All your scripts are belong to Zend-
>>> > >>>
>>>
>>> --
>>> Markus Fischer, http://guru.josefine.at/~mfischer/
>>> EMail: mfischer@guru.josefine.at
>>> PGP Public Key:
>>> http://guru.josefine.at/~mfischer/C2272BD0.asc
>>> PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
>>> -All your scripts are belong to Zend-