Hi all,
I just had to reinstall SBBS on my raspberry Pi 400 (32 bit Raspberry Pi OS). Used the Git method as outlined on the Wiki. Set all the environment variables, updated the ld.so.conf and ran ldconfig.
Executing /sbbs/exec/sbbs still throws /sbbs/exec/sbbs: error while loading shared libraries: libsbbs.so: cannot open shared object file: No such file or directory
On the surface the setup looks like my old setup I had before the SD card failed. The only difference is the version I ran befoe was 1.82 and now I am on the latest.
Any pointers on what could be wrong are appreciated.
Re: libsbbs.so shared libraries not found error after new installHi, thanks for the quick reply,
Re: libsbbs.so shared libraries not found error after new install
By: Digital Man to Mikek on Thu Jan 16 2025 11:54 am
Re: libsbbs.so shared libraries not found error after new installHi, thanks for the quick reply,
I am using symlinks
I checked ldd sbbs and it expects the libsbbs.so and others in /sbbs/exec/ directory.
Which is where the symlink sits.
/sbbs/exec $ ldd sbbs
linux-vdso.so.1 (0xbeece000)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb6f76000)
libsbbs.so => /sbbs/exec/libsbbs.so (0xb5cf2000)
libftpsrvr.so => /sbbs/exec/libftpsrvr.so (0xb5cb7000)
/sbbs/exec $ ls -al libsbbs.so
lrwxrwxrwx 1 sbbs sbbs 60 Jan 16 09:50 libsbbs.so -> /sbbs/repo/src/sbbs3/gcc.linux.armv7l.lib.release/libsbbs.so
/sbbs/exec $ echo $LD_LIBRARY_PATH
/sbbs/exec
I did check the Wiki, which is where I found to set the LD_LIBRARY_PATH.
thanks again
Re: libsbbs.so shared libraries not found error after new install
By: Digital Man to Mikek on Thu Jan 16 2025 03:09 pm
Thanks, setting the full path worked.
I have a follow up question, I was able to recover all folders that were not symlinked ctrl, data, mods, node*, temp,
is there a way to recover the logins and configurations I had on the older version so that I am not losing all users, status, etc.
Re: libsbbs.so shared libraries not found error after new install
By: Digital Man to Mikek on Thu Jan 16 2025 04:11 pm
Thanks, since I did not have the data in place the steps would be
* stop sbbs
* backup existing data folder and other pertinent files
* copy over the old data
* run jsexec update.js
* start sbbs
Correct?
Re: libsbbs.so shared libraries not found error after new install
By: Digital Man to Mikek on Thu Jan 16 2025 04:38 pm
I went through the process, I was not able to find the statistics files.
I copied over the data directory from the recovered data and ran jsexec update.js. That process took a while.
When I try to log in with my old sysop user I get this error in the telnet session
Unknown user
!JavaScript login.js line 98: Error: Error -101 reading user number 1 Connection closed by foreign host.
I have double checked permissions on the copied files and things look right to me. But probably missing something
Re: libsbbs.so shared libraries not found error after new install
By: Digital Man to Mikek on Fri Jan 17 2025 09:26 am
Thanks a lot for all the help.
I ended up starting from a clean install, copying over the old sbbs.ini, data directory and msg file from the recovered install and running upgrade/update before starting Synchronet for the first time. That got me a lot further and the BBS now starts and I can login with my old non SysOp User and create new users.
One thing is not working, I cannot login with my old SysOp user and Password and SCFG sees the install as a new install and is not picking up the fact that this is a configured installation at this point.
Which file am I missing from the old install?
Sysop: | Weed Hopper |
---|---|
Location: | Clearwater, FL |
Users: | 13 |
Nodes: | 6 (0 / 6) |
Uptime: | 03:44:12 |
Calls: | 91 |
Files: | 50,208 |
D/L today: |
98 files (11,081K bytes) |
Messages: | 284,591 |