[Clam-devel] compiling clam

Vanessa Li vanessa.li at mail.mcgill.ca
Tue Mar 13 22:10:20 PDT 2007


Hi,

I am having trouble with the linking process due to problems with the  
fftw library.

This is what I get when doing 'scons configure':
###############################################
### CLAM PROCESSING DEPENDENCIES CHECKING   ###
###############################################
Checking for C header file sfftw.h... yes
Checking for C header file srfftw.h... yes
Checking for fftw_sizeof_fftw_real() in C library sfftw... no
Could not find libsfftw
Please check that fftw is properly installed


And when I invoke 'scons', I get this:
ld: Undefined symbols:
_rfftw_create_plan
_rfftw_destroy_plan
_rfftw_one
/usr/bin/libtool: internal link edit command failed
scons: *** [processing/libclam_processing.0.98.0.dylib] Error 1
scons: building terminated because of errors.

The library libsfftw.a is located in my /opt/local/lib directory.  
I've also tried putting a symbolic link in my /usr/local/lib/  
directory with no luck. I tried downloading fftw using darwin ports  
as well as downloading the tar file (2.1.5 version) straight from the  
site and installing manually. I am running out of ideas so any help  
would be greatly appreciated! Thank you.

-Vanessa




More information about the clam-devel mailing list