Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

Errors compiling Development Snapshot

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


martelm at quark

Feb 15, 2008, 5:46 AM

Post #1 of 3 (391 views)
Permalink
Errors compiling Development Snapshot

Greetings!

I've been trying off and on to build the development snapshot, mainly to
check it out. I'm downloading it from here :

<http://www.clamav.net/snapshot/clamav-devel-latest.tar.gz>

And when I try and compile it, it moves right along until the end and gives
me these messages:

gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o
clamscan.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.so
-lpthread -Wl,--rpath -Wl,/usr/local/lib
../libclamav/.libs/libclamav.so: undefined reference to
`unrar_extract_next[at]CLAMAV_PRIVATE'
../libclamav/.libs/libclamav.so: undefined reference to
`unrar_extract_next_prepare[at]CLAMAV_PRIVATE'
../libclamav/.libs/libclamav.so: undefined reference to
`unrar_close[at]CLAMAV_PRIVATE'
../libclamav/.libs/libclamav.so: undefined reference to
`unrar_open[at]CLAMAV_PRIVATE'
collect2: ld returned 1 exit status


This is on a CentOS 4.6 box. Obviously I'm missing something related to
rar, but I don't know what it is. Any thoughts ?

Thanks!

Michael

--

--------------------------------o---------------------------------
Michael H. Martel | Systems Administrator
michael.martel[at]vsc.edu | Vermont State Colleges
http://www.vsc.edu/~michael | PH:802-241-2544 FX:802-241-3363


_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


edwintorok at gmail

Feb 18, 2008, 1:47 AM

Post #2 of 3 (353 views)
Permalink
Re: Errors compiling Development Snapshot [In reply to]

Michael H. Martel wrote:
> Greetings!
>

Hi,

> gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o
> clamscan.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.so
> -lpthread -Wl,--rpath -Wl,/usr/local/lib
> ../libclamav/.libs/libclamav.so: undefined reference to
> `unrar_extract_next[at]CLAMAV_PRIVATE'
> ../libclamav/.libs/libclamav.so: undefined reference to
> `unrar_extract_next_prepare[at]CLAMAV_PRIVATE'
> ../libclamav/.libs/libclamav.so: undefined reference to
> `unrar_close[at]CLAMAV_PRIVATE'
> ../libclamav/.libs/libclamav.so: undefined reference to
> `unrar_open[at]CLAMAV_PRIVATE'
> collect2: ld returned 1 exit status
>

Uninstall the old libclamav from /usr/local/lib first, see bug #757.


Thanks,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


martelm at quark

Feb 18, 2008, 11:07 AM

Post #3 of 3 (355 views)
Permalink
Re: Errors compiling Development Snapshot [In reply to]

--On February 18, 2008 11:47:48 AM +0200 Török Edwin
<edwintorok[at]gmail.com> wrote:

> Uninstall the old libclamav from /usr/local/lib first, see bug #757.

DOH! I should have found that. I know I looked. Oh well. that fixes that
problem, now on to the next error it generates ...




Michael

--

--------------------------------o---------------------------------
Michael H. Martel | Systems Administrator
michael.martel[at]vsc.edu | Vermont State Colleges
http://www.vsc.edu/~michael | PH:802-241-2544 FX:802-241-3363


_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.