• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Unable to load dynamic Library

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 954 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Druplex
    last edited by May 19, 2020, 9:35 AM

    [19-May-2020 09:24:23 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20170718/readline.so (Shared object "libreadline.so.7" not found, required by "readline.so"), /usr/local/lib/php/20170718/readline.so.so (/usr/local/lib/php/20170718/readline.so.so: invalid file format)) in Unknown on line 0

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by May 19, 2020, 12:53 PM

      Hi,

      What pfSense version ?
      Did you install something lately ?

      See also the many other "so.so" forum messages.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      D 1 Reply Last reply May 19, 2020, 6:39 PM Reply Quote 0
      • D
        Druplex @Gertjan
        last edited by May 19, 2020, 6:39 PM

        @Gertjan am on 2.4.4-p3, i had upgraded to 2.4.5 but gave me the same same error so i just reverted back and the error is still on.
        And nop, i have not installed anything off late. the pfsense box only has one active open vpn service.

        G 1 Reply Last reply May 20, 2020, 6:20 AM Reply Quote 0
        • G
          Gertjan @Druplex
          last edited by May 20, 2020, 6:20 AM

          @Druplex said in Unable to load dynamic Library:

          @Gertjan am on 2.4.4-p3, i had upgraded to 2.4.5 but gave me the same same error so i just reverted back and the error is still on.

          Ok.
          Packages were updated / upgraded to support 2.4.5 and PHP dependencies.
          You can't upgrade packages using and 'old' version of pfSense like 2.4.4-p3 if a 2.4.5 exists, as the package could actually need (example) PHP 7.2.b) while pfSense 2.4.4-p3 is using 7.2.a.
          There will be a PHP library version mismatch. That what you are seeing.

          Normally, when you upgrade pfSense, you don't stop there.
          The list with installed packages will also get updated, and show you if any packages should be upgraded. At that moment, these upgrade might not be optional, as they could use old (PHP) libraries, and pfSense just replaced them with more recent ones. This explains the error you saw.
          Just finish upgrading, and all will be fine.

          Downgrading pfSense will not help here.

          Golden rule : Do not install/upgrade (use ?) packages any more as soon as a new version of pfSense comes out and you decide to stay on the old version.
          That is : closely observe what sub packages, like PHP, get installed with it them. Some will work on neraly any version of pfSense, some use a lot of shared resources with the OS or other pfSense core files, and need to get upgraded - at least re installed.

          See Netgate release notes. Netgate's upgrade video and the huge quantity of forum posts about the subject.

          Keep in mind : most packages are created by people like you and me. Package maintainers should only have to support their package using the latest pfSense version. No one want to make a package installable on all kind of recent and ancient pfSense version (like Microsoft doesn't support his older versions neither, it's just to much of o job).

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received