[syslog-ng] Installation Error
Gergely Nagy
algernon at madhouse-project.org
Sat Jul 28 10:50:53 CEST 2012
kibirango moses <kibsmoses at gmail.com> writes:
> Hullo users,
>
> I am installing syslog-ng ver.3.3.5 on slackware linux 13.1 and i am
> getting the errors below, when i do a make
>
> usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld:
> /usr/local/lib64/libssl.a(s23_srvr.o): relocation R_X86_64_32 against
> `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/local/lib64/libssl.a: could not read symbols: Bad value
>
> Could somebody helpme with a fix to the problem
I assume you're compiling syslog-ng with the default flags, right? In
that case, it will try to link a shared library to libssl, and for one
reason or the other, it ends up trying to link with libssl.a, the static
version of it.
You can't link a static lib into a shared one, unless the static was
compiled with -fPIC.
The solution is either to compile a shared version of libssl too, and
make sure syslog-ng uses that (it should, by default), or disable ssl
support with --disable-ssl, to stop syslog-ng from linking with libssl.
--
|8]
More information about the syslog-ng
mailing list