note 58571 added to ref.oci8

From: Date: Tue, 08 Nov 2005 13:08:36 +0000
Subject: note 58571 added to ref.oci8
Groups: php.notes 
Request: Send a blank email to php-notes+get-98255@lists.php.net to get a copy of this message
Errror ELFCLASS64 compiling php with Oracle on SUN 64bits with gcc Error on compiling : ld: fatal: file /axe0/app/oracle/product/9.2.0/lib/libclntsh.so: wrong ELF class : ELFCLASS64 Pour compiler en 32bits avec /usr/local/bin/gcc: 1 - gtar zxvf php-4.4.1.tar.gz 2 - export CC=gcc 3 - export LD_LIBRARY=/usr/local/lib:$ORACLE_HOME/lib32 4 - export LDFLAGS="-L$ORACLE_HOME/lib32" 5 - cd php-4.4.1 6 - ./configure --with-oracle --with-oci8 \ --with-apxs=/axe0/app/apache/bin/apxs \ --enable-ftp --enable-sigchild (...) 7 - /usr/local/bin/make 8- /usr/local/bin/make install Pour compiler en 64bits SANS ERREUR : 1 - gtar zxvf php-4.4.1.tar.gz 2 - export CC=gcc 3 - export LD_LIBRARY=/usr/local/lib:$ORACLE_HOME/lib 3 - cd php-4.4.1 4 - Modifier le fichier "configure" : remplacer la ligne suivante : CFLAGS="-g -02" par CFLAGS="-g -02 -m64" 5 - ./configure --with-oracle -with .... 6 - /usr/local/bin/make 7- /usr/local/bin/make install La compil en 64bits est INDISPENSABLE si on veut utiliser un apache DEJA COMPILE en 64bits. ---- Manual Page -- http://www.php.net/manual/en/ref.oci8.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58571 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58571&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58571&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#98255) next »