Commited. On Mon, 9 Sep 2002, Michael Mauch wrote:
> Hi, > > <http://bugs.php.net/bug.php?id=18640> describes the problem that some > Oracle versions (patch levels) on Tru64 seem to have some OCILob* > functions in the libocijdbc8 library instead of in the usual libclntsh. > > This makes the PHP build fail with unresolved symbols. > > <http://bugs.php.net/bug.php?id=14193> also seems to be related. > > Although this seems to be all Oracle's fault, I suggest to link against > libocijdbc8 if it is available. > > I tested the patch below with Oracle 8.1.7 and 9.0.1 on Tru64 5.1, > Oracle 8.1.6 on Tru64 4.0f, Oracle 8.1.7 on Solaris 7, and with Oracle > 8.1.6 on Linux/ix86. Only the Oracle 8.1.x on Tru64 needed the patch, > but I wanted to make sure that the additional library does no harm to > the others. > > The patch also applies cleanly against 4.2.3, and against the current > CVS version (HEAD) if you use --ignore-whitespace (GNU patch). > > Can somebody please add this? If this is not the right way to send a > patch, please tell me. > > Regards... > Michael > > --- php4-STABLE-200209050900/ext/oci8/config.m4.orig Fri Nov 30 19:59:46 2001 > +++ php4-STABLE-200209050900/ext/oci8/config.m4 Fri Sep 6 16:23:01 2002 > @@ -68,6 +68,9 @@ > > 8.1|9.0) > PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD) > + if test -f $OCI8_DIR/lib/libocijdbc8.so ; then > + PHP_ADD_LIBRARY(ocijdbc8, 1, OCI8_SHARED_LIBADD) > + fi > PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD) > AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ]) > ;; > > > > > > >---------------------------------------------------------------< Dan Kalowsky "I'll walk a thousand miles just http://www.deadmime.org/~dank to slip this skin." [EMAIL PROTECTED] - "Streets of Philadelphia", [EMAIL PROTECTED] Bruce Springstreen -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php