Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctypes upgrade from 0.9.0 to 0.9.1 broke some stuff on osx #7391

Closed
dbuenzli opened this issue Sep 9, 2016 · 2 comments
Closed

ctypes upgrade from 0.9.0 to 0.9.1 broke some stuff on osx #7391

dbuenzli opened this issue Sep 9, 2016 · 2 comments

Comments

@dbuenzli
Copy link
Collaborator

dbuenzli commented Sep 9, 2016

ocephes no longer compiles. Not sure exactly who's at fault.

- ocamlbuild -use-ocamlfind -package "ctypes,ctypes.foreign,ctypes.stubs" -I src/lib src/lib/libcephes_stubs.a
- ocamlfind ocamlopt unix.cmxa -I /Users/dbuenzli/.opam/4.03.0/lib/ocamlbuild /Users/dbuenzli/.opam/4.03.0/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /Users/dbuenzli/.opam/4.03.0/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- ocamlfind ocamldep -package ctypes,ctypes.foreign,ctypes.stubs -modules src/lib_gen/cephes_bindgen.ml > src/lib_gen/cephes_bindgen.ml.depends
- ocamlfind ocamldep -package ctypes,ctypes.foreign,ctypes.stubs -modules src/lib_gen/cephes_bindings.ml > src/lib_gen/cephes_bindings.ml.depends
- ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes,ctypes.foreign,ctypes.stubs -I src/lib_gen -I src/lib -o src/lib_gen/cephes_bindings.cmo src/lib_gen/cephes_bindings.ml
- ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes,ctypes.foreign,ctypes.stubs -I src/lib_gen -I src/lib -o src/lib_gen/cephes_bindgen.cmo src/lib_gen/cephes_bindgen.ml
- ocamlfind ocamlc -linkpkg -g -package ctypes,ctypes.foreign,ctypes.stubs src/lib_gen/cephes_bindings.cmo src/lib_gen/cephes_bindgen.cmo -o src/lib_gen/cephes_bindgen.byte
- + ocamlfind ocamlc -linkpkg -g -package ctypes,ctypes.foreign,ctypes.stubs src/lib_gen/cephes_bindings.cmo src/lib_gen/cephes_bindgen.cmo -o src/lib_gen/cephes_bindgen.byte
- File "_none_", line 1:
- Error: Error on dynamically loaded library: /Users/dbuenzli/.opam/4.03.0/lib/stublibs/dllctypes-foreign-base_stubs.so: dlopen(/Users/dbuenzli/.opam/4.03.0/lib/stublibs/dllctypes-foreign-base_stubs.so, 138): Symbol not found: _ffi_type_double
-   Referenced from: /Users/dbuenzli/.opam/4.03.0/lib/stublibs/dllctypes-foreign-base_stubs.so
-   Expected in: flat namespace
-  in /Users/dbuenzli/.opam/4.03.0/lib/stublibs/dllctypes-foreign-base_stubs.so
- Command exited with code 2.
- make: *** [libcephes_stubs] Error 10

/cc @yallop @rleonid

@yallop
Copy link
Member

yallop commented Sep 9, 2016

Thanks for the report. The problem appears to be due to this commit:

yallop/ocaml-ctypes@8c39be8

@dbuenzli
Copy link
Collaborator Author

dbuenzli commented Sep 9, 2016

It's a bit odd I tested the bytecode examples of tgls and they work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants