Anonymous | Login | 2024-04-26 13:05 CEST |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0005172 | [libcares2] packaging | minor | always | 2014-05-20 20:00 | 2016-04-07 21:47 | ||
Reporter | dsimonson | View Status | public | ||||
Assigned To | dam | ||||||
Priority | normal | Resolution | no change required | ||||
Status | closed | ||||||
Summary | 0005172: libcares.so link missing from libcares.so.2 (CSWlibcares2) so unable to link | ||||||
Description |
Building clamav 0.98.4 clamsubmit gets unresolved libraries. One is -lcares. ;ibcares.so.2 is present in /opt/csw/lib (from CSWlibcares2), but is not included because there is no libcares.so link. (This may be because of a CSWlibcares package?) Added link, library resolved properly by ld -bash-3.2# ls -l libcare* lrwxrwxrwx 1 root root 13 May 20 13:44 libcares.so -> libcares.so.2 lrwxrwxrwx 1 root root 17 Feb 10 09:30 libcares.so.2 -> libcares.so.2.0.0 -rwxr-xr-x 1 root bin 192152 Aug 30 2012 libcares.so.2.0.0 -bash-3.2# ls libc* |
||||||
Additional Information |
CCLD clamsubmit ld: fatal: library -lcares: not found ld: fatal: library -lrtmp: not found ld: fatal: library -lssh2: not found ld: fatal: library -llber: not found ld: fatal: file processing errors. No output written to .libs/clamsubmit *** Error code 1 The following command caused the error: echo " CCLD " clamsubmit;/bin/bash ../libtool --silent --tag=CC --mode=link gcc -I/opt/csw/include -g -O2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o clamsubmit output.o optparser.o getopt.o misc.o clamsubmit.o ../libclamav/libclamav.la -L/opt/csw/lib -lcurl -lcares -lidn -lrtmp -lssh2 -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz -lrt -lsocket -lnsl -lpthread make: Fatal error: Command failed for target `clamsubmit' Current working directory /var/tmp/clamav-0.98.4-rc1/clamsubmit *** Error code 1 The following command caused the error: fail= failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='libltdl libclamav clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests clamsubmit'; 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; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ || eval $failcom; \ 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 /var/tmp/clamav-0.98.4-rc1 *** Error code 1 make: Fatal error: Command failed for target `all' -bash-3.2# |
||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Notes | |
(0010837) dam (administrator) 2014-05-21 10:17 |
The library-package CSWlibcares2 contains just the runtime library libcares.so.2, to have the .so symlink you have to install the development package for that library CSWlibcares-dev. This is documented in the developers manual: ^] |
Copyright © 2000 - 2008 Mantis Group |