473,230 Members | 1,594 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,230 software developers and data experts.

PEAR.so, PEAR.php and Debian


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
3 3523
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: NotGiven | last post by:
My hosting company has pre-intalled PEAR in a directory out of the web directory (and not in php-includes). I've tried including the absolute /to/path/ in the requre statement but it does not...
3
by: junkmail | last post by:
on a win 2k server apparantly it is saying i dont have it. or it cant find it. im using mySQL 4.1 php 4.3.x apache 3.0.53 im new to php and am doing some tutorials, but when i run the sripts...
2
by: Alan Prescott | last post by:
I'm running SuSE Linux 9.3, fully up to date running # pear install db responds with ... downloading DB-1.7.6.tgz ... Starting to download DB-1.7.6.tgz (124,807 bytes)...
2
by: Jay | last post by:
Newbie alert. Is the standard php library exclusively for PHP5 or is there one for PHP4? How do I start using it? Is there a require or include directive needed in order to make use of it? ...
0
by: bwhitehd | last post by:
I'm having a problem installing php. The compile seems to go fine, but when it gets to the install step I get the following errors. Does anyone have an idea of what might be the problem? We...
1
by: IchBin | last post by:
I am new to PHP and I am running on Windoze XP SP 2. Just noticed that the PEAR installed dir structure I have (to DB subdir) is : C:\php5.2\PEAR\pear\DB My registry vars are:...
1
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I...
0
by: Robert | last post by:
Hey folks - I did a little bit of googling and found references to this problem, but I could never find a solution. Maybe one of you has solved this before. We've got 4 or 5 development...
1
by: IchBin | last post by:
I remember having problems with pear when I first installed it but got it running some time ago. This is on a windoze XP SP OS. I did not think it was correct because it pointed to...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.