unable to load dynamic libraries

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jame Johnson

    #1

    unable to load dynamic libraries


    I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages:

    PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so

    I get the same messages for the 12 modules that I updated.

    In /usr/local/lib/php I have:

    drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412
    drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
    drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear

    Now much of php doesn't work. How do you fix this?


    Jim


  • Andy Hassall

    #2
    Re: unable to load dynamic libraries

    On Mon, 20 Dec 2004 14:18:59 -0500, Jame Johnson <jj@yaaho.com > wrote:
    [color=blue]
    >I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages:
    >
    >PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so
    >
    >I get the same messages for the 12 modules that I updated.
    >
    >In /usr/local/lib/php I have:
    >
    >drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412
    >drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
    >drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear
    >
    >Now much of php doesn't work. How do you fix this?[/color]

    What did you upgrade from?

    PHP 5 isn't binary compatible with PHP 4, and PHP 5.0.3 isn't binary
    compatible with 5.0.2 or prior (just did an upgrade here and had to get a new
    version of the module for ChartDirector, for example).

    If you have the source for the module, rebuild them, or get new binaries from
    whatever location provides them.

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • James Johnson

      #3
      Re: unable to load dynamic libraries

      On Mon, 20 Dec 2004 20:05:51 +0000, Andy Hassall <andy@andyh.co. uk> wrote:
      [color=blue]
      >On Mon, 20 Dec 2004 14:18:59 -0500, Jame Johnson <jj@yaaho.com > wrote:
      >[color=green]
      >>I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages:
      >>
      >>PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so
      >>
      >>I get the same messages for the 12 modules that I updated.
      >>
      >>In /usr/local/lib/php I have:
      >>
      >>drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412
      >>drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
      >>drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear
      >>
      >>Now much of php doesn't work. How do you fix this?[/color]
      >
      > What did you upgrade from?
      >
      > PHP 5 isn't binary compatible with PHP 4, and PHP 5.0.3 isn't binary
      >compatible with 5.0.2 or prior (just did an upgrade here and had to get a new
      >version of the module for ChartDirector, for example).
      >
      > If you have the source for the module, rebuild them, or get new binaries from
      >whatever location provides them.[/color]

      I ran:

      cvsup
      portsdb -Uu
      pkgdb -vuf
      portupgrade -v php5-session
      portupgrade -v php5-mysql
      ....etc...
      portupgrade -v php5


      Comment

      Working...