Linking gcc.linux.x64.lib.release/libwebsrvr.so
Linking gcc.linux.x64.exe.release/sbbs
/usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined reference to `strlcpy' collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1
Linking gcc.linux.x64.lib.release/libwebsrvr.so
Linking gcc.linux.x64.exe.release/sbbs
/usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined
reference to `strlcpy' collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1
You may be missing a development library. My first guess is libbsd-devel or something like that but I'm not sure exactly what it is called for ubuntu.
open https://gitlab.synchro.net/main/sbbs/-/issues/378
Building Synchronet on Ubuntu 20.04 using the latest development
branch of Synchronet as of 3/22/22. The process is failing as
follows:
Linking gcc.linux.x64.lib.release/libwebsrvr.so
Linking gcc.linux.x64.exe.release/sbbs
/usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined
reference to `strlcpy' collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1
I've tried doing a "make clean" prior to running "make RELEASE=1
symlinks setcap" and still the same result.
Re: Synchronet build process not completing
By: Electrosys to Chris Costakis on Tue Mar 22 2022 01:05 pm
Linking gcc.linux.x64.lib.release/libwebsrvr.so
Linking gcc.linux.x64.exe.release/sbbs
/usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined
reference to `strlcpy' collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1
You may be missing a development library. My first guess is libbsd-devel or something like that but I'm not sure exactly what it is called for ubuntu.
According to this article, its probably called: libbsd-dev
https://stackoverflow.com/questions/61998682/making-strlcpy-available-in-lin ux
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:19:28 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,792,007 |