« Return to Thread: Problem compiling 0.93.3 on Solaris x86 (64bit)

Problem compiling 0.93.3 on Solaris x86 (64bit)

by Forrest Aldrich-2 :: Rate this Message:

Reply to Author | View in Thread

Prior to posting, I searched Google and found some reports like this -
though they referred to previous installations needing to be removed
(which I do not have).

I'm trying to compile the latest stable release on Solaris 10  x86, in
64bit -- though compiling it standard with regular GCC still gets the
same error:

/usr/sfw/bin/gcc -shared -Wl,-h -Wl,libclamunrar.so.4 -o
.libs/libclamunrar.so.4.0.4  .libs/unrar15.o .libs/unrar.o
.libs/unrar20.o .libs/unrarppm.o .libs/unrarvm.o .libs/unrarcmd.o
.libs/unrarfilter.o .libs/unrarhlp.o  -lz -lnsl -lsocket -lc  -m64
-Wl,-M -Wl,../libclamunrar/libclamunrar.map
(cd .libs && rm -f libclamunrar.so.4 && ln -s libclamunrar.so.4.0.4
libclamunrar.so.4)
(cd .libs && rm -f libclamunrar.so && ln -s libclamunrar.so.4.0.4
libclamunrar.so)
false cru .libs/libclamunrar.a  unrar15.o unrar.o unrar20.o unrarppm.o
unrarvm.o unrarcmd.o unrarfilter.o unrarhlp.o
make[2]: *** [libclamunrar.la] Error 1
make[2]: Leaving directory
`/usr/local/src/clamav/clamav-0.93.3/libclamunrar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/clamav/clamav-0.93.3'
make: *** [all] Error 2

It's difficult to tell what the actual problem is from this message.

I'd like to compile it in 64bit mode, if possible - but I'll accept just
getting it to work for now.  Solaris' SFW distribution does not contain
libgmp, so that functionality isn't enabled.  I did install libgmp.a
under /usr/local/lib (from Sunfreeware) but the compile doesn't accept it.

Any pointers would be appreciated.


Thanks.



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

 « Return to Thread: Problem compiling 0.93.3 on Solaris x86 (64bit)

LightInTheBox - Buy quality products at wholesale price!