[CLAM] Error linking clam-annotator-0.3.2
David Garcia Garzon
dgarcia at iua.upf.edu
Thu Oct 5 10:31:49 PDT 2006
A Dijous, 5 de Octubre de 2006 19:50, Paolo Fagni va escriure:
> Thank you very much, that solved the problem.
>
>
> In Arch linux packages are installed under /usr/share, this is why I
> use /usr/share as my install_prefix. Do you think this may cause some
> sort of problem ?
>
> > 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
--
David García Garzón <david.garcia at removespam.iua.upf.es>
Phone: 034 93 542 21 99
Music Technology Group, Institut Universitari de l'Audiovisual
Universitat Pompeu Fabra
--
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