Edit report at https://bugs.php.net/bug.php?id=61474&edit=1
ID: 61474 Updated by: s...@php.net Reported by: hakim at agl dot fr Summary: Compile failure with OCI8 - instantclient 11.2 -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: RedHat Entreprise Linux 5 x86_64 PHP Version: 5.4.0 Block user comment: N Private report: N New Comment: What was the exact 'configure' command used? Previous Comments: ------------------------------------------------------------------------ [2012-03-22 16:34:12] hakim at agl dot fr Description: ------------ Trying to compile PHP 5.4.0 with Oracle Instant Client 11.2 and I receive the following error: ~# ./configure ... --with-oci8=instantclient,/usr/lib/oracle/11.2/client64/lib \ ... ~# make .... /bin/sh /data/pkgs/ws/php-5.4.0/libtool --silent --preserve-dup-deps --mode=compile /data/pkgs/ws/php-5.4.0/meta_ccld -DLDAP_DEPRECATED=1 -Iext/ldap/ -I/data/pkgs/ws/php-5.4.0/ext/ldap/ -DPHP_ATOM_INC -I/data/pkgs/ws/php-5.4.0/include -I/data/pkgs/ws/php-5.4.0/main -I/data/pkgs/ws/php-5.4.0 -I/data/pkgs/ws/php-5.4.0/ext/date/lib -I/data/pkgs/ws/php-5.4.0/ext/ereg/regex -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/data/pkgs/ws/php-5.4.0/ext/mbstring/oniguruma -I/data/pkgs/ws/php-5.4.0/ext/mbstring/libmbfl -I/data/pkgs/ws/php-5.4.0/ext/mbstring/libmbfl/mbfl -I/usr//include/mysql -I/usr/include/mysql -I/usr/include/oracle/11.2/client64 -I/data/pkgs/ws/php-5.4.0/ext/sqlite3/libsqlite -I/data/pkgs/ws/php-5.4.0/TSRM -I/data/pkgs/ws/php-5.4.0/Zend -D_REENTRANT -I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS -c /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c -o ext/ldap/ldap.lo Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:68:1: attention : « LBER_CLASS_UNIVERSAL » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:52:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:69:1: attention : « LBER_CLASS_APPLICATION » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:53:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:70:1: attention : « LBER_CLASS_CONTEXT » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:54:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:71:1: attention : « LBER_CLASS_PRIVATE » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:55:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:72:1: attention : « LBER_CLASS_MASK » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:56:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:75:1: attention : « LBER_PRIMITIVE » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:59:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:76:1: attention : « LBER_CONSTRUCTED » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:60:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:77:1: attention : « LBER_ENCODING_MASK » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:61:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:79:1: attention : « LBER_BIG_TAG_MASK » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:63:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:80:1: attention : « LBER_MORE_TAG_MASK » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:64:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:88:1: attention : « LBER_ERROR » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:74:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:89:1: attention : « LBER_DEFAULT » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:75:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:92:1: attention : « LBER_BOOLEAN » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:78:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:93:1: attention : « LBER_INTEGER » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:79:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:94:1: attention : « LBER_BITSTRING » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:80:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:95:1: attention : « LBER_OCTETSTRING » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:81:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:96:1: attention : « LBER_NULL » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:82:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:97:1: attention : « LBER_ENUMERATED » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:83:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:98:1: attention : « LBER_SEQUENCE » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:84:1: attention : ceci est la localisation d'une précédente définition Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:99:1: attention : « LBER_SET » redéfini Dans le fichier inclus à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27, à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/lber.h:85:1: attention : ceci est la localisation d'une précédente définition In file included from /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30, from /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45: /usr/include/oracle/11.2/client64/ldap.h:183: erreur: redefinition of 'struct berval' make: *** [ext/ldap/ldap.lo] Erreur 1 ~# ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61474&edit=1