[CentOS] compiling libarchive

Fri Sep 5 15:37:19 UTC 2008
Mag Gam <magawake at gmail.com>

I got it to work. Thanks all!


On Fri, Sep 5, 2008 at 10:26 AM, Peter Kjellstrom <cap at nsc.liu.se> wrote:
> On Friday 05 September 2008, Mag Gam wrote:
>> Got libarchive compiled fine, now trying to compile archivemount I
>> keep getting this error now:
>>
>> gcc -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -Wall -W -MM archivemount.c > dep
>> gcc -larchive -lfuse -o archivemount archivemount.o
>
> Unless I'm mistaken, order is significant. put "-larchive -lfuse"
> after "archivemount.o"
>
> /Peter
>
>> archivemount.o(.text+0x1474): In function `save':
>> : undefined reference to `archive_write_set_compression_gzip'
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>