[syslog-ng] Problems compiling syslog-ng 2.0.6 on Solaris 10
Geller, Sandor (IT)
Sandor.Geller at morganstanley.com
Fri Sep 26 09:15:23 CEST 2008
Hi,
> Hi, I'm getting the following error while making syslog:
>
> [fhkfauaa at fhkfauaa ~/syslog-ng-2.0.6]$ make
> gmake all-recursive
> gmake[1]: Entering directory `/home/fhkfauaa/syslog-ng-2.0.6'
> Making all in src
> gmake[2]: Entering directory `/home/fhkfauaa/syslog-ng-2.0.6/src'
> gcc -g -O2 -Wall -o syslog-ng main.o libsyslog-ng.a
> -lpthread -lresolv -lnsl -lrt -lsocket -ldoor -Wl,-Bstatic
> -ll -Wl,-R/opt/local/lib -L/opt/local/lib -lglib-2.0 -lintl
> -liconv -L/usr/local/lib -levtlog -lwrap -Wl,-Bdynamic
> ld: fatal: library -ll: not found
> ld: fatal: File processing errors. No output written to syslog-ng
> collect2: ld returned 1 exit status
> gmake[2]: *** [syslog-ng] Error 1
> gmake[2]: Leaving directory `/home/fhkfauaa/syslog-ng-2.0.6/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/fhkfauaa/syslog-ng-2.0.6'
> gmake: *** [all] Error 2
>
> As far as I can see, it's not finding libl. Here are all the
> libl's on the system:
>
> [fhkfauaa at fhkfauaa ~/syslog-ng-2.0.6]$ find / -name libl.\*
> 2> /dev/null
> /usr/ccs/lib/amd64/libl.so
> /usr/ccs/lib/libl.so
> /usr/lib/amd64/libl.so
> /usr/lib/amd64/libl.so.1
> /usr/lib/libl.so
> /usr/lib/libl.so.1
> /usr/share/man/man3lib/libl.3lib
>
> Any ideas?
You're trying to compile libl into syslog-ng statically. If the static
archive (libl.a) isn't present than this will fail unless you swith to
dynamic linking ( use --enable-dynamic-linking )
BTW if you're compiling from source then why do you use an old version?
Regards,
Sandor
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
More information about the syslog-ng
mailing list