/usr/bin/ld: cannot find -lBlocksRuntime

79 views
Skip to first unread message

safdar....@gmail.com

unread,
Feb 4, 2019, 6:23:03 AM2/4/19
to honggfuzz

Hi,

I am new to hoggfuzz and trying to build it on ubuntu 18.04. On running make command I am getting following error and unable to find anything on internet.

I have already installed suggested packages for linux (binutils-dev and libunwind-dev).

--------------------------------------------------------Libraries which are most likely missing on your OS, what
might result
in a failed build. (just a guess)          
libunwind
-devel/libunwind8-devel
--------------------------------------------------------
cc
-o honggfuzz cmdline.o display.o fuzz.o honggfuzz.o input.o mangle.o report.o sanitizers.o socketfuzzer.o subproc.o linux/arch.o linux/bfd.o linux/perf.o linux/pt.o linux/trace.o linux/unwind.o  -lm libhfcommon/libhfcommon.a -L/usr/local/include -pthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -ldl -lBlocksRuntime
/usr/bin/ld: cannot find -lBlocksRuntime
clang
: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:287: recipe for target 'honggfuzz' failed
make
: *** [honggfuzz] Error 1

Please suggest.
Thank you.

Robert Święcki

unread,
Feb 4, 2019, 7:13:25 AM2/4/19
to safdar....@gmail.com, honggfuzz
You must be building with clang, i.e. you /usr/bin/cc must be a symlink to clang. If so, please install libblocksruntime-dev

apt install libblocksruntime-dev

You can also try to compile with gcc which doesn't need the blocksruntime.

CC=gcc make clean all


--
You received this message because you are subscribed to the Google Groups "honggfuzz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to honggfuzz+...@googlegroups.com.
To post to this group, send email to hong...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/honggfuzz/b0dc7028-47c4-4871-9fae-a1ca10d5c047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Robert Święcki

safdar....@gmail.com

unread,
Feb 5, 2019, 11:50:05 PM2/5/19
to honggfuzz
Thank you that was it.
Reply all
Reply to author
Forward
0 new messages