[ocaml-platform] OPAM with OCaml 4.02.1 dllllvm_stubs.so: undefined symbol: del_curterm

Joshua Garcia joshug4 at uci.edu
Mon Dec 28 16:04:00 GMT 2015


I get the fellowing error using the binary analysis platform (bap), a 
program analysis platform for binaries when trying to compile a byte 
code executable:

$ bapbuild hello_world.byte
+ ocamlfind ocamlc -linkpkg -g -thread -syntax camlp4o -package re.posix 
-package fileutils -package cmdliner -package ezjsonm -package 
ocamlgraph -package variantslib.syntax -package fieldslib.syntax 
-package comparelib.syntax -package sexplib.syntax -package core_kernel 
-package bap.plugins -package bap hello_world.cmo -o hello_world.byte
File "_none_", line 1:
Error: Error on dynamically loaded library: 
/home/joshua/.opam/4.02.1/lib/stublibs/dllllvm_stubs.so: 
/home/joshua/.opam/4.02.1/lib/stublibs/dllllvm_stubs.so: undefined 
symbol: del_curterm
Command exited with code 2.

Apparently, dllllvm_stubs.so needs to be linked with the Terminfo 
library. How can I create or obtain that shared library with the 
Terminfo library linked?

Thanks,
Josh



More information about the Platform mailing list