On Fri, Jan 27, 2012 at 03:50:38PM +0300, Hery Fanomezantsoa wrote:
Hello I installed syslog-ng-3.3.1 from source on debian lenny. And when I start it, it says "error while loading shared librairies: libsyslog-ng-3.3.1.so: cannot open shared object file: No such file or directory" though this file is in /usr/local/syslog-ng/lib/libsyslog-ng-3.3.1.so Either put /usr/local/syslog-ng/lib/ into the env variable LD_LIBRARY_PATH before running or into /etc/ld.so.conf and run ldconfig.
I recommend the first one: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/syslog-ng/lib/ /usr/local/syslog-ng/sbin/syslog-ng <opts> for testing and putting the following lines to the beginnning of init script, to let it work properly: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/syslog-ng/lib/ export LD_LIBRARY_PATH -- Pal Tamas/Folti folti@balabit.hu