I'm at wit's end.

.../php-4.0.6/configure gives an error, and debug.log says libclntsh.so:  don't
use llseek, use lseek64, and slpmprodstab is undefined.

I've looked everywhere.  All of php.org.  All of this newsgroup.  The linux
forum at Oracle TechNet.

The one lead I found was a reference to an Oracle note 68151.1, which apparently
no longer exists on their site.

I see a gensyslib in $ORACLE_HOME/bin which apparently creates
$ORACLE_HOME/lib/sysliblist.  This latter contains one line: "-ldl -lm

I note that -plthread isn't in the command line producing the error in
debug.log.  Should it be?  How do I get it there?

TIA for any advice.  (I'm not a C programmer, just a DBA trying to get something
working)  My debug.log is below.

Rick Hickerson            T(978)659-4901  _\|/_ Agilent Technologies
IT Consulting Engineer     (646)452-7668   /|\  Innovating the HP Way
3000 Minuteman Rd, MS 596  (877)868-9829
Andover, MA  01810                        IT | Information Technology

CONFIGURE:   './configure' '--with-mysql' '--with-apxs' '--with-pgsql'
'--with-oci8' '--prefix=/usr'
CC:         gcc
CFLAGS:     -g -O2
INCLUDES:    -I/opt/php/php-4.0.6/@includedir@  -I$(top_builddir)/Zend
LDFLAGS:     -Wl,-rpath,/opt/oracle/app/oracle/product/8.1.5/lib
-L/opt/oracle/app/oracle/product/8.1.5/lib -Wl,-rpath,/usr/lib/pgsql
LIBS:       -lpq -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lclntsh
SAPI:       apache
PHP_RPATHS:  /opt/oracle/app/oracle/product/8.1.5/lib /usr/lib/pgsql
uname -a:   Linux tackroom.and.agilent.com 2.4.3-20mdk #1 Sun Apr 15 23:03:10
CEST 2001 i686 unknown

-DSUPPORT_UTF8  -Wl,-rpath,/opt/oracle/app/oracle/product/8.1.5/lib
-L/opt/oracle/app/oracle/product/8.1.5/lib -Wl,-rpath,/usr/lib/pgsql
-L/usr/lib/pgsql conftest.c -lpq -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl 
-lresolv -lclntsh 1>&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libclntsh.so: the
`llseek' function may be dangerous; use `lseek64' instead.
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libclntsh.so: undefined
reference to `slpmprodstab'collect2: ld returned 1 exit status

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to