you have to build everything dynamic on Solaris 10

"./configure --enable-full-dynamic <other options> ..."

regards
Jochen
2006/3/7, Dave Knoch < dknoch@sircon.com>:

I'm attempting to install syslog-ng 1.6.9 on Solaris 10 and am receiving this error:

gcc  -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE   -o syslog-ng  main.o sources.o center.o  filters.o destinations.o log.o  cfgfile.o cfg-grammar.o cfg-lex.o  affile.o afsocket.o afunix.o  afinet.o afinter.o afuser.o  afstreams.o afprogram.o afremctrl.o  nscache.o utils.o syslog-names.o  macros.o  -lpthread -lnsl -lsocket -ldoor -lresolv  /usr/local/lib/libol.a -lsocket -lnsl -lxnet -Wl,-Bstatic -ll     -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

*** Error code 1

make: Fatal error: Command failed for target `syslog-ng'

Current working directory /tmp/syslog-ng-1.6.9+20051127/src

....  

It appears to be caused by the absence of a static –ll library.  Unfortunately, Sun no longer includes static Solaris libraries with Solaris 10.  Has anyone discovered a workaround for this situation?  Thank you.

 

Dave Knoch

 


_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html