ID:               36690
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mlandis at pnmx dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Fedora Core 4
 PHP Version:      5.1.2
 New Comment:

.


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

[2006-03-12 11:57:08] mlandis at pnmx dot com

I'm not sure if this <i>really</i> accomplished anything or not, but I
copied libpthread.a to libpthreads.a (in /usr/lib) and re-ran:

./configure --with-pear --with-mysql --enable-fastcgi
--enable-safe-mode --with-apxs2=/usr/local/apache/bin/apxs)
make
make install

so I can start Apache2 (so _zend_list_delete is no longer undefined in
libphp5.so) and I can get phpinfo() to run successfully.

All good news, but there are hundreds of functions in libphp5.so that
are still undefined.  I don't know how important this is, but they tend
to fit the following patterns:
xml*
*@@GLIBC_2.0
*@@GLIBC_2.1
*@@GLIBC_2.2
mysql_*
ap_*
apr_*

If this looks familiar and they're important and I can do something to
fix them, I hope you'll post a reply.

Here's the first twenty or so undefined's from:
objdump -x libphp5.so

00000000       F *UND*  0000010c              xmlNodeSetContent
00000000       F *UND*  00000088              xmlXIncludeProcessFlags
00000000         *UND*  00000000              ap_auth_type
00000000       F *UND*  0000016c             
xmlTextWriterStartAttributeNS
00000000       F *UND*  000000cd              xmlNewTextReaderFilename
00000000       F *UND*  00000041              freeaddrinfo@@GLIBC_2.0
00000000       F *UND*  00000083              xmlDocSetRootElement
00000000       F *UND*  00000030              xmlDocDumpFormatMemory
00000000       F *UND*  000000e0              xmlGetPredefinedEntity
00000000       F *UND*  00000256              xmlSchemaFreeValidCtxt
00000000       F *UND*  0000002e              xmlGetIntSubset
00000000       F *UND*  0000003f              readlink@@GLIBC_2.0
00000000       F *UND*  0000005d             
xmlTextWriterWriteDTDElement
00000000       F *UND*  00000021              xmlNewDocText
00000000         *UND*  00000000              ap_loaded_modules
00000000       F *UND*  00000271              __res_nmkquery@@GLIBC_2.2
00000000       F *UND*  00000071              nl_langinfo@@GLIBC_2.0
00000000       F *UND*  00000049              usleep@@GLIBC_2.0
00000000       F *UND*  0000009a              xmlCharStrndup
00000000       F *UND*  0000003d              mkdir@@GLIBC_2.0
00000000       F *UND*  0000011b              getgrnam@@GLIBC_2.0

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

[2006-03-12 09:10:31] [EMAIL PROTECTED]

I doubt anyone will be able to help you. since noone is able to
reproduce your problem.
Not PHP problem, but some mess in your system.

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

[2006-03-12 00:57:48] mlandis at pnmx dot com

I have no other Linux boxes available so I'm stuck installing PHP on
this one.  BTW, I wasn't trying to pull the wool over your eyes w.r.t.
alpinekid (you guys are so cynical).

I can reproduce this on my machine every time.  Configure first
encounters difficulties at...

configure:12447: gcc -o conftest -g 02 conftest.c -lpthreads -lnsl
1>&S
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure: failed program was:
#line 12438 "configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
pthread_t th; pthread_join(th,0);
...

//my /usr/lib contains:
libpthread.a, libpthread.so, libpthread_nonshared.a

and /lib/i686/nosegneg/ contains:
libpthread-2.3.5.so, libpthread.so.0

Is there something I can do to help configure succeed here?

Thanks, Mike

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

[2006-03-11 12:10:42] [EMAIL PROTECTED]

;)  Nice try on the Google thing.  They are all from the same person. 
Someone who goes by "Alpinekid".  Try this:

http://www.google.com/search?hl=en&lr=&safe=off&c2coff=1&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=%22zend_list_delete+undefined%22+libphp5.so+-alpinekid&btnG=Search

It sounds like you have some interesting problem on your system.  Try
it on another box and see if you get the same thing.  As it is, since
none of us here can reproduce this, there isn't much we can do.  Please
re-open if you find some solid information that points to a PHP bug.

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

[2006-03-11 11:02:12] mlandis at pnmx dot com

There are numerous posts on exactly this subject associated with
previous versions of PHP or another OS.  If you google
"_zend_list_delete undefined libphp5.so" you'll get 92 hits, so
something is amiss.  Chances are that many people didn't post to a news
group about their experience.  It shouldn't take thousands of people
reporting a bug for it to be real - 90+ should be plenty.  My guess is
that there's something that configure is not accounting for.  There are
quite a few of us out here that would appreciate you taking this
seriously.  If I can help get to the bottom of it, I would be happy to
cooperate in any way.

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

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/36690

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

Reply via email to