Here is my jbuild file:
(executable
((name Foo)
(libraries (batteries email_message core_kernel ocamlnet))
))
Trying to build:
$ jbuilder external-lib-deps --missing Foo.o
Error: The following libraries are missing in the default context:
- vcardgen
Hint: try: opam install ocamlnet
But the package is already installed!
$ opam install ocamlnet
[NOTE] Package ocamlnet is already installed (current version is 4.1.4).
ocamlnet is an opam package, not a findlib library. You need to specify which ocamlnet libraries you are using. Here's the list:
dra@zesty64:~$ ocamlfind list | fgrep 4.1.4
equeue (version: 4.1.4)
netcamlbox (version: 4.1.4)
netcgi2 (version: 4.1.4)
netcgi2-plex (version: 4.1.4)
netclient (version: 4.1.4)
nethttpd (version: 4.1.4)
netmulticore (version: 4.1.4)
netplex (version: 4.1.4)
netshm (version: 4.1.4)
netstring (version: 4.1.4)
netstring-pcre (version: 4.1.4)
netsys (version: 4.1.4)
netsys.outofheap (version: 4.1.4)
netunidata (version: 4.1.4)
rpc (version: 4.1.4)
rpc-auth-local (version: 4.1.4)
rpc-generator (version: 4.1.4)
shell (version: 4.1.4)
Most helpful comment
ocamlnetis an opam package, not a findlib library. You need to specify which ocamlnet libraries you are using. Here's the list: