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

    PHP errors on accessing box via ssh on NanoBSD

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    14 Posts 4 Posters 5.1k 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.
    • J
      jlepthien
      last edited by

      Hi there,

      after updating to the latest snap of 1/8 today I saw the following error appear.
      When connecting via ssh I see the following warnings above the menu:

      PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/spl.so' - /usr/local/lib/php/20060613/spl.so: Shared object has no run-time symbol table in Unknown on line 0
      PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol "spl_ce_Countable" in Unknown on line 0
      PHP Warning:  Cannot load module 'PDO' because required module 'spl' is not loaded in Unknown on line 0
      
      

      Anyone knows why this is?

      Thanks

      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

      1 Reply Last reply Reply Quote 0
      • P
        ppomes
        last edited by

        @jlepthien:

        Anyone knows why this is?

        Thanks

        Hi,

        I got a similar message:

        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object "libsasl2.so.2" not found, required by "libldap-2.4.so.7" in Unknown on line 0

        This happened after uninstalling squid.

        Hum.. Package removal seems to cause some dynamic linking problems…

        Pierre

        1 Reply Last reply Reply Quote 0
        • J
          jlepthien
          last edited by

          Problem gone for me with snap from 1/10…

          | apple fanboy | music lover | network and security specialist | in love with cisco systems |

          1 Reply Last reply Reply Quote 0
          • P
            ppomes
            last edited by

            @jlepthien:

            Problem gone for me with snap from 1/10…

            Hi !

            Yes, because snapshot upgrade re-installs missing files.

            An issue is opened in redmine : http://redmine.pfsense.org/issues/875

            Thanks,
            Pierre

            1 Reply Last reply Reply Quote 0
            • J
              jlepthien
              last edited by

              Now I had this again with the newest snap of 1/10. Slightly different:

              PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/pdo.so' - /usr/local/lib/php/20060613/pdo.so: Shared object has no run-time symbol table in Unknown on line 0
              

              I havn't got installed squid though. Only avahi, shellcmd, backup, rrd summary, unbound and nmap are installed…

              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                I have the same problem with the last snapshot (Wed Jan 19 22:20:59 EST 2011 )

                PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mbstring.so' - /usr/local/lib/php/20060613/mbstring.so: Shared object has no run-time symbol table in Unknown on line 0

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  What packages do you have installed?

                  I've updated a couple VMs to today's snapshot and I have mbstring.so and it's the same date/time as the other files, on both amd64 and i386.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • ?
                    Guest
                    last edited by

                    I have only 2 packages installed:
                    Backup
                    blinkled

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Hmm. Neither of those would have done anything with PHP dependencies.

                      Is this still happening for you on current snapshots?

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • J
                        jlepthien
                        last edited by

                        Problem vanished long time ago. At least for me…

                        Also have Backup in my package list...

                        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          I installed those two packages and updated and I still see no errors.

                          Must be something local doing it, might need to reflash the card as a test.

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest
                            last edited by

                            @jimp:

                            Hmm. Neither of those would have done anything with PHP dependencies.

                            Is this still happening for you on current snapshots?

                            Problem solved for me with the last snapshot (Sun Jan 23 11:28:32 EST 2011 )
                            PS = unexpectedly it removed snort… Not a big problem, i will re-install it ;)

                            Thanks for now

                            1 Reply Last reply Reply Quote 0
                            • ?
                              Guest
                              last edited by

                              Ooops, again error on shell with version built on Mon Feb 7 01:59:11 EST 2011

                              [root@simons kernel26]# ssh root@10.0.0.1                                                                                                                                         
                              Password:                                                                                                                                                                         
                              /libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.2 required by /usr/local/bin/php not defined

                              Packages installed:
                              blinkled
                              Backup
                              snort

                              And than, when i update to the new snapshot i can't see snort. I must re-install mysql-client and than re-install snort again from web

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                That error is likely from removing and reinstalling snort. If the package upgrade worked as expected, it would probably be fine. But since snort doesn't install cleanly, it bombs.

                                Once the maintainer of the snort package fixes the problems there, it the errors will probably stop.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.