note 44151 added to install.apache
| From: | news-1 at e-something dot de | Date: | Fri, 16 Jul 2004 06:49:02 +0000 |
| Subject: | note 44151 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73351@lists.php.net to get a copy of this message | ||
"Undefined Symbol" compiling problem
I had a very similar problem like the one below: make would abort complaining about "undefined
symbols" concerning the OCI8 interface. Unfortunately the hint given didn't work out for
me, perhaps because of different environment:
AIX 4.3.3.0 with Oracle 9.2.0.3.0, apache 1.3.26 and PHP 4.3.8.
(tried also PHP 4.2.3, 4.3.2, .6, .7 and 5.0.0)
Nevertheless, the basic problem seems to be some incompatibility regarding 32-/64-bit-libraries,
whether they are static or dynamic and where they live.
Combining and distilling the hints, infos, attempts and phenomena described in the
PHPbuilder-thread http://www.phpbuilder.com/board/showthread.phps=&threadid=10246689
and the bug report http://bugs.php.net/bug.php?id=19340, the following
solution turned out to work:
I took the main ./configuration file of the PHP sourceroot and replaced all "OCI8_DIR/lib"
with "OCI8_DIR/lib32". Gave a bunch of warnings through the make, but finished with a
module apache accepted without coredump.
----
Manual Page -- http://www.php.net/manual/en/install.apache.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44151
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44151&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44151&report=yes
Search -- http://master.php.net/manage/user-notes.php