ID: 7318
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: *Install and Config
Assigned To: 
Comments:

No feedback, considered fixed.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2000-11-29 01:35:24] [EMAIL PROTECTED]
#1: I spoke too soon. In many cases, when you move
a binary from Solaris 2.6 to Soalris 7, you can see
that it will not work by running ldd. libgen.so seems
to actually be ok here. (NOTE: This is still not a very
good idea, but you *might* get it to work.)

#2: Where did you put libgen.so? ld cannot find it. Try
putting it in /usr/lib.

#3: Even if you get libgen.so to detect, there is something
odd with libm.so. I would be really surprised if you ever got this to work reliably. 
You'd be better off running an Oracle that was built for Solaris 2.6

---------------------------------------------------------------------------

[2000-11-28 14:58:21] [EMAIL PROTECTED]
Here is the output from debug.log w/o libgen

CONFIGURE:   './configure' '--prefix=/lopt/php4' '--enable-force-cgi-redirect' 
'--with-oci8=/lopt/oraphp' '--with-m
ysql=no'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
CXX:        
CXXFLAGS:   
INCLUDES:      -I$(top_builddir)/Zend -I$(top_srcdir) -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/l
ib conftest.c -lclntsh -ldl -lgen -lsocket -lnsl -lresolv -lresolv -lm -ldl -lcrypt 
-lnsl -lsocket  -lsocket 1>&5
ld: warning: file libgen.so.1: required by /lopt/oraphp/lib/libclntsh.so, not found
ld.so.1: ./conftest: fatal: libgen.so.1: open failed: No such file or directory

Here is a "ldd" of libclntsh.so, which is the library that needs libgen

ldd libclntsh.so
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libgen.so.1 =>   (file not found)
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libm.so.1 (SUNW_1.1) =>  (version not found)
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2

I believe this is 8.0.6.

Let me know if you need any more info

---------------------------------------------------------------------------

[2000-11-28 06:30:34] [EMAIL PROTECTED]
I'm still waiting for the info about the error you
got when you didn't have libgen.so copied from 
newer OS. And what version of Oracle you're trying
to configure PHP with.

--Jani

---------------------------------------------------------------------------

[2000-11-27 14:25:06] [EMAIL PROTECTED]
Joey,

I did the ldd and it came out exactly as I expected:

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?

---------------------------------------------------------------------------

[2000-11-21 22:20:48] [EMAIL PROTECTED]
If you want to *see* it causing trouble, just try:
ldd libgen.so

---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7318&edit=2


-- 
PHP Development 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