Results 1 to 5 of 5

Thread: php-fcgi error: Unable to load dynamic library

  1. #1

    Question php-fcgi error: Unable to load dynamic library

    Hi,

    I tried to setup torrentflux-b4rt by following the tutorial at http://wl500g.info/showthread.php?t=8197&page=2 and http://www.nslu2-linux.org/wiki/HowTo/BitTorrent.

    When i tried to start lighttpd by running "/opt/sbin/lighttpd -f /opt/etc/lighttpd/torrent-flux.conf", i got the following errors about being unable to load some dynamic libraries.

    I get the same error message when i execute "php-fcgi" direct:

    [root@(none) MYVOLUME1]$ php-fcgi
    PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lib/php/extensions/dba.so' - File not found in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lib/php/extensions/xsl.so' - File not found in Unknown on line 0

    I checked /opt/lib/php/extensions/ - dba.so & xsl.so are all there, along with a host of others.

    Could anyone enlighten me what I'm doing wrong?

    thanks in advance!
    Patrick

  2. #2
    Hi all,

    After trial & error loading a couple of packages like libxslt and force re-installing lighttpd php php-fcgi sqlite2 python, I was able to start the server and complete the setup successfully.

    However when I completed, I was re-directed to a blank page (login.php) when it should actually be showing me the user/password login screen.

    I restarted the router and restarted lighttpd and accessed login.php with the same results. I tried hitting admin.php and it redirected me to login.php with again a blank page.

    Did I miss something? I read that SOLLIE had the same problem, anyone could help?

    Thanks.
    Patrick

  3. #3
    I did a re-install of all the packages for torrentflux, re-did the setup to complete all the database and stuff but came to the same empty login page.

    Anyone could help?

    Thanks!!!!

  4. #4
    Quote Originally Posted by patrickquek View Post
    I did a re-install of all the packages for torrentflux, re-did the setup to complete all the database and stuff but came to the same empty login page.

    Anyone could help?

    Thanks!!!!
    Managed to solve this problem after trial & error!

    For the database name, i used 'localhost' instead of leaving it empty.

    Make sure you uncheck "Create a new database".

    I checked "Persistent connection".

    cheers,
    Patrick

  5. #5
    I am sorry, but it did not fix the problem for me.

    Sollie.

Similar Threads

  1. php on asus wl700ge
    By Duvelske in forum WL-700g Q&A
    Replies: 2
    Last Post: 06-09-2006, 20:10
  2. Installed lighttpd - missing library
    By zainka in forum WL-500g Q&A
    Replies: 0
    Last Post: 01-06-2006, 13:01
  3. Replies: 0
    Last Post: 09-03-2006, 10:17
  4. can't load library 'libncurses.so.5'
    By gwl in forum WL-500g Q&A
    Replies: 1
    Last Post: 23-10-2005, 03:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •