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: | Gate Keeper |
|---|---|
| Location: | Shelby, NC |
| Users: | 831 |
| Nodes: | 20 (0 / 20) |
| Uptime: | 205:37:14 |
| Calls: | 14,143 |
| Calls today: | 5 |
| Files: | 5,294 |
| D/L today: |
83 files (34,410K bytes) |
| Messages: | 635,159 |