open.mp forum
[Plugin] Discord Connector - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Plugin] Discord Connector (/showthread.php?tid=454)



Discord Connector - Cubie - 2019-04-24

I'm for the first time ever trying to implement the Discord Connector plugin into my server but there is a tiny issue.



PHP Code:
Failed (libssl.so.1.0.0cannot open shared object fileNo such file or directory



I'm running a CentOS7 VPS and honestly know jack shit about Linux (someone else set all that stuff up for me quite a while ago)

So I need some professional advise here :)

Thanks in advance!


RE: Discord Connector - ohmios - 2019-04-24

Hello sir, i am microsoft technician, the issue is a viruz in your ram disk, please turn your computer on and off.

Jokes aside. Maybe you don't have libssl installed? I am not a CentOS user myself but you can use:
Code:
yum whatprovides */libssl.so.1.0.0

To find what package provides that file, and then install said package with:
Code:
yum?install package_name

Edit: Also, I would use ubuntu as a newcomer to linux instead of centos.


RE: Discord Connector - Cubie - 2019-04-24

(2019-04-24, 03:24 PM)ohmios Wrote: Hello sir, i am microsoft technician, the issue is a viruz in your ram disk, please turn your computer on and off.



Jokes aside. Maybe you don't have libssl installed? I am not a CentOS user myself but you can use:

Code:
yum whatprovides */libssl.so.1.0.0


To find what package provides that file, and then install said package with:

Code:
yum?install package_name



Edit: Also, I would use ubuntu as a newcomer to linux instead of centos.



I tried that but from what I can gather CenOS7 wont be working with this plugin.

Will probably?switch to Ubuntu or Debian but I have no clue what's better.

So if anyone has a suggestion Ubuntu Vs Debian let me know! :D


RE: Discord Connector - Nutter - 2019-04-24

You could try building from source on your CentOS machine.



I have had a similar problem on my Ubuntu machine though, using a static build of the plugin provided by TommyB somewhere in the unoffical sa-mp discord.


RE: Discord Connector - unix - 2019-04-24

First off make sure SELinux is disabled.



View if enabled ->

Code:
# sestatus



If you have "jack shit" knownledge about Centos or any other linux platform, install nano (a editor)



either way you can use



Code:
vi /etc/selinux/config



And change the SELinux to = disabled.



Later on install the package

Code:
yum -y install libssl.so.1.0.0



Have a reboot then you're good to go.


RE: Discord Connector - Cubie - 2019-04-24

(2019-04-24, 07:13 PM)Nutter Wrote: You could try building from source on your CentOS machine.



I have had a similar problem on my Ubuntu machine though, using a static build of the plugin provided by TommyB somewhere in the unoffical sa-mp discord.



Definitely wont be me doing that but thanks for the advise!



(2019-04-24, 08:00 PM)unix Wrote: First off make sure SELinux is disabled.



View if enabled ->

Code:
# sestatus



If you have "jack shit" knownledge about Centos or any other linux platform, install nano (a editor)



either way you can use



Code:
vi /etc/selinux/config



And change the SELinux to = disabled.



Later on install the package

Code:
yum -y install libssl.so.1.0.0



Have a reboot then you're good to go.



I fortunately have friends that do 90% of the Linux stuff for me, I just do the pawn scripting. Thanks for your help however?I'll make sure they

will do this!


RE: Discord Connector - TommyB - 2019-04-24

Here's a static build that works on CentOS 7.



https://tommyb.ovh/files/discord-connector.so


RE: Discord Connector - Cubie - 2019-04-25

(2019-04-24, 10:02 PM)TommyB Wrote: Here's a static build that works on CentOS 7.

https://tommyb.ovh/files/discord-connector.so

That would do it, only now I have another issue :x

PHP Code:
Failed (/lib/libstdc.so.6version `GLIBCXX_3.4.20' not found (required by log-core.so)) 

I updated the system but that did not seem to do anything.
Edit: I'm currently on CentOS 7.6.1810


RE: Discord Connector - Cubie - 2019-04-26

(2019-04-25, 07:58 AM)Cubie Wrote:
(2019-04-24, 10:02 PM)TommyB Wrote: Here's a static build that works on CentOS 7.



https://tommyb.ovh/files/discord-connector.so



That would do it, only now I have another issue :x



PHP Code:
Failed (/lib/libstdc.so.6version `GLIBCXX_3.4.20' not found (required by log-core.so)) 



I updated the system but that did not seem to do anything.

Edit: I'm currently on CentOS 7.6.1810



I guess CentOS is just not for me,

switching over to Ubuntu fixed it for me. Thanks for the help everyone!


RE: Discord Connector - hual - 2019-04-26

If only it was built with -static-stdlibc