John Goubeaux wrote:
> Has anyone done a successful build of  clamAV-0.95 0n Solaris 10 x86 ?
> 
> I have not been able to get a version greater than 0.92.1 on Solaris 10 
> x86  to build to date, and am
> wondering what changed after 0.92.1 that is giving me the problem.
> 
> 
> ./configure --sysconfdir=/etc
> checking build system type... i386-pc-solaris2.10
> .....
> 
> no errors
> 
> gmake
> .....
> 
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> gmake[4]: *** [libclamav.la] Error 1
> gmake[4]: Leaving directory `/export/home/john/src/clamav-0.95/libclamav'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/export/home/john/src/clamav-0.95/libclamav'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/export/home/john/src/clamav-0.95/libclamav'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/john/src/clamav-0.95'
> gmake: *** [all] Error 2
> 

I have Sol 10 running as a VMware virtual machine on my Mac laptop. I had to dl 
the Sun Studio 12 compiler so the environment is a bit different here. Anyway, 
I 
ran through the build and install without problems.

Compiler: Sun Studio 12
Library path (via crle)
crle

Configuration file [version 4]: /var/ld/ld.config
   Default Library Path (ELF):   /usr/lib:/usr/local/lib
   Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

Command line:
   crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib


clam configure script:
./configure --prefix=/usr/local \
  --enable-bigstack \
  --disable-clamuko \
  --with-user=clamav \
  --with-group=clamav \
  --with-dbdir=/usr/local/share/clamav \
  --disable-zlib-vcheck && make

Sun OS version:
uname -a
SunOS cycle24 5.10 Generic_137138-09 i86pc i386 i86pc

VMware Fusion 2.0.2

dp

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to