LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 01-24-2009, 01:32 PM   #1
he_the_great
LQ Newbie
 
Registered: Sep 2006
Location: EWU
Distribution: Debian Testing
Posts: 16
Thanked: 0
Debian AMD64 Oracle 10g XE and PHP OCI8


[Log in to get rid of this advertisement]
Trying to get these three things to work together has been quite a pain. I was able to install Oracle just fine, good instructions can be found:

http://littlebrain.org/2008/05/12/ho...ubuntu-64-bit/

I was even able to install the OCI8 modules for php with,

http://remorse.nl/weblog/debian_oracle_xe_and_php5/

you will need to:
Code:
apt-get install libc6-dev-i386
export CFLAGS='-m32'
before running the pear command.

The issue is that during PHP startup it will complain it is of the "wrong ELF class: ELFCLASS32" Is there a way to get around this without going 32bit?

/var/log/apache2/error.log
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/oci8.so' - /usr/lib/php5/20060613/oci8.so: wrong ELF class: ELFCLASS32 in Unknown on line 0

Last edited by he_the_great; 01-24-2009 at 01:35 PM.. Reason: Improved installation tips
he_the_great is offline  
Tag This Post , , , , , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle 10g on OpenSuSE 10.3 AMD64 - Installer Hangs thomas_r Linux - Software 4 08-28-2009 11:44 PM
Is it possible to install Oracle 10g (10.2) on Debian Etch? arobinson74 Debian 1 04-09-2007 09:24 PM
RHAS 3.0 i64, Oracle 10g, Oracle RAC, and ASM xmdms Linux - Enterprise 10 01-06-2007 12:07 AM
how to configure php-5.1.4 with oci8 for Oracle9i jimmyjiang Red Hat 2 11-10-2006 08:53 AM
php with oci8 nightmare mariogomide Programming 1 01-31-2006 11:51 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration