ID:               20021
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: tru64 v5.1
 PHP Version:      4.2.3
 New Comment:

I rebuild Apache with: 'LDFLAGS=-lpthread', when I execute ldd httpd:


        Main  =>   httpd
        libpthread.so  =>   /usr/shlib/libpthread.so
        libm.so  =>   /usr/shlib/libm.so
        libc.so  =>   /usr/shlib/libc.so
        libexc.so  =>   /usr/shlib/libexc.so

And the 'ldap_sdk' are the LDAP libraries of Netscape, I use PHP for
access a LDAP directory.


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

[2002-10-22 12:30:46] [EMAIL PROTECTED]

Forgot to mention this: On some systems you need to have apache httpd
also linked with libpthread.so when PHP is linked with oci8..


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

[2002-10-22 12:29:16] [EMAIL PROTECTED]

What is the 'ldap_sdk' here? Try compile php without --with-ldap 



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

[2002-10-22 12:04:42] [EMAIL PROTECTED]

How can I see the 'CFLAGS'?

The library '/u01/app/oracle/product/8.1.7/lib/libwtc8.so' is created
when Oracle is installed in the system.

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

[2002-10-22 11:58:58] [EMAIL PROTECTED]

Do you have any CFLAGS exported that could cause the debugging symbols
to be lost?

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

[2002-10-22 11:41:55] [EMAIL PROTECTED]

This is all I can obtain by gdb on my system:

# /usr/local/bin/gdb /usr/internet/httpd/bin/httpd
/usr/internet/httpd/core
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "alphaev67-dec-osf5.1"...(no debugging
symbols found)...
Core was generated by `httpd'.
Program terminated with signal 6, Aborted.
Reading symbols from /sbin/loader...(no debugging symbols
found)...done.
Loaded symbols for /sbin/loader
Reading symbols from /usr/shlib/libm.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/shlib/libm.so
Reading symbols from /usr/shlib/libc.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/shlib/libc.so
Reading symbols from /usr/internet/httpd/libexec/libphp4.so...done.
Loaded symbols for /usr/internet/httpd/libexec/libphp4.so
Reading symbols from /usr/shlib/libldapssl30.so...done.
Loaded symbols for /usr/shlib/libldapssl30.so
Reading symbols from /usr/local/lib/libintl.so...done.
Loaded symbols for /usr/local/lib/libintl.so
Reading symbols from /usr/shlib/libexc.so...done.
Loaded symbols for /usr/shlib/libexc.so
Reading symbols from /usr/shlib/librt.so...done.
Loaded symbols for /usr/shlib/librt.so
Reading symbols from /usr/shlib/libaio_raw.so...done.
Loaded symbols for /usr/shlib/libaio_raw.so
Reading symbols from
/u01/app/oracle/product/8.1.7/lib/libclntsh.so.8.0...done.
Loaded symbols for /u01/app/oracle/product/8.1.7/lib/libclntsh.so.8.0
Reading symbols from /usr/shlib/libcxx.so...done.
Loaded symbols for /usr/shlib/libcxx.so
Reading symbols from /usr/shlib/libpthread.so...done.
Loaded symbols for /usr/shlib/libpthread.so
Reading symbols from /usr/shlib/libmach.so...done.
Loaded symbols for /usr/shlib/libmach.so
Reading symbols from /usr/shlib/libiconv.so...done.
Loaded symbols for /usr/shlib/libiconv.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from
/u01/app/oracle/product/8.1.7/lib/libwtc8.so...mipsread.c:402:
gdb-internal-error: sect_index_data not initiald
An internal GDB error was detected.  This may make further
debugging unreliable.  Quit this debugging session? (y or n) n
Create a core file containing the current state of GDB? (y or n) n

Reading symbols from /usr/shlib/libsialdap.so...done.
Loaded symbols for /usr/shlib/libsialdap.so
Reading symbols from /usr/shlib/libsecurity.so...done.
Loaded symbols for /usr/shlib/libsecurity.so
Reading symbols from /usr/shlib/libdb.so...done.
Loaded symbols for /usr/shlib/libdb.so
Reading symbols from /usr/shlib/libaud.so...done.
Loaded symbols for /usr/shlib/libaud.so
Reading symbols from /usr/shlib/libevm.so...done.
Loaded symbols for /usr/shlib/libevm.so
Reading symbols from /usr/shlib/libclu.so...done.
Loaded symbols for /usr/shlib/libclu.so
#0  0x3ff805cb1d8 in __nxm_thread_kill () from
/usr/shlib/libpthread.so
(gdb) bt
#0  0x3ff805cb1d8 in __nxm_thread_kill () from
/usr/shlib/libpthread.so
#1  0x3ff805b7938 in pthread_kill () from /usr/shlib/libpthread.so
#2  0x3ff805c07d0 in __tsInitSelf () from /usr/shlib/libpthread.so
#3  0x3ff80118d28 in tis_raise () from /usr/shlib/libc.so
(gdb) 

If this is insufficient, I can attach the core to a mail for
"[EMAIL PROTECTED]".

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20021

-- 
Edit this bug report at http://bugs.php.net/?id=20021&edit=1

Reply via email to