openmultiplayer / open.mp

Open Multiplayer, a multiplayer mod fully backwards compatible with SA-MP
https://open.mp
Mozilla Public License 2.0
424 stars 79 forks source link

OpenSSL error #934

Closed lPauI closed 1 day ago

lPauI commented 6 days ago

Describe the bug When I try to start omp-server it gives me an error.

To Reproduce Just start omp-server the dyn ssl build on debian 12.

Expected behavior I try to start the server and I get an "No such file or directory" error.

Screenshots and/or logs ./omp-server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Release version v1.2.0.2670

karthigenius commented 6 days ago

Describe the bug When I try to start omp-server it gives me an error.

To Reproduce Just start omp-server the dyn ssl build on debian 12.

Expected behavior I try to start the server and I get an "No such file or directory" error.

Screenshots and/or logs ./omp-server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Release version v1.2.0.2670

Use 32 bit version, As it happened to me in 64 bit version This could be due to running a 64 bit version in 32 bit OS

Vince0789 commented 6 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

lPauI commented 6 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning:

"Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

karthigenius commented 6 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning:

"Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

Did you tried that 32 bit version of dynssl.?

lPauI commented 5 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning: "Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

Did you tried that 32 bit version of dynssl.?

Only 32 bit version of dynssl is released now by open.mp, so the only version that I used by now it's 32 bit.

karthigenius commented 5 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning: "Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

Did you tried that 32 bit version of dynssl.?

Only 32 bit version of dynssl is released now by open.mp, so the only version that I used by now it's 32 bit.

My bad, I didn't see the version, it was fixed up in the nightly version

lPauI commented 5 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning: "Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

Did you tried that 32 bit version of dynssl.?

Only 32 bit version of dynssl is released now by open.mp, so the only version that I used by now it's 32 bit.

My bad, I didn't see the version, it was fixed up in the nightly version

Where is the nightly version?

karthigenius commented 5 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning: "Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

Did you tried that 32 bit version of dynssl.?

Only 32 bit version of dynssl is released now by open.mp, so the only version that I used by now it's 32 bit.

My bad, I didn't see the version, it was fixed up in the nightly version

Where is the nightly version?

https://github.com/openmultiplayer/open.mp/actions/runs/9721039075

lPauI commented 2 days ago

Debian 12 comes with libssl3, which is entirely the reason why there is a static build (using libssl1.1) available for download.

Yes but if I use the static build, when I run the server I get this warning: "Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

Did you tried that 32 bit version of dynssl.?

Only 32 bit version of dynssl is released now by open.mp, so the only version that I used by now it's 32 bit.

My bad, I didn't see the version, it was fixed up in the nightly version

Where is the nightly version?

https://github.com/openmultiplayer/open.mp/actions/runs/9721039075

Even in the nightly version I get the same error.

./omp-server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

AmyrAhmady commented 1 day ago

@lPauI

"Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

If you are not using any of those plugins, then ignore this warning, it clearly says it might crash because of those two and nothing else

Even in the nightly version I get the same error.

./omp-server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

This means you are using dynssl version, in order to use dynssl you MUST have libssl 1.1 installed on your linux, use google to learn how to install it

lPauI commented 1 day ago

@lPauI

"Running static OpenSSL build - plugins that use OpenSSL might crash (discord-connector, pawn-requests). It's recommended to use the dynssl build."

If you are not using any of those plugins, then ignore this warning, it clearly says it might crash because of those two and nothing else

Even in the nightly version I get the same error. ./omp-server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

This means you are using dynssl version, in order to use dynssl you MUST have libssl 1.1 installed on your linux, use google to learn how to install it

Actually I use discord-connector so I need to use the dynssl version. How can I install libssl 1.1 on debian 12? I think libssl1.1 is deprecated and I can't install it on modern linux.