PHP 4.0 Bug #7318: libgen.so problems
| From: | frank dot feingold at cnh dot com | Date: | Wed, 18 Oct 2000 19:46:29 +0000 |
| Subject: | PHP 4.0 Bug #7318: libgen.so problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35459@lists.php.net to get a copy of this message | ||
From: frank.feingold@cnh.com
Operating system: Solaris 2.6
PHP version: 4.0.3
PHP Bug Type: *Install and Config
Bug description: libgen.so problems
I'm having problems configuring PHP for use with oracle (with either --with-oracle or
--with-oci8). Oracle (it appears) is requiring libgen.so. libgen.so is not included with Solaris
2.6. We copied libgen.so from a 2.7 machine (this kluge may be causing the problem). I ran nm
agains it and it looked fine.
When I run configure, here is what I get in debug.log:
CONFIGURE: './configure' '--prefix=/lopt/php4'
'--with-oracle=/lopt/oraphp'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I$(top_srcdir) -I/net/home/dp578/php-4.0.3/ext/mysql/libmysql
-I/lopt/oraphp/network/public -I/lopt/oraphp/plsql/public
LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/lopt/oraphp/lib -L/lopt/oraphp/lib
LIBS: -lclntsh -ldl -lgen -lsocket -lnsl -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket
-lsocket
DLIBS:
SAPI: cgi
PHP_RPATHS: /usr/ucblib /lopt/oraphp/lib
uname -a: SunOS uxracem1 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-Enterprise
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/lopt/oraphp/lib
-L/lopt/oraphp/lib conftest.c -lclntsh -ldl -lgen -lsocket -lnsl -lresolv -lresolv -lm -ldl -lcrypt
-lnsl -lsocket -lsocket 1>&5
Undefined first referenced
symbol in file
_delete /usr/lib/libgen.so.1
_insert /usr/lib/libgen.so.1
ld: fatal: Symbol referencing errors. No output written to conftest
gcc is v 2.8.1
--
Edit Bug report at: http://bugs.php.net/?id=7318&edit=1