[syslog-ng] Static -ll Library Rq'd and Solaris 10

Dave Knoch dknoch at sircon.com
Tue Mar 7 19:50:46 CET 2006


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

*** Error code 1

The following command caused the error:

set fnord $MAKEFLAGS; amf=$2; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='. tests'; for subdir in $list; do \

  echo "Making $target in $subdir"; \

  if test "$subdir" = "."; then \

    dot_seen=yes; \

    local_target="$target-am"; \

  else \

    local_target="$target"; \

  fi; \

  (cd $subdir && make  $local_target) \

   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \

done; \

if test "$dot_seen" = "no"; then \

  make  "$target-am" || exit 1; \

fi; test -z "$fail"

make: Fatal error: Command failed for target `all-recursive'

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

*** Error code 1

make: Fatal error: Command failed for target `all'

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

*** Error code 1

The following command caused the error:

set fnord $MAKEFLAGS; amf=$2; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='src doc contrib'; for subdir in $list; do \

  echo "Making $target in $subdir"; \

  if test "$subdir" = "."; then \

    dot_seen=yes; \

    local_target="$target-am"; \

  else \

    local_target="$target"; \

  fi; \

  (cd $subdir && make  $local_target) \

   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \

done; \

if test "$dot_seen" = "no"; then \

  make  "$target-am" || exit 1; \

fi; test -z "$fail"

make: Fatal error: Command failed for target `all-recursive'

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060307/6d6d8cdc/attachment-0001.htm


More information about the syslog-ng mailing list