PHP errors on accessing box via ssh on NanoBSD



  • 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



  • @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



  • Problem gone for me with snap from 1/10…



  • @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



  • 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…



  • 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


  • Rebel Alliance Developer Netgate

    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.



  • I have only 2 packages installed:
    Backup
    blinkled


  • Rebel Alliance Developer Netgate

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

    Is this still happening for you on current snapshots?



  • Problem vanished long time ago. At least for me…

    Also have Backup in my package list...


  • Rebel Alliance Developer Netgate

    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.



  • @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



  • 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


  • Rebel Alliance Developer Netgate

    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.


Log in to reply