{"action":"created","issue":{"url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/318","labels_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/318/comments","events_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/318/events","html_url":"https://github.com/BinaryAnalysisPlatform/bap/issues/318","id":124118472,"number":318,"title":"building byte code executable","user":{"login":"jgarci40","id":8866794,"avatar_url":"https://avatars.githubusercontent.com/u/8866794?v=3","gravatar_id":"","url":"https://api.github.com/users/jgarci40","html_url":"https://github.com/jgarci40","followers_url":"https://api.github.com/users/jgarci40/followers","following_url":"https://api.github.com/users/jgarci40/following{/other_user}","gists_url":"https://api.github.com/users/jgarci40/gists{/gist_id}","starred_url":"https://api.github.com/users/jgarci40/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgarci40/subscriptions","organizations_url":"https://api.github.com/users/jgarci40/orgs","repos_url":"https://api.github.com/users/jgarci40/repos","events_url":"https://api.github.com/users/jgarci40/events{/privacy}","received_events_url":"https://api.github.com/users/jgarci40/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-28T20:17:03Z","updated_at":"2015-12-28T23:03:20Z","closed_at":null,"body":"I am trying to create a byte code executable using bapbuild, as shown here:\r\n```\r\n$ bapbuild hello_world.byte\r\n+ 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\r\nFile \"_none_\", line 1:\r\nError: Error on dynamically loaded library: /home/joshua/.opam/4.02.3/lib/stublibs/dllllvm_stubs.so: /home/joshua/.opam/4.02.3/lib/stublibs/dllllvm_stubs.so: undefined symbol: del_curterm\r\nCommand exited with code 2.\r\n```\r\nApparently, dlllvm_stubs.so is not linked with the Terminfo library. How can I resolve this issue? My ultimate goal here is to use bap with the ocaml debugger, which seems to require a byte code executable."},"comment":{"url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/comments/167675785","html_url":"https://github.com/BinaryAnalysisPlatform/bap/issues/318#issuecomment-167675785","issue_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/318","id":167675785,"user":{"login":"jgarci40","id":8866794,"avatar_url":"https://avatars.githubusercontent.com/u/8866794?v=3","gravatar_id":"","url":"https://api.github.com/users/jgarci40","html_url":"https://github.com/jgarci40","followers_url":"https://api.github.com/users/jgarci40/followers","following_url":"https://api.github.com/users/jgarci40/following{/other_user}","gists_url":"https://api.github.com/users/jgarci40/gists{/gist_id}","starred_url":"https://api.github.com/users/jgarci40/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgarci40/subscriptions","organizations_url":"https://api.github.com/users/jgarci40/orgs","repos_url":"https://api.github.com/users/jgarci40/repos","events_url":"https://api.github.com/users/jgarci40/events{/privacy}","received_events_url":"https://api.github.com/users/jgarci40/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T23:03:20Z","updated_at":"2015-12-28T23:03:20Z","body":"Got it. Thanks again, Ivan."}}