Re: libphp4 and libpcre3 in unstable

2001-08-24 Thread Donald MacDougall
On Aug 14, 2001 Andrew Sione Taumoefolau wrote: 
 Yesterday I updated my unstable installation with 
 Dselect.  When I got through, everything worked except 
 that apache wouldn't run.  I now get the following set 
 of error messages when I try to start it.
  Syntax error on line 111 of /etc/apache/httpd.conf:
 Cannot load /usr/lib/apache/1.3/libphp4.so into server: 
 /usr/lib/libpcre.so.3: undefined symbol:atexit

It?s a known bug in the php4 package (you were close! :). Try

   # export LD_PRELOAD=/usr/lib/libpcre.so.3
   # apachectl start

Works for me.

A belated thank you to Andrew, for the help.  It appears to 
have worked for me too, although I had, before asking for help, 
introduced some other errors during my attempts to cure this 
original problem, which then caused it to appear that the 
problem had not been cured.  I evenually managed to reverse 
all my errors and get it working.

One followup note:  It appears that the bug in the package has 
been fixed, though I haven't actually looked it up.  But since
a recent update, things work without the workaround suggested
by Andrew.

Thanks again,
Don MacDougall



libphp4 and libpcre3 in unstable

2001-08-14 Thread Donald MacDougall
Hello,

Yesterday I updated my unstable installation with 
Dselect.  When I got through, everything worked except 
that apache wouldn't run.  I now get the following set 
of error messages when I try to start it.

Syntax error on line 111 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/1.3/libphp4.so into server: 
 /usr/lib/libpcre.so.3: undefined symbol:atexit

Now, the line about Syntax error wasn't there when 
the problem first started, it just started appearing 
today after some other things I did, and furthermore 
nothing on that line has changed for a long time and 
I can't see any syntax errors.  It is, however the line 
that loads the libphp4 module.  The Cannot load line 
is the one that has been the same since yesterday when 
I broke it.

I don't know if the problem is in libpcre3 or libphp4
or perhaps even apache or something else entirely.  I 
looked for bug reports for both packages and found 
nothing that seemed related.  Any advice on how to 
proceed from here?

Versions are:
libpcre3  -  3.4-1
php4  -  4.0.6-4
apache-  1.3.20-1

Regards,
Don MacDougall



Re: libphp4 and libpcre3 in unstable

2001-08-14 Thread Andrew Sione Taumoefolau
 Yesterday I updated my unstable installation with 
 Dselect.  When I got through, everything worked except 
 that apache wouldn't run.  I now get the following set 
 of error messages when I try to start it.
 
 Syntax error on line 111 of /etc/apache/httpd.conf:
 Cannot load /usr/lib/apache/1.3/libphp4.so into server: 
  /usr/lib/libpcre.so.3: undefined symbol:atexit

It's a known bug in the php4 package (you were close! :). Try

# export LD_PRELOAD=/usr/lib/libpcre.so.3
# apachectl start

Works for me.

-- 

Andrew Sione Taumoefolau  
[EMAIL PROTECTED]
http://users.pipeline.com.au