Closed robinsmidsrod closed 3 years ago
Good point, I think it's good to add some instructions for specific operating systems on build dependencies.
I'm not sure why Ubuntu doesn't find the symbols, I'll do some tests in a VM.
Turns out some GCC versions require -Wl,--no-as-needed -ldl
to link the lib.
I've updated build_posix.sh
to reflect that, on my Ubuntu 18 VM this builds correctly now.
I've confirmed that building on Ubuntu 18.04 works as expected now. Thanks a bunch for the quick fix!
I'm trying to compile on Ubuntu 18.04, and I'm getting this error message:
Distro details:
I've got gpiod and libc headers and build-essential installed:
I feel I'm missing something obvious here...