Pages: [1]   Go Down
Author Topic: Lighttpd  (Read 5671 times)
nsn
Newbie
*
Offline Offline

Posts: 46


View Profile
« on: March 22, 2007, 12:53:08 PM »

I've trouble installing lighttpd. If i follow the tutorial, i'm getting:

lighttpd: can't load library 'libcrypto.so.0.9.8'

Who can help me out (RC6) ?
Logged

macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,116



View Profile
« Reply #1 on: March 22, 2007, 13:03:33 PM »


Code:
ipkg install libopenssl
Logged

nsn
Newbie
*
Offline Offline

Posts: 46


View Profile
« Reply #2 on: March 22, 2007, 13:15:55 PM »

Macsat, It was installed... However i use /opt. But also the optlibs.sh.
The missing library doesn't exist anywhere. Any suggestions ?

root@OpenWrt:~# ipkg -d opt install libopenssl
Package libopenssl (0.9.8d-1) installed in root is up to date.
Nothing to be done
Successfully terminated.
Logged

macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,116



View Profile
« Reply #3 on: March 22, 2007, 13:51:27 PM »


Try give me output of :
Code:
ls -la /opt/usr/lib |grep crypto
Logged

nsn
Newbie
*
Offline Offline

Posts: 46


View Profile
« Reply #4 on: March 22, 2007, 14:30:05 PM »

I removed PHP5 and libopenss. Probably libopenssl was not installed correctly. At this moment i'm getting following error. Has it anything todo with RC6 versus RC5 ? 

sh S80lighttpd start
2007-03-22 14:22:54: (plugin.c.165) dlopen() failed for: /usr/lib/mod_indexfile.so File not found
2007-03-22 14:22:54: (server.c.583) loading plugins finally failed
Logged

macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,116



View Profile
« Reply #5 on: March 22, 2007, 15:24:13 PM »


Looks like php module you are missing, or have placed in some other location than /usr/lib/

I cant see any index module though.

Try to find mod_indexfile.so in the php.ini file and comment that line out.
Logged

nsn
Newbie
*
Offline Offline

Posts: 46


View Profile
« Reply #6 on: March 22, 2007, 15:47:47 PM »

I found this... http://forum.openwrt.org/viewtopic.php?id=8153

Is this the problem ?!
Logged

macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,116



View Profile
« Reply #7 on: March 22, 2007, 15:50:29 PM »

Yes, it could be that this is the solution, if you have installed lighttpd to /opt, this is probably what you need:

Code:
ln -s /opt/usr/lib/lighttpd/mod_indexfile.so /usr/lib/mod_indexfile.so
ln -s /opt/usr/lib/lighttpd/mod_dirlisting.so /usr/lib/mod_dirlisting.so
ln -s /opt/usr/lib/lighttpd/mod_staticfile.so /usr/lib/mod_staticfile.so
Logged

nsn
Newbie
*
Offline Offline

Posts: 46


View Profile
« Reply #8 on: March 22, 2007, 16:49:12 PM »

Hello Macsat,

Yes i think so but'also at /opt/usr/lib the libs are not there.... see my dirlisting:

ipkg                   libpng.so.3            libxml2.so.2.6.20
libcrypto.so.0.9.8     libpng.so.3.0.0        libz.so.1
libgd.so.2             libpng12.so.0          libz.so.1.2.2
libgd.so.2.0.0         libpng12.so.0.0.0      lighttpd
libjpeg.so.62.0.0      libsmb.so              mod_cgi.so
libpcre.so.0           libsqlite.so.0         mod_simple_vhost.so
libpcre.so.0.0.1       libsqlite.so.0.8.6     mod_status.so
libpcreposix.so.0      libsqlite3.so.0.8.6    php
libpcreposix.so.0.0.0  libssl.so.0.9.8        sftp-server
 Sad
Logged

jordipujol
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #9 on: April 20, 2007, 10:06:30 AM »

I have found also the same problem, and my installation is over the / root filesystem.
Observe that: the package lighttpd contains the libraries, but ipkg does not install them,

Decompress the package and copy the files to /usr/lib/lighttpd,
after create the links

ln -s /usr/lib/lighttpd/mod_indexfile.so /usr/lib/mod_indexfile.so
ln -s /usr/lib/lighttpd/mod_dirlisting.so /usr/lib/mod_dirlisting.so
ln -s /usr/lib/lighttpd/mod_staticfile.so /usr/lib/mod_staticfile.so
Logged

Pages: [1]   Go Up
Print
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Theme Kani By Fussilet

Page created in 0.18 seconds with 20 queries.