PEAR and RedHat 9
| From: | Harold Miller | Date: | Fri, 11 Apr 2003 00:06:43 +0000 |
| Subject: | PEAR and RedHat 9 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4790@lists.php.net to get a copy of this message | ||
Greetings,
I installed PEAR onto my new Redhat 9 box, and now Apache starts, but
won't serve pages, and I get all sorts of error messages when running pear.
It looks like the automatic remote install of pear may have modified my std
c libs....
Here are the first few errors when running pear:
[root@data root]# pear
Content-type: text/html
PHP Warning: Function registration failed - duplicate name - imap_open in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_popen in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_reopen in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_close in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_num_msg
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
imap_num_recent in Unknown on line 0
...<snip out a bunch of these>
PHP Warning: Function registration failed - duplicate name - ldap_start_tls
in Unknown on line 0
PHP Warning: ldap: Unable to register functions, unable to load in Unknown
on line 0
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
<then the functions>
here are the versions:
Installed packages:
===================
+----------------+---------+--------+
| Package | Version | State |
| Archive_Tar | 1.0 | stable |
| Console_Getopt | 1.0 | stable |
| DB | 1.4b1 | beta |
| Mail | 1.0.2 | stable |
| Net_SMTP | 1.2.0 | stable |
| Net_Socket | 1.0.1 | stable |
| PEAR | 1.0.1 | stable |
| PHPUnit | 0.5 | stable |
| XML_Parser | 1.0.1 | stable |
| XML_RPC | 1.0.4 | stable |
+----------------+---------+--------+
The errors reported by the web server are (from /var/log/messages):
Apr 11 05:26:57 data lancelotd: Starting Lancelot:
Apr 11 05:26:58 data lancelotd: /usr/local/avalon/bin/apachectl start: httpd
started
Apr 11 05:26:58 data su(pam_unix)[785]: session opened for user avalon by
(uid=0)
Apr 11 05:27:04 data lancelotd: Can't load
'/usr/local/avalon/lib/perl5/site_perl/5.6.1/i686-linux/auto/RRDs/RRDs.so'
for module RRDs: libstdc++-libc6.2-2.so.3: cannot open shared object file:
No such file or directory at
/usr/local/avalon/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.
Apr 11 05:27:04 data lancelotd: at
/usr/local/percival/lib/Common/RRDsummary.pm line 38
Apr 11 05:27:04 data su(pam_unix)[785]: session closed for user avalon
Apr 11 05:27:04 data lancelotd: Compilation failed in require at
/usr/local/percival/lib/Common/RRDsummary.pm line 38.
Apr 11 05:27:04 data lancelotd: BEGIN failed--compilation aborted at
/usr/local/percival/lib/Common/RRDsummary.pm line 38.
Apr 11 05:27:04 data lancelotd: Compilation failed in require at
/usr/local/percival/lib/Common/Util.pm line 45.
Apr 11 05:27:04 data lancelotd: BEGIN failed--compilation aborted at
/usr/local/percival/lib/Common/Util.pm line 45.
Apr 11 05:27:04 data lancelotd: Compilation failed in require at
/usr/local/percival/bin/overlord.pl line 89.
Apr 11 05:27:04 data lancelotd: BEGIN failed--compilation aborted at
/usr/local/percival/bin/overlord.pl line 89.
Apr 11 05:27:04 data lancelotd: DONE
How do I restore things? Or are these items even related to each other?
Thanks in advance...
Harold Miller
Solid Solutions
Http://solid.nw.net