473,410 Members | 1,916 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,410 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 3530
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.