Re: Re: PHP 4.0 Bug #7318 Updated: libgen.so problems
| From: | Jani Taskinen | Date: | Thu, 23 Nov 2000 10:44:06 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #7318 Updated: libgen.so problems | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38981@lists.php.net to get a copy of this message | ||
On Wed, 22 Nov 2000, Frank Feingold wrote:
>How do I get my comments back into the bug database? I won't let me
>edit anything.
http://bugs.php.net/?id=7318&edit=2
And remember to enter your password.
>I don't see anything wrong with the ldd command output:
>myhost:/usr/lib$ ldd libgen.so
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
>
>What am I missing?
I'm still waiting to hear which version of Oracle you're compiling
PHP with and which were the problems/error messages without having
libgen.so linked in.
--Jani
>Frank
>
>Bug Database wrote:
>>
>> ID: 7318
>> Updated by: joey
>> Reported By: frank.feingold@cnh.com
>> Status: Feedback
>> Bug Type: *Install and Config
>> Assigned To:
>> Comments:
>>
>> If you want to *see* it causing trouble, just try:
>> ldd libgen.so
>>
>> Previous Comments:
>> ---------------------------------------------------------------------------
>>
>> [2000-11-21 06:16:39] sniper@php.net
>> What do you expect? Of course it causes trouble. :)
>> Please try without the libgen and submit info what
>> is the problem when not using it.
>>
>> Also info about which version of Oracle you are trying
>> to compile with is needed.
>>
>> --Jani
>>
>> ---------------------------------------------------------------------------
>>
>> [2000-10-18 15:46:28] frank.feingold@cnh.com
>> 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
>>
>> ---------------------------------------------------------------------------
>>
>> Full Bug description available at:
>> http://bugs.php.net/?id=7318
>
>--
>Frank Feingold
>ffeingold@cnh.com
>
>My opinions are only my on own, and not necessarily that of my employer.
>
>