orbcode/orbuculum

Build error in Xubuntu 18.04 : `cannot find -liberty`

Closed this issue · 2 comments

I cloned the repo and tried building the main branch which resulted in this:

make WITH_FPGA=0 
 Compiling Src/generics.c
 Compiling Src/itmDecoder.c
 Compiling Src/tpiuDecoder.c
 Compiling Src/msgDecoder.c
 Compiling Src/msgSeq.c
Completed build of orb
 Compiling Src/orbuculum.c
 Compiling Src/filewriter.c
 Compiling Src/fifos.c
 Compiling Src/nwclient.c
/usr/bin/ld: cannot find -liberty
collect2: error: ld returned 1 exit status
Makefile:218: recipe for target 'orbuculum' failed
make: *** [orbuculum] Error 1

I was able to fix it (and meet other deps except FPGA) with :

sudo apt install binutils-dev libelf-dev libiberty-dev

Thanks for this software :)

mubes commented

Pooya, I'll keep this one open until I've made the documentation changes, otherwise I'll forget :-)
DAVE

mubes commented

This is now fixed in c2be1b3 so I'm closing this one. Thanks.