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
Error on dynamically loaded library: dlllwt_unix_stubs.so #664
Comments
Try creating this file, #include <stdio.h>
#include <caml/s.h>
int main()
{
printf("%i\n", HAS_SOCKETS);
return 0;
} then
What output does it print? |
Thanks for help. I think this problem is related with and and need some changes in make files I find symbol "socket_type_table" in shared library /lib/ocaml/unix.cmxs |
|
|
What about this? #include <stdio.h>
extern int socket_type_table[];
int main()
{
printf("%i\n", socket_type_table[1]);
return 0;
} then
Making sure this is on termux, of course. |
And please let me know if you are making progress using the other issues or not. |
|
Closing for now; please reopen if there is more information. |
I'm seeing this as well; but I'm on macOS, and not using termux. Full log from the above suggestions on my machine: https://gist.github.com/ELLIOTTCABLE/dec074c9946cd94b194ee46fa9046ca4 |
Than i try install utop on android termux. I get the following:
In linux ubuntu 18.06 and in windows 7 cygwin all OK
When I do simple thing, I get following:
Looking at the Lwt code, there indeed seems to be an inconsistency between the
.c
and.h
files regardingsocket_type_table
anddefined(LWT_ON_WINDOWS)
in filesrc/unix/lwt_unix_stubs.c
What can i do?
And what the symbol "socket_type_table"? I can not find it in linux shared libraries in /system/lib/.
The text was updated successfully, but these errors were encountered: