On 10/5/2010 5:08 PM, Tom Goerger wrote: > Now, I'm seeing > > configure:3438: ./conftest > ld.so.1: conftest: fatal: libstdc++.so.4: open failed: No such file or > directory > ./configure: line 1: 5623 Killed ./conftest$ac_cv_exeext > configure:3442: $? = 137 > configure:3449: error: in `/src/objss9/clamav-0.96.3/libclamav/c++': > configure:3453: error: cannot run C++ compiled programs. > If you meant to cross compile, use `--host'. > > So, must be some library that's missing.
It could be that the library path hasn't been changed from the default (i.e. /usr/local/lib is not in the libraries search path and the compiler wasn't built with -R/usr/local/lib). For instance, in Solaris 9 (changed long ago by me): # crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /opt/sfw/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib:/opt/mysql/lib/mysql:/usr/local/BerkeleyDB.4.2/lib Trusted Directories (ELF): /usr/lib:/usr/local/ssl/lib:/usr/local/lib Command line: crle -c /var/ld/ld.config -l /opt/sfw/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib:/opt/mysql/lib/mysql:/usr/local/BerkeleyDB.4.2/lib -s /usr/lib:/usr/local/ssl/lib:/usr/local/lib You can use something similar to what is shown for my "command line". Of course all the MySql and BerkeleyDB stuff (which I haven't updated to the latest installed, version 4.7) is optional. -- René Berber _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml