Possible problems with toplist installig on FreeBSD 5.x

Some users could have problems with installation of our scripts in FreeBSD 5.x, since distribution kits compiled under FreeBSD 4.x. If your server has not support libc library for 4 version of FreeBSD, you will see Internal Server Error message at startup of cgi-scripts. In apache error log you can found the following line:/usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found.


Problem solving:
Method 1.

You need to install libc support for 4th version of FreeBSD.


Method 2.

You need to create link /usr/lib/libc.so.4 to /usr/lib/libc.so.5 or just make copy of file /usr/lib/libc.so.5 => /usr/lib/libc.so.4

Execute the following command in root shell:

ln -s /usr/lib/libc.so.5 /usr/lib/libc.so.4


If this does not help, execute the following command:

ln -s /usr/lib/libc.so /usr/lib/libc.so.4