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: | 719 |
Nodes: | 20 (0 / 20) |
Uptime: | 181:10:01 |
Calls: | 9,287 |
Calls today: | 7 |
Files: | 5,288 |
D/L today: |
96 files (42,135K bytes) |
Messages: | 467,612 |