ID: 8265
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: OCI8 related
Assigned To: 
Comments:

No feedback. If this happens with soon to be released PHP 4.0.5 too, reopen this bug 
report.

--Jani


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

[2001-02-18 06:30:06] [EMAIL PROTECTED]
could you give me a login onto that box?



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

[2000-12-14 20:29:57] [EMAIL PROTECTED]
Compiling php-4.0.3pl1 on UnixWare 7.1.1:

CFLAGS=-Kthread 
CC=cc 
./configure --with-apache=../apache_1.3.14 
            --with-mysql=/usr/local/mysql 
            --with-oci8=/home2/app/oracle/product/8.0.4 
            --with-gdbm 
            --with-db3 
            --enable-track-vars

All paths are correct, LD_LIBRARY_PATH is correct, etc.  (-Kthread is necessary for 
linking, because my db3 lib was
comiled with thread support.)

configure fails with "Something is likely to be messed up here..."

debug.log shows:
cc -o conftest -Kthread   -L/usr/ucblib -L/usr/ucblib -L/usr/local/lib 
-L/usr/local/lib -L/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
-L/home2/app/oracle/product/8.0.4/lib -L/home2/app/oracle/product/8.0.4/lib conftest.c 
-lclntsh -lpsa -lcore4 -lnlsrtl3 -lm -lthread -lgen -lmw -lelf -lmw -ldl -lgen -lnsl 
-lsocket -lmysqlclient -lttf -lpng -lz -lgd -ldb -lgdbm -lresolv -lresolv -lm -ldl 
-lcrypt -lsocket -lsocket 1>&5
UX:cc: WARNING: Use -Kthread instead of -lthread when linking with threads
        library; using -lthread directly may cause incorrect execution behavior.
Undefined                       first referenced
 symbol                             in file
skgfrwat                            /home2/app/oracle/product/8.0.4/lib/libclntsh.so
[...plus 30-odd other "skg..." symbols not found...]

(Don't worry about the -lthread warning, it's harmless here.)

A quick check with nm finds the desirable symbols in Oracle's libgeneric, which itself 
requires symbols from Oracle's libmm.  configure only links 4 Oracle libs (instead of 
the lumbering list of Oracle libs I'm accustomed to seeing).

I modified the pertinent part of configure to add the two libs (requiring 188 new 
lines of code in configure!), and configure succeeds.  (I modified configure, rather 
than edit the .m4 files and run buildconfig, because when I tried that the results 
differed in much more than the two Oracle libs).

Has this configuration for Oracle 8.0 compiled clean elsewhere?

Thanks for your input, 
Rob Roselius


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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8265&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