Clamav installation on Solaris 7

I want to compile clamav to work on solaris 7 sparc platform. I am currently using solaris 10 for compiling it. Can anyone guide me through the proper steps to make this mission successful?

asked: 2012-09-14 by: Samurai Boy


automaciej answers:

Bad news for Solaris 7. OpenCSW catalogs only support Solaris versions from 8 onwards. Your 14-year-old platform, if you really want to build on it, will require building everything from scratch, including dependencies (libbz2, iconv, libtool, ncurses, libz). Current version of clamav might require modern versions of its dependencies, so you'll have to build them too. You might run into issues where an old compiler will not be able to handle new style C code, or the Solaris 7 libc will not have the required functionality.

The overall outline of steps are like with any other compilation:


Samurai Boy answers:

Thanks for your info. Is it possible for me to compile clamav on solaris 10 32-bit non-sparc platform and use the compiled package in solaris 8 sparc platform? If yes, does it require any configuration changes?


automaciej commented:

Compile on 5.10 and run on 5.8 ? not possible. You could do it the other way around, build on older and run on newer. But if you want to run on 5.8 you need to build on 5.8.

automaciej commented:

Compile on 5.10 and run on 5.8 ? not possible. You could do it the other way around, build on older and run on newer. But if you want to run on 5.8 you need to build on 5.8.

automaciej commented:

Compile on 5.10 and run on 5.8 ? not possible. You could do it the other way around, build on older and run on newer. But if you want to run on 5.8 you need to build on 5.8.

sahaeta9 answers:

you can check https://www.clamav.net/documents/installing-clamav#solaris

by. mycigna