Hi René 

Here some output from the commands,.. but its still the same :-(



# LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/lib
./configure --prefix=/var/amavis/clamd
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
creating target.h - canonical system defines
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking how to recognise dependant libraries... pass_all
checking for egrep... egrep
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) no
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... yes
checking sys/int_types.h presence... yes
checking for sys/int_types.h... yes
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for bind in -lsocket... yes
checking for gethostent in -lnsl... yes
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... no
checking for strlcpy... yes
checking for strlcat... yes
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether snprintf correctly terminates long strings... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for zlib installation... /usr
checking for inflateEnd in -lz... yes
checking for bzReadOpen in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for __dn_expand in -lresolv... no
checking for dn_expand in -lresolv... yes
checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h:     check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h:     section "Present But Cannot Be Compiled"
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for resolv.h... yes
checking whether setpgrp takes no argument... yes
checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... FAILED
configure: WARNING: curl-config was not found
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_accrights field in struct msghdr... yes
checking for msg_control field in struct msghdr... no
checking for gethostbyname_r... yes, and it takes 5 arguments
checking for readdir_r... support disabled
checking for ctime_r... yes, and it takes 3 arguments
checking for clamav in /etc/passwd... yes, user clamav and group clamav
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... yes
checking for structure packing via __attribute__((packed))... yes
checking for fd_set... yes, found in sys/types.h
checking default FD_SETSIZE value... 1024
configure: creating ./config.status
config.status: creating libclamav/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamdscan/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating clamav-config.h
config.status: clamav-config.h is unchanged
config.status: executing depfiles commands
#


Then the make the last lines !

is_tar.o >/dev/null 2>&1
mv -f .libs/is_tar.lo is_tar.lo
if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I..
-I.. -I./zziplib -I./mspack     -g -O2 -MT tnef.lo -MD -MP -MF
".deps/tnef.Tpo" -c -o tnef.lo tnef.c; \
then mv -f ".deps/tnef.Tpo" ".deps/tnef.Plo"; else rm -f ".deps/tnef.Tpo";
exit 1; fi
rm -f .libs/tnef.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -MT
tnef.lo -MD -MP -MF .deps/tnef.Tpo -c tnef.c  -fPIC -DPIC -o .libs/tnef.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -MT
tnef.lo -MD -MP -MF .deps/tnef.Tpo -c tnef.c -o tnef.o >/dev/null 2>&1
mv -f .libs/tnef.lo tnef.lo
/bin/bash ../libtool --mode=link gcc  -g -O2   -lsocket -lnsl -o
libclamav.la -rpath /var/amavis/clamd/lib -thread-safe -version-info 1:12:0
-no-undefined matcher-ac.lo matcher-bm.lo matcher.lo  md5.lo others.lo
readdb.lo cvd.lo dsig.lo str.lo scanners.lo  filetypes.lo unrarlib.lo
zzip-dir.lo zzip-err.lo zzip-file.lo  zzip-info.lo zzip-io.lo zzip-stat.lo
zzip-zip.lo strc.lo  blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo
table.lo  text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo  cabd.lo
lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo  chmunpack.lo
rebuildpe.lo petite.lo fsg.lo line.lo untar.lo  special.lo binhex.lo
is_tar.lo tnef.lo -lz -lbz2 -lgmp -lpthread -lsocket -lnsl
rm -fr .libs/libclamav.la .libs/libclamav.* .libs/libclamav.*
/usr/ccs/bin/ld -G -z defs -h libclamav.so.1 -o .libs/libclamav.so.1.0.12
matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo
dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo zzip-dir.lo zzip-err.lo
zzip-file.lo zzip-info.lo zzip-io.lo zzip-stat.lo zzip-zip.lo strc.lo
blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo text.lo
ole2_extract.lo vba_extract.lo msexpand.lo pe.lo cabd.lo lzxd.lo mszipd.lo
qtmd.lo system.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo
fsg.lo line.lo untar.lo special.lo binhex.lo is_tar.lo tnef.lo
-R/usr/local/lib -R/usr/local/lib  -lz -lbz2 /usr/local/lib/libgmp.so
-lpthread -lsocket -lnsl -lc
Undefined                       first referenced
 symbol                             in file
BZ2_bzRead                          scanners.lo
BZ2_bzReadOpen                      scanners.lo
BZ2_bzReadClose                     scanners.lo
ld: fatal: Symbol referencing errors. No output written to
.libs/libclamav.so.1.0.12
*** Error code 1
make: Fatal error: Command failed for target `libclamav.la'
Current working directory /usr/local/packages/clamav-0.85.1/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/packages/clamav-0.85.1
*** Error code 1
make: Fatal error: Command failed for target `all'












-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of René Berber
Sent: Sonntag, 22. Mai 2005 01:27
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] Re: sol8 compile problem

Cocoon wrote:

> # gcc -print-prog-name=ld
> /usr/ccs/bin/ld

Good.

> # crle -v
> 
> Default configuration file (/var/ld/ld.config) not found
>   Default Library Path (ELF):   /usr/lib  (system default)
>   Trusted Directories (ELF):    /usr/lib/secure  (system default)

This is normal, it's the Solaris default.

So your environment is OK.  We still don't know what library is missing, you
could try something like this:

LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/lib
./configure
--prefix=/var/amavis/clamd

(it's all in one line) and see if there are any missing libraries, there
will be
a line that says so.
-- 
René Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to