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: | Chris Crash |
|---|---|
| Location: | Huntington Beach, CA. |
| Users: | 629 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 30:49:02 |
| Calls: | 10,920 |
| Files: | 5 |
| Messages: | 575,736 |