By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,722 Members | 1,227 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,722 IT Pros & Developers. It's quick & easy.

PEAR.so, PEAR.php and Debian

P: n/a

I need to use a class to handle mbox files that uses PEAR. Since I'm using
Debian (both woody and, I simply apt-get(ed) php4-pear but I can't use it
becouse I get the error:

Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/20020429/PEAR.so'- /usr/lib/php4/20020429/PEAR.so: cannot
open shared object file: No such file or directory in
/home/sandro/src/php/mbox/PEAR.php on line 11

in fact PEAR.so is not there, nor it seems there is any in Debian
distros...
In php4-pear package I see a file PEAR.php that raises the same error.

Is PEAR.so supposed to be there or not?
TYA
sandro
*:-)
--
Sandro Dentella *:-)
e-mail: sa****@e-den.it
http://www.tksql.org TkSQL Home page - My GPL work
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Sandro Dentella wrote:
I need to use a class to handle mbox files that uses PEAR. Since I'm using
Debian (both woody and, I simply apt-get(ed) php4-pear but I can't use it
becouse I get the error:

Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/20020429/PEAR.so'- /usr/lib/php4/20020429/PEAR.so: cannot
open shared object file: No such file or directory in
/home/sandro/src/php/mbox/PEAR.php on line 11

in fact PEAR.so is not there, nor it seems there is any in Debian
distros...
In php4-pear package I see a file PEAR.php that raises the same error.

Is PEAR.so supposed to be there or not?


I don't have it on my deb box. Did you get php4-pear and php4 from the
same branch? I use apt-get -t unstable for all my php-related downloads...

--
Justin Koivisto - sp**@koivi.com
http://www.koivi.com
Jul 17 '05 #2

P: n/a
Il 2004-10-14, Justin Koivisto <sp**@koivi.com> ha scritto:
Sandro Dentella wrote:
I need to use a class to handle mbox files that uses PEAR. Since I'm using
Debian (both woody and, I simply apt-get(ed) php4-pear but I can't use it
becouse I get the error:

Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/20020429/PEAR.so'- /usr/lib/php4/20020429/PEAR.so: cannot
open shared object file: No such file or directory in
/home/sandro/src/php/mbox/PEAR.php on line 11

in fact PEAR.so is not there, nor it seems there is any in Debian
distros...
In php4-pear package I see a file PEAR.php that raises the same error.

Is PEAR.so supposed to be there or not?


I don't have it on my deb box. Did you get php4-pear and php4 from the
same branch? I use apt-get -t unstable for all my php-related downloads...


Do you have PEAR.php?
Can you 'require_once("PEAR.php")'?

I'm trying to use mbox.php from PEAR...

TYA
sandro
*:-)

--
Sandro Dentella *:-)
e-mail: sa****@e-den.it
http://www.tksql.org TkSQL Home page - My GPL work
Jul 17 '05 #3

P: n/a
Sandro Dentella wrote:
Il 2004-10-14, Justin Koivisto <sp**@koivi.com> ha scritto:
Sandro Dentella wrote:

I need to use a class to handle mbox files that uses PEAR. Since I'm using
Debian (both woody and, I simply apt-get(ed) php4-pear but I can't use it
becouse I get the error:

Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/20020429/PEAR.so'- /usr/lib/php4/20020429/PEAR.so: cannot
open shared object file: No such file or directory in
/home/sandro/src/php/mbox/PEAR.php on line 11

in fact PEAR.so is not there, nor it seems there is any in Debian
distros...
In php4-pear package I see a file PEAR.php that raises the same error.

Is PEAR.so supposed to be there or not?
I don't have it on my deb box. Did you get php4-pear and php4 from the
same branch? I use apt-get -t unstable for all my php-related downloads...


Do you have PEAR.php?


Yes: /usr/share/php/PEAR.php
Can you 'require_once("PEAR.php")'?


I use MDB for my database abstraction - I have no problems with pear
libraries that I use... If you have PEAR.php, make sure that your
include path in php.ini is set correctly. For instance, mine is (as
reported from phpinfo() ".:/usr/share/php:/usr/share/pear"

Short of that, you _could_ copy the necessary PEAR files into the
directory structure for your site...

--
Justin Koivisto - sp**@koivi.com
http://www.koivi.com
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.