Open zhou88qiao opened 3 years ago
[rules-compiler] Compiling Yara rules... [rules-compiler] Launching binary resource builder... [builder] Building Linux executable...
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /bin/ld: cannot find -ldl /bin/ld: cannot find -lcrypto /bin/ld: cannot find -ldl /bin/ld: cannot find -lz /bin/ld: cannot find -lpthread /bin/ld: cannot find -lm /bin/ld: cannot find -lc collect2: error: ld returned 1 exit status
make: *** [/home/mytest/kraken-main/build/linux/kraken] Error 2
build yara static: go build --ldflags '-s -w -extldflags "-lm -static" -tags yara_static it does not work static
[rules-compiler] Compiling Yara rules... [rules-compiler] Launching binary resource builder... [builder] Building Linux executable...
github.com/botherder/kraken
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /bin/ld: cannot find -ldl /bin/ld: cannot find -lcrypto /bin/ld: cannot find -ldl /bin/ld: cannot find -lz /bin/ld: cannot find -lpthread /bin/ld: cannot find -lm /bin/ld: cannot find -lc collect2: error: ld returned 1 exit status
make: *** [/home/mytest/kraken-main/build/linux/kraken] Error 2