PEAR.so, PEAR.php and Debian

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sandro Dentella

    #1

    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: sandro@e-den.it
    http://www.tksql.org TkSQL Home page - My GPL work
  • Justin Koivisto

    #2
    Re: PEAR.so, PEAR.php and Debian

    Sandro Dentella wrote:
    [color=blue]
    > 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?[/color]

    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 - spam@koivi.com

    Comment

    • Sandro Dentella

      #3
      Re: PEAR.so, PEAR.php and Debian

      Il 2004-10-14, Justin Koivisto <spam@koivi.com > ha scritto:[color=blue]
      > Sandro Dentella wrote:
      >[color=green]
      >> 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?[/color]
      >
      > 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...[/color]

      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: sandro@e-den.it
      http://www.tksql.org TkSQL Home page - My GPL work

      Comment

      • Justin Koivisto

        #4
        Re: PEAR.so, PEAR.php and Debian

        Sandro Dentella wrote:
        [color=blue]
        > Il 2004-10-14, Justin Koivisto <spam@koivi.com > ha scritto:
        >[color=green]
        >>Sandro Dentella wrote:
        >>
        >>[color=darkred]
        >>>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?[/color]
        >>
        >>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...[/color]
        >
        > Do you have PEAR.php?[/color]

        Yes: /usr/share/php/PEAR.php
        [color=blue]
        > Can you 'require_once(" PEAR.php")'?[/color]

        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 - spam@koivi.com

        Comment

        Working...