ibara/edx

strlcpy not found

Closed this issue · 2 comments

When I tried to compile this on Ubuntu-22.04, I got an error about not finding strlcpy.
Found that it was in a library - libbsd.
I installed libbsd-dev, and changed the makefile, adding "-lbsd" to the link line.
Now it compiles!
Thanks for sharing edx!

ibara commented

The strl* family is from OpenBSD, and is included in all major libc implementations. After 25 years, it has finally been added to glibc, so you may need to update your glibc.