radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.68k stars 3k forks source link

sys/install.sh fails on current master 46277a7e #2370

Closed obilodeau closed 9 years ago

obilodeau commented 9 years ago

I wanted to try out the new web ui so I tried to upgrade.

$ sudo make uninstall
[...]
$ sudo make purge
[...]
$ git pull
[...]
$ sys/install.sh
[...]
CC rabin2.c
LD rabin2
/home/olivier/src/radare2/libr/io/libr_io.so: undefined reference to `r_io_plugin_haret'
/home/olivier/src/radare2/libr/core/libr_core.so: undefined reference to `r_core_plugin_yara'
/home/olivier/src/radare2/libr/io/libr_io.so: undefined reference to `r_io_plugin_ewf'
collect2: error: ld returned 1 exit status
../rules.mk:66: recipe for target 'rabin2' failed
make[2]: *** [rabin2] Error 1
Makefile:18: recipe for target 'all' failed
make[1]: *** [all] Error 1
Makefile:28: recipe for target 'all' failed
make: *** [all] Error 2

Feels like I'm missing dependencies but the README says I don't need any.

crowell commented 9 years ago

@obilodeau "works for me(tm)"

do you have radare installed from a different means (apt-get installed it by chance?)

♥♥♥♡♡♡♡♡♡♡ minishwoods tools/radare2 ‹46277a7› » r2 -v    
radare2 0.9.9-git 7628 @ linux-little-x86-64 git.0.9.8-1277-g46277a7
commit: 46277a7ec954b49fdaf8257a75c64a4b935db58a build: 2015-04-13

nothing but build-essential and git should be needed on ubuntu and friends

radare commented 9 years ago

Purge already does uninstall Install already does git pull

You have old files in your local copy. Try with:

git clean -xdf

On 13 Apr 2015, at 06:01, Olivier Bilodeau notifications@github.com wrote:

I wanted to try out the new web ui so I tried to upgrade.

$ sudo make uninstall [...] $ sudo make purge [...] $ git pull [...] $ sys/install.sh [...] CC rabin2.c LD rabin2 /home/olivier/src/radare2/libr/io/libr_io.so: undefined reference to r_io_plugin_haret' /home/olivier/src/radare2/libr/core/libr_core.so: undefined reference tor_core_plugin_yara' /home/olivier/src/radare2/libr/io/libr_io.so: undefined reference to `r_io_plugin_ewf' collect2: error: ld returned 1 exit status ../rules.mk:66: recipe for target 'rabin2' failed make[2]: * [rabin2] Error 1 Makefile:18: recipe for target 'all' failed make[1]: * [all] Error 1 Makefile:28: recipe for target 'all' failed make: *\ [all] Error 2 Feels like I'm missing dependencies but the README says I don't need any.

— Reply to this email directly or view it on GitHub.

obilodeau commented 9 years ago

You were right about old files.

git clean -xdf
sys/install.sh

did the trick! Thanks!