Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Can't get linux version of BSQL to work #15

Open
ghost opened this issue Feb 14, 2019 · 2 comments
Open

Can't get linux version of BSQL to work #15

ghost opened this issue Feb 14, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 14, 2019

I can't get SQL to work on the docker version of tgstation.
I get the error: [10:50:35] Runtime in library.dm,4: Unable to load library /root/.byond/bin/libBSQL.so

Here's the log for the round: https://gist.github.com/HiddenKn/8cb994b83be35c20497aa333b28b2d38

MariaDB version: Server version: 10.2.20-MariaDB-1:10.2.20+maria~bionic-log mariadb.org binary distribution

ldd output:
/tgstation/libBSQL.so: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /tgstation/libBSQL.so)
linux-gate.so.1 => (0xf77b7000)
libmariadb.so.2 => not found
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf75eb000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75ce000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7418000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf73c3000)
/lib/ld-linux.so.2 (0xf77b8000)

I tried compiling it manually as well on my ubuntu server but ran into the same issue.

I can connect to the mysql server manually using the mysql command.

@Gh0sT2242
Copy link
Contributor

Gh0sT2242 commented Nov 17, 2019

@HiddenKn Im REALLY ate on a response to this, but there's a dependency not listed, gcc++ and c++ libraries are necessary to get the libraries functional on linux, try these commands:
sudo apt-get install build-essential
sudo apt-get install gcc-multilib
sudo apt-get install g++-multilib
sudo apt-get install gcc-4.8-multilib
sudo apt-get install g++-4.8-multilib

@AliceDTRH
Copy link

AliceDTRH commented Nov 18, 2019

Thanks for letting me know! (This is my new / temporary account)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants