Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: gerald_clark on June 29, 2011, 12:57:57 PM
-
lighttpd depends on ncurses.
-
Added to dep file.
-
Thanks.
-
Why does it require ncurses? None of the binaries have a dependency on it, and I could find no reference to ncurses in the source.
-
run 'ldd /usr/local/sbin/lighttpd' and you will see that it requires libncurses.so.5.
-
I did exactly that, with the lighttpd.tcz currently in the repository:
tc@box:~$ ldd /usr/local/sbin/lighttpd
linux-gate.so.1 => (0xb77c1000)
libpcre.so.0 => not found
libdl.so.2 => /lib/libdl.so.2 (0xb77b6000)
libssl.so.0.9.8 => /usr/local/lib/libssl.so.0.9.8 (0xb776e000)
libcrypto.so.0.9.8 => /usr/local/lib/libcrypto.so.0.9.8 (0xb7623000)
libfam.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0xb74df000)
/lib/ld-linux.so.2 (0xb77c2000)
Check the md5 sum of your .tcz and make sure it matches the repository. The MySQL-based vhosting module (lighttpd-mysql.tcz) depends on mysql, which in turn depends on ncurses, but the current lighttpd binary does not.
-
On second thought, libpcre depends on readline, which should have ncurses as a dependency, but does not. I checked my email when submitting the readline extension in May 2010, and I did not include the .dep file.
Jason, please put the ncurses dependency in readline.tcz.dep instead. Readline was apparently updated to 6.2 in February, and I did not notice. I will rebuild and issue a proper update soon.
-
Ok, ncurses.tcz dependency moved to readline.tcz.dep.
-
Gerald, please confirm if that fixes your issue.
-
readline.tcz.dep has not been updated as seen from AppBrowser "Depends" tab.
-
The dep file was updated and would have drawn in ncurses.tcz as a dep, but the tree file was not, and the tree file is what appbrowser gets it's info for the depends tab but it does not use it to solve dependencies. The tree file is now updated.
-
Yes it works now.
It is necessary to remove and re-install readline.
Readline had no dep file, and neither tce-update nor AppsAudit can deal with this.