Loading ...
Sorry, an error occurred while loading the content.

nginx borked after pcre upgrade on unslung

Expand Messages
  • mick_nslu2
    I ve upgraded pcre over the weekend and just noticed that nginx won t run. Trying to start it I get: Starting web server: nginx /opt/sbin/nginx: error while
    Message 1 of 4 , Feb 22, 2012
    • 0 Attachment
      I've upgraded pcre over the weekend and just noticed that nginx won't run. Trying to start it I get:

      Starting web server: nginx
      /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory


      I've reinstalled nginx in the hope of rebuilding any dependencies but the error remains. :-(

      Should I be creating some symlink by hand, or is this a bug?


      # ls -la /opt/lib/libpcre*
      lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so -> libpcre.so.1.0.0
      lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so.1 -> libpcre.so.1.0.0
      -rwxr-xr-x 1 root root 136156 Feb 21 22:55 /opt/lib/libpcre.so.1.0.0
      lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0
      lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
      -rwxr-xr-x 1 root root 32576 Feb 21 22:55 /opt/lib/libpcrecpp.so.0.0.0
      lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
      lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
      -rwxr-xr-x 1 root root 5760 Feb 21 22:55 /opt/lib/libpcreposix.so.0.0.0


      # cat /.unslung
      V2.3R63-uNSLUng-6.10-beta

      --
      Regards,
      Mick
    • mick_nslu2
      ... I forgot to mention, this is the pcre version that I upgraded to: # ipkg info pcre Package: pcre Version: 8.30-1 Depends: libstdc++ Status: deinstall user
      Message 2 of 4 , Feb 22, 2012
      • 0 Attachment
        --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@...> wrote:
        >
        > I've upgraded pcre over the weekend and just noticed that nginx won't run. Trying to start it I get:
        >
        > Starting web server: nginx
        > /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
        >
        >
        > I've reinstalled nginx in the hope of rebuilding any dependencies but the error remains. :-(
        >
        > Should I be creating some symlink by hand, or is this a bug?
        >
        >
        > # ls -la /opt/lib/libpcre*
        > lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so -> libpcre.so.1.0.0
        > lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so.1 -> libpcre.so.1.0.0
        > -rwxr-xr-x 1 root root 136156 Feb 21 22:55 /opt/lib/libpcre.so.1.0.0
        > lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0
        > lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
        > -rwxr-xr-x 1 root root 32576 Feb 21 22:55 /opt/lib/libpcrecpp.so.0.0.0
        > lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
        > lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
        > -rwxr-xr-x 1 root root 5760 Feb 21 22:55 /opt/lib/libpcreposix.so.0.0.0
        >
        >
        > # cat /.unslung
        > V2.3R63-uNSLUng-6.10-beta


        I forgot to mention, this is the pcre version that I upgraded to:

        # ipkg info pcre
        Package: pcre
        Version: 8.30-1
        Depends: libstdc++
        Status: deinstall user installed
        Section: util
        Architecture: armeb
        Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
        MD5Sum: c510a96445b0dcdc6ae1d0bc0c9f6088
        Size: 233733
        Filename: pcre_8.30-1_armeb.ipk
        Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2
        Description: Perl-compatible regular expression library
        Installed-Size: 933456

        --
        Regards,
        Mick
      • Brian
        Sorry about the breakage. Should be fixed now. -Brian
        Message 3 of 4 , Feb 24, 2012
        • 0 Attachment
          Sorry about the breakage.

          Should be fixed now.

          -Brian

          --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@...> wrote:
          >
          >
          >
          >
          >
          > --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@> wrote:
          > >
          > > I've upgraded pcre over the weekend and just noticed that nginx won't run. Trying to start it I get:
          > >
          > > Starting web server: nginx
          > > /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
          > >
          > >
          > > I've reinstalled nginx in the hope of rebuilding any dependencies but the error remains. :-(
          > >
          > > Should I be creating some symlink by hand, or is this a bug?
          > >
          > >
          > > # ls -la /opt/lib/libpcre*
          > > lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so -> libpcre.so.1.0.0
          > > lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so.1 -> libpcre.so.1.0.0
          > > -rwxr-xr-x 1 root root 136156 Feb 21 22:55 /opt/lib/libpcre.so.1.0.0
          > > lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0
          > > lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
          > > -rwxr-xr-x 1 root root 32576 Feb 21 22:55 /opt/lib/libpcrecpp.so.0.0.0
          > > lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
          > > lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
          > > -rwxr-xr-x 1 root root 5760 Feb 21 22:55 /opt/lib/libpcreposix.so.0.0.0
          > >
          > >
          > > # cat /.unslung
          > > V2.3R63-uNSLUng-6.10-beta
          >
          >
          > I forgot to mention, this is the pcre version that I upgraded to:
          >
          > # ipkg info pcre
          > Package: pcre
          > Version: 8.30-1
          > Depends: libstdc++
          > Status: deinstall user installed
          > Section: util
          > Architecture: armeb
          > Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
          > MD5Sum: c510a96445b0dcdc6ae1d0bc0c9f6088
          > Size: 233733
          > Filename: pcre_8.30-1_armeb.ipk
          > Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2
          > Description: Perl-compatible regular expression library
          > Installed-Size: 933456
          >
          > --
          > Regards,
          > Mick
          >
        • mick_nslu2
          Hi Brian, All works fine with nginx now. Thanks! :-)
          Message 4 of 4 , Feb 25, 2012
          • 0 Attachment
            Hi Brian,

            All works fine with nginx now.

            Thanks! :-)



            --- In nslu2-linux@yahoogroups.com, "Brian" <b88zhou@...> wrote:
            >
            > Sorry about the breakage.
            >
            > Should be fixed now.
            >
            > -Brian
            >
            > --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@> wrote:
            > >
            > >
            > >
            > >
            > >
            > > --- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@> wrote:
            > > >
            > > > I've upgraded pcre over the weekend and just noticed that nginx won't run. Trying to start it I get:
            > > >
            > > > Starting web server: nginx
            > > > /opt/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
            > > >
            > > >
            > > > I've reinstalled nginx in the hope of rebuilding any dependencies but the error remains. :-(
            > > >
            > > > Should I be creating some symlink by hand, or is this a bug?
            > > >
            > > >
            > > > # ls -la /opt/lib/libpcre*
            > > > lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so -> libpcre.so.1.0.0
            > > > lrwxrwxrwx 1 root root 16 Feb 22 07:11 /opt/lib/libpcre.so.1 -> libpcre.so.1.0.0
            > > > -rwxr-xr-x 1 root root 136156 Feb 21 22:55 /opt/lib/libpcre.so.1.0.0
            > > > lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0
            > > > lrwxrwxrwx 1 root root 19 Feb 22 07:11 /opt/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
            > > > -rwxr-xr-x 1 root root 32576 Feb 21 22:55 /opt/lib/libpcrecpp.so.0.0.0
            > > > lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so -> libpcreposix.so.0.0.0
            > > > lrwxrwxrwx 1 root root 21 Feb 22 07:11 /opt/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0
            > > > -rwxr-xr-x 1 root root 5760 Feb 21 22:55 /opt/lib/libpcreposix.so.0.0.0
            > > >
            > > >
            > > > # cat /.unslung
            > > > V2.3R63-uNSLUng-6.10-beta
            > >
            > >
            > > I forgot to mention, this is the pcre version that I upgraded to:
            > >
            > > # ipkg info pcre
            > > Package: pcre
            > > Version: 8.30-1
            > > Depends: libstdc++
            > > Status: deinstall user installed
            > > Section: util
            > > Architecture: armeb
            > > Maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
            > > MD5Sum: c510a96445b0dcdc6ae1d0bc0c9f6088
            > > Size: 233733
            > > Filename: pcre_8.30-1_armeb.ipk
            > > Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2
            > > Description: Perl-compatible regular expression library
            > > Installed-Size: 933456
            > >
            > > --
            > > Regards,
            > > Mick
            > >
            >
          Your message has been successfully submitted and would be delivered to recipients shortly.