PDA

Bekijk de volledige versie : php-fcgi error: Unable to load dynamic library



patrickquek
14-04-2007, 17:37
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

patrickquek
16-04-2007, 07:29
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

patrickquek
16-04-2007, 15:45
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!!!!

patrickquek
19-04-2007, 16:58
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

sollie
19-04-2007, 19:26
I am sorry, but it did not fix the problem for me.

Sollie.