Closed wahn closed 4 years ago
On my system (Ubuntu Linux) I had to add two more libraries (-lpthread -ldl) in the compilation/linking line for main.c:
-lpthread -ldl
main.c
$ cc main.c -o main -L target/debug -ltest_ffi -lpthread -ldl
Maybe worth mentioning this in the README.md file ...
README.md
Wops, that was an oversight indeed, thanks for reporting it!
On my system (Ubuntu Linux) I had to add two more libraries (
-lpthread -ldl
) in the compilation/linking line formain.c
:Maybe worth mentioning this in the
README.md
file ...