SA-MP Forums Archive
Windows to Linux - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Windows to Linux (/showthread.php?tid=452100)



Windows to Linux - Lambordi - 20.07.2013

Hello. I can't run my gamemode on my server hosts Linux server. I ran my script on a windows local-host and it works perfectly. I put all the plugins I use in .so form and uploaded them into the /plugins directory in the FTP. Anyone able to help? I also use colorhost and the mode shows up as unknown. The script is also a Zgaming edit.


Re: Windows to Linux - ColorHost-Kevin - 20.07.2013

Can you paste your log? Its helpful to know whats occurring.


Re: Windows to Linux - Lambordi - 20.07.2013

[05:06:57] Error: Function not registered: 'SSCANF_Init'
[05:06:57] Error: Function not registered: 'SSCANF_Join'
[05:06:57] Error: Function not registered: 'SSCANF_Leave'
[05:06:57] Error: Function not registered: 'sscanf'
[05:06:57] Error: Function not registered: 'WP_Hash'
I do not get those errors on local host though.


Re: Windows to Linux - carz0159 - 20.07.2013

Try a new sscanf plugin in .so and also a new whirlpool.so


Re: Windows to Linux - Lambordi - 20.07.2013

@carz0159 Okay, my scripter will be on tomorrow and will try this. Anyone else have suggestions?


Re: Windows to Linux - Lambordi - 20.07.2013

Tried new plugins. This is what happens with the Whirlpool plugin.

Failed (plugins/Whirlpool.so: wrong ELF class: ELFCLASS64)


Re: Windows to Linux - Jstylezzz - 20.07.2013

Quote:
Originally Posted by Lambordi
Посмотреть сообщение
put all the plugins I use in .so form
You put them into .so form, or did you download the .so form? I'm not sure how much you know about this stuff, but you can't just change the .dll extension to .so by renaming or something, they need to be recompiled for Linux. The .so version of each plugin should be available in the release threads.
Also, check whether you have a x64 or x32 OS. Sometimes the plugin .so version is compiled for both x32 and x64, but sometimes they're separate files, so be sure to pick the good one.