VirusTotal / yara

The pattern matching swiss knife
https://virustotal.github.io/yara/
BSD 3-Clause "New" or "Revised" License
8.32k stars 1.45k forks source link

Latest Yara3 installs library into different prefixes #448

Closed XVilka closed 8 years ago

XVilka commented 8 years ago

I'm compiling Yara3 on Gentoo, using handcrafted ebuild, which simply calling:

./bootstrap.sh
./configure
make
make install

and it install part of the library in /usr/lib prefix and part into /usr/local/lib which is wrong:

ontents of app-forensics/yara-3.4.0:
/usr
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/local
/usr/lib/debug/usr/local/bin
/usr/lib/debug/usr/local/bin/yara.debug
/usr/lib/debug/usr/local/bin/yarac.debug
/usr/lib/debug/usr/local/lib
/usr/lib/debug/usr/local/lib/libyara.so.3.4.0.debug
/usr/lib64
/usr/local
/usr/local/bin
/usr/local/bin/yara
/usr/local/bin/yarac
/usr/local/include
/usr/local/include/yara
/usr/local/include/yara.h
/usr/local/include/yara/ahocorasick.h
/usr/local/include/yara/arena.h
/usr/local/include/yara/atoms.h
/usr/local/include/yara/compiler.h
/usr/local/include/yara/error.h
/usr/local/include/yara/exec.h
/usr/local/include/yara/filemap.h
/usr/local/include/yara/hash.h
/usr/local/include/yara/libyara.h
/usr/local/include/yara/limits.h
/usr/local/include/yara/modules.h
/usr/local/include/yara/object.h
/usr/local/include/yara/re.h
/usr/local/include/yara/rules.h
/usr/local/include/yara/scan.h
/usr/local/include/yara/sizedstr.h
/usr/local/include/yara/stream.h
/usr/local/include/yara/strutils.h
/usr/local/include/yara/types.h
/usr/local/include/yara/utils.h
/usr/local/lib
/usr/local/lib/libyara.a
/usr/local/lib/libyara.la
/usr/local/lib/libyara.so -> libyara.so.3.4.0
/usr/local/lib/libyara.so.3 -> libyara.so.3.4.0
/usr/local/lib/libyara.so.3.4.0
/usr/local/lib/pkgconfig
/usr/local/lib/pkgconfig/yara.pc
/usr/local/share
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man1/yara.1
/usr/local/share/man/man1/yarac.1
/usr/share
/usr/share/doc
/usr/share/doc/yara-3.4.0
/usr/share/doc/yara-3.4.0/AUTHORS.bz2
/usr/share/doc/yara-3.4.0/README.md.bz2
/usr/src
/usr/src/debug
/usr/src/debug/app-forensics
/usr/src/debug/app-forensics/yara-3.4.0
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/args.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/args.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/ahocorasick.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/arena.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/atoms.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/compiler.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/exec.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/exefiles.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/filemap.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/grammar.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/grammar.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/grammar.y
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/hash.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/hex_grammar.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/hex_grammar.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/hex_grammar.y
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/hex_lexer.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/hex_lexer.l
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/arena.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/atoms.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/compiler.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/elf.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/filemap.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/globals.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/hash.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/hex_lexer.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/lexer.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/modules.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/pe.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/re.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/re_lexer.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/sizedstr.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/stream.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/include/yara/types.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/lexer.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/lexer.l
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/libyara.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/mem.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules/elf.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules/hash.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules/math.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules/pe.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules/pe_utils.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/modules/tests.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/object.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/parser.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/proc.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/re.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/re_grammar.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/re_grammar.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/re_grammar.y
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/re_lexer.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/re_lexer.l
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/rules.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/scan.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/sizedstr.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/stream.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/libyara/strutils.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/threading.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/threading.h
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/yara.c
/usr/src/debug/app-forensics/yara-3.4.0/yara-3.4.0/yarac.c
XVilka commented 8 years ago

Sorry, it was my fault.