go-freeling icon indicating copy to clipboard operation
go-freeling copied to clipboard

Issue building on OpenBSD 6.2

Open joakinen opened this issue 6 years ago • 1 comments

Trying to build go-freeling on OpenBSD 6.2 there's an issue calling ld

$ go build gofreeling.go    
# _/home/jherrero/code/go/src/github.com/advancedlogic/go-freeling/nlp
/usr/bin/ld: cannot find -lmitie  
cc: error: linker command failed with exit code 1 (use -v to see invocation)

joakinen avatar Mar 02 '18 20:03 joakinen

You need to build and install the MITIE library. You can do that by doing the following:

git clone https://github.com/mit-nlp/MITIE.git
cd MITIE
make
sudo cp mitielib/libmitie.so  /usr/lib/

idaunis avatar Mar 28 '19 16:03 idaunis