[CLAM] Error linking clam-annotator-0.3.2

Paolo Fagni paolo.fagni at gmail.com
Thu Oct 5 11:15:01 PDT 2006


Ok, I now realize that I did a mess with my messages on this mailing
list, I apologize for all the messages I sent.

What David told me solved my problem. Now everything works ok.

Thank you and sorry again for the previous messages.

> Our SConstruct script has problems with the latest version of SCons.
> It is unable to create the soname and linkname links. After CLAM
> install try this as root:
> 
> for a in core processing vmqt vmfl audioio; do
> 	ln
> -s /usr/lib/libclam_$a.so.0.91.0 /usr/lib/libclam_$a.so.0.91 ln
> -s /usr/lib/libclam_$a.so.0.91.0 /usr/lib/libclam_$a.so.0 ln
> -s /usr/lib/libclam_$a.so.0.91.0 /usr/lib/libclam_$a.so done
> 
> BTW, i don't recommend you to use /usr/share as install_prefix, just
> use /usr.
> 
> 
> 
> A Dijous, 5 de Octubre de 2006 18:21, Paolo Fagni va escriure:
> > Hello, first of all congratulations for your great work!
> >
> > I have a problem linking clam-annotator maybe somebody here could
> > help me with.
> >
> > I've installed clam in /usr/lib and /usr/include , when I try to
> > compile clam-annotator this is what I do:
> >
> > $ cd vmqt/
> > $ scons clam_prefix=/usr
> > ...	-> Compiles fine
> > $ cd ..
> > $ scons clam_prefix=/usr install_prefix=/usr/share
> > ...
> > == Linking Annotator
> > /usr/bin/ld: cannot find -lclam_core
> > collect2: ld returned 1 exit status
> > scons: *** [Annotator] Error 1
> > scons: building terminated because of errors.
> > $
> >
> > libclam_core is correctly installed in /usr/lib/,
> >
> > $ ls -l /usr/lib | grep clam
> > lrwxrwxrwx  1 root root       25 2006-10-05 17:02
> > libclam_audioio.so.0 -> libclam_audioio.so.0.91.0* -rwxr-xr-x  1
> > root root  1052256 2006-10-05 16:43 libclam_audioio.so.0.91.0*
> > lrwxrwxrwx  1 root root       22 2006-10-05 17:02 libclam_core.so.0
> > -> libclam_core.so.0.91.0* -rwxr-xr-x  1 root root   709070
> > 2006-10-05 16:43 libclam_core.so.0.91.0* lrwxrwxrwx  1 root
> > root       28 2006-10-05 17:02 libclam_processing.so.0 ->
> > libclam_processing.so.0.91.0* -rwxr-xr-x  1 root root  4319350
> > 2006-10-05 16:43 libclam_processing.so.0.91.0* lrwxrwxrwx  1 root
> > root       22 2006-10-05 17:02 libclam_vmfl.so.0 ->
> > libclam_vmfl.so.0.91.0* -rwxr-xr-x  1 root root   775120 2006-10-05
> > 16:43 libclam_vmfl.so.0.91.0* lrwxrwxrwx  1 root root       22
> > 2006-10-05 17:02 libclam_vmqt.so.0 -> libclam_vmqt.so.0.91.0*
> > -rwxr-xr-x  1 root root  2349316 2006-10-05 16:43
> > libclam_vmqt.so.0.91.0*
> >
> > I'm using Arch linux with gcc 4.1.1, if you need more informations
> > please tell me.
> >
> > Cheers,
> >
> > Paolo
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the clam-users mailing list