[syslog-ng] Missing libraries when trying to compile 3.0

Tim Boyer tim at denmantire.com
Thu Feb 12 14:54:12 CET 2009


Liam -

Hmmm.  Can't believe I've never run into this before!  Thanks much...

-- tim --


>
> 
> Tim,
> 
> Make sure /usr/local/lib is listed somewhere in 
> /etc/ld.so.conf.d/* (or
> wherever ld path is defined on your system)
> Add it if it's not.
> 
> Then run ldconfig.
> 
> Liam
> 
> Tim Boyer wrote:
> > I'm trying to get 3.0 going - I'm running 2.2.6 currently. 
> configure says
> > I'm missing some libraries:
> >
> > ./configure
> > ...
> > checking for static OpenSSL libraries... no
> > configure: error: static OpenSSL libraries not found (libssl.a and
> > libcrypto.a), either link OpenSSL statically using the
> > --enable-dynamic-linking, or install a static OpenSSL
> > [root at princeton syslog-ng-3.0.1]# 
> >
> > ...but the libraries are there:
> >
> > [root at princeton syslog-ng-3.0.1]# locate libssl.a libcrypto.a    
> > /usr/lib/libcrypto.a
> > /usr/lib/libssl.a
> > /usr/lib64/libcrypto.a
> > /usr/lib64/libssl.a
> >
> > However, I used the --enable-dynamic-linking for the configure.  It
> > configured and compiled just fine.
> >
> > When I went to run, I got this:
> >
> > [root at princeton syslog-ng-3.0.1]# service syslog-ng start
> > Starting system logger: /usr/local/sbin/syslog-ng: error 
> while loading
> > shared libraries: libevtlog.so.0: cannot open shared object 
> file: No such
> > file or directory
> >                                                            [FAILED]
> >
> > even though _those_ libraries are there:
> >
> > [root at princeton syslog-ng-3.0.1]# ls -la /usr/local/lib/libevtlog.*
> > -rw-r--r-- 1 root root 65048 Feb 11 11:50 /usr/local/lib/libevtlog.a
> > -rwxr-xr-x 1 root root   822 Feb 11 11:50 
> /usr/local/lib/libevtlog.la
> > lrwxrwxrwx 1 root root    18 Feb 11 11:50 
> /usr/local/lib/libevtlog.so ->
> > libevtlog.so.0.0.0
> > lrwxrwxrwx 1 root root    18 Feb 11 11:50 
> /usr/local/lib/libevtlog.so.0 ->
> > libevtlog.so.0.0.0
> > -rwxr-xr-x 1 root root 45369 Feb 11 11:50 
> /usr/local/lib/libevtlog.so.0.0.0
> >
> > I'm not sure where to go from here - pointers in the right 
> direction greatly
> > appreciated.
> >
> >   
> 
> -- 
> Liam Kirsher
> PGP: http://liam.numenet.com/pgp/
> 
> ______________________________________________________________
> ________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: 
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html



More information about the syslog-ng mailing list