Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: PSL on Jan 27, 2025, 02:48 PM

Title: Linux Server problem
Post by: PSL on Jan 27, 2025, 02:48 PM
.so: cannot open shared object file: No such file or directory
Failed to load plugin: squirrel04rel64


.
├── announce.log
├── plugins
│   ├── announce04rel64.so
│   ├── mysql04rel64.so
│   ├── sockets04rel64.so
│   └── squirrel04rel64.so
├── scripts
│   └── main.nut
├── server64
├── server.cfg
└── server_log.txt

gamemode Default
plugins announce04rel64 squirrel04rel64
port 8192
sqgamemode scripts/main.nut

What kind of question is that
Title: Re: Linux Server problem
Post by: habi2 on Jan 28, 2025, 02:19 AM
Change line encoding of server.cfg to LF. Use Notepad++
Title: Re: Linux Server problem
Post by: PSL on Jan 28, 2025, 05:14 AM
Thank you. That problem has been solved, but a new problem has arisen

Loaded plugin: announce04rel64

Plugin error >> 'plugins/mysql04rel64.so' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: mysql04rel64

Plugin error >> 'plugins/sockets04rel64.so' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: sockets04rel64

Loaded plugin: squirrel04rel64
Title: Re: Linux Server problem
Post by: habi2 on Jan 28, 2025, 10:03 AM
May be the mysql04rel64 is old. Download latest one from https://forum.vc-mp.org/index.php?topic=6031.0

Did it fixed the problem?
Title: Re: Linux Server problem
Post by: PSL on Jan 28, 2025, 11:31 AM
Oh no, I used the plugin from 2015, I switched to 2018 now, the problem is fixed