Ok, have it on debian, everything smoothyly transitioned, I can run sbbs and any other exec with no issuem but at times, depending on what it is (IRCBOTS ins this case) I get an error running jsexec.
./jsexec: error while loading shared libraries: libsbbs.so: cannot open shared object file: No such file or directory
Now what could cause this crap?
KK4QBN wrote to All <=-
Ok folks,
I've switched back to using debian, and it's probably the way I
installed CentOS, I'll never install another OS like that unless its
some big gigantic mega server, I had my /home amd /usr .etc installed
on different partitions an this was really screwing with synchronet, sometimes it would go off without a hitch, sometimes I would get permission errors, thats the only reason I would see why.. expecially tryng to build it.
Ok, have it on debian, everything smoothyly transitioned, I can run
sbbs and any other exec with no issuem but at times, depending on what
it is (IRCBOTS ins this case) I get an error running jsexec.
./jsexec: error while loading shared libraries: libsbbs.so: cannot open shared object file: No such file or directory
Now what could cause this crap?
before it was giving that issue with EVERY executable under centos..
why give me the error in jsexec, but nothing else?
Digital Man wrote to KK4QBN <=-
This "crap" is caused by the file libsbbs.so not being where it should
be. If you run "ldd jsexec", it should tell you where it thinks
libsbbs.so should be (usually wherever you built it). If you ran "make clean" after or moved libsbbs.so, jsexec won't know about it or be able
to find it.
Digital Man wrote to KK4QBN <=-
This "crap" is caused by the file libsbbs.so not being where it should be. If you run "ldd jsexec", it should tell you where it thinks libsbbs.so should be (usually wherever you built it). If you ran "make clean" after or moved libsbbs.so, jsexec won't know about it or be able to find it.
That explains why I've never had any problem, as I haven't touched the build directories since installation.
This "crap" is caused by the file libsbbs.so not being where it should be. If you run "ldd jsexec", it should tell you where it thinks libsbbs.so should be (usually wherever you built it). If you ran "make clean" after or moved libsbbs.so, jsexec won't know about it or be able to find it.
One option is to set the LD_LIBRARY_PATH environment varible to include your Synchronet "exec" directory, where hopefully a copy or symlink to libsbbs.so can be found.
That's weird, partitioning should not affect permissions, unless you're trying to mount a non Linux filesystem (vfat, etc), which require special treatment to allow write access for non root users.
Have you set your SBBSCTRL and PATH variables? I've never had any issues with jsexec on my system (Raspian).
This "crap" is caused by the file libsbbs.so not being where it
should be. If you run "ldd jsexec", it should tell you where it
thinks libsbbs.so should be (usually wherever you built it). If you
ran "make clean" after or moved libsbbs.so, jsexec won't know about
it or be able to find it.
That explains why I've never had any problem, as I haven't touched the build directories since installation.
Re: Issues... always issues..
By: Digital Man to KK4QBN on Wed Jan 17 2018 12:58:10
This "crap" is caused by the file libsbbs.so not being where it should be. If you run "ldd jsexec", it should tell you where it thinks libsbbs.so should be (usually wherever you built it). If you ran "make clean" after or moved libsbbs.so, jsexec won't know about it or be able to find it.
linux-vdso.so.1 (0x00007ffdc31d1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007ff8af807000) libsbbs.so => not found
libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 (0x00007ff8af5e
Then how is SBBS even starting up?
linux-vdso.so.1 (0x00007ffdc31d1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
(0x00007ff8af807000) libsbbs.so => not found
libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5
(0x00007ff8af5e
Then how is SBBS even starting up?
You're not running it the same way you're running 'jsexec'. If you just type 'sbbs' the same way you're just typing 'jsexec', it'll most likely fail with the same error.
Re: Issues... always issues..
By: Digital Man to KK4QBN on Thu Jan 18 2018 12:19:43
linux-vdso.so.1 (0x00007ffdc31d1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
(0x00007ff8af807000) libsbbs.so => not found
libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5
(0x00007ff8af5e
Then how is SBBS even starting up?
You're not running it the same way you're running 'jsexec'. If you just type 'sbbs' the same way you're just typing 'jsexec', it'll most likely fail with the same error.
i'm starting sbbs with sudo so it will bind to the ports, tried the same with jsexec which I would thing would make no difference and it did'nt.
KK4QBN wrote to Tony Langdon <=-
I was running the BBS under a non root user and /home was under a different partition as was a couple other directories and I was getting some freaky issues, mostly permission issues, I would'nt think it would cause any issues either, it may have just been CentOS it was a bit different than debian and all the direvitives but still.. thats the
only thing I could think of..
SBBSCTRL I have, I have seen nothing else any other environment needede
to be set.. (besides what DM just stated).
Thankd for the help.. more than likely something small and supid I'm overlooking.
KK4QBN wrote to Tony Langdon <=-
That explains why I've never had any problem, as I haven't touched the build directories since installation.
I have'nt either.. Be ready! :-)
Did you try setting LD_LIBRARY_PATH?
Hello,
On Fri, 19 Jan 2018 13:40:24 -0800, Digital Man -> Kk4qbn wrote:
Did you try setting LD_LIBRARY_PATH?
To what? I've never had to set LD_LIBRARY_PATH for anything Synchronet related.
Only husky stuff (hpt, htick, fidoconf, etc.)
If everything in /sbbs is owned by a user, and he's starting with sudo, maybe he's not passing ownership properly via sbbs.ini? This would mean he would probably need sudo for jsexec too.
SBBSEXEC environment variable not set?
I don't know, but I've never had to set LD_LIBRARY_PATH for Synchronet.
i'm starting sbbs with sudo so it will bind to the ports, tried the
same with jsexec which I would thing would make no difference and it
did'nt.
Did you try setting LD_LIBRARY_PATH?
Did you try setting LD_LIBRARY_PATH?To what? I've never had to set LD_LIBRARY_PATH for anything Synchronet related. Only husky stuff (hpt, htick, fidoconf, etc.)
If everything in /sbbs is owned by a user, and he's starting with sudo, maybe he's not passing ownership properly via sbbs.ini? This would mean he would probably need sudo for jsexec too.
SBBSEXEC environment variable not set?
I don't know, but I've never had to set LD_LIBRARY_PATH for Synchronet.
Regards,
Nick
Re: Issues... always issues..
By: Digital Man to KK4QBN on Fri Jan 19 2018 13:40:24
i'm starting sbbs with sudo so it will bind to the ports, tried the
same with jsexec which I would thing would make no difference and it
did'nt.
Did you try setting LD_LIBRARY_PATH?
Yeah, no good..
also noticed that setting SBBSCTRL is'nt working either,
SBBS has just been forcing it, I've set it in ~.profile ~.bashrc and even /etc/profile. I don't know what I've done to scew this up.. all permissions have been checked, all executables came from a clean build with a copy over of my ctrl data mods and all other modified stuff.
But this issue has happened a while, SCFG works, of course sbbs works
Can you elaborate? So from a command prompt, you typed
"export LD_LIBRARY_PATH=/path/to/directory/where/libsbbs.so/is"
and then from the same same command prompt, typed "jsexec" and what happened?
also noticed that setting SBBSCTRL is'nt working either,
SBBS has just been forcing it, I've set it in ~.profile ~.bashrc and
even /etc/profile. I don't know what I've done to scew this up.. all
permissions have been checked, all executables came from a clean build
with a copy over of my ctrl data mods and all other modified stuff.
"came from" - does that mean the files were copied or moved?
Is the user you're running jsxec as, the same user you used to build sbbs as?
SCFG doesn't rely on any Synchronet .so files.
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 03:01:47 |
Calls: | 510 |
Messages: | 220569 |