rtldg / sm_closestpos

3 stars 5 forks source link

<FAILED> file "closestpos.ext.so": dlopen failed #3

Closed h4sard closed 5 months ago

h4sard commented 5 months ago

Hello,

When adding this extension to my server it doesn't load and the error message is:

file "closestpos.ext.so": dlopen failed on '/home/steve/SteamCMD/css/cstrike/addons/sourcemod/bin/sourcemod.logic.so' Is this anything you ever heard of ? Tell me if you require some specific details, I'll try to give them to you Thanks
rtldg commented 5 months ago

It's related to this RTLD_NOLOAD+dlopen I think. https://github.com/rtldg/sm_closestpos/blob/620269af841dd5a8e289f2c85a03f988a6fa8648/extension.cpp#L168 I'll edit it to get Github Actions to build it if you want to try.

rtldg commented 5 months ago

sm_closestpos-sm1.10-ubuntu-20.04-431883d.zip Test if the closestpos.ext.so from that (#4) works

h4sard commented 5 months ago

It still say the same error message, Does it matter that I am on Ubuntu 22 and using sm 1.11 ? (because file name says sm1.10 and ubuntu 20)

rtldg commented 5 months ago

No, it doesn't matter. It's (supposed to be) compatible with Ubuntu 22 and sm1.11. I'll try something else soon:tm: since you still get that error though.

rtldg commented 5 months ago

Can you try this? The dlopen is probably superfluous and this sees if it works after removing it sm_closestpos-sm1.10-ubuntu-20.04-8771fad.zip

h4sard commented 5 months ago

Hello, I tried the first one you gave me again (https://github.com/rtldg/sm_closestpos/files/15044074/sm_closestpos-sm1.10-ubuntu-20.04-431883d.zip) and it is working ! Seems like I copied the wrong file the first time I tried,

I also tried the second one you made just in case and that one isn't working, it says: " file "closestpos.ext.so": failed to resolve symbol g_pCoreIdent"

Sorry for making you waste more time than necessary on this, thank you :)

rtldg commented 5 months ago

Np. I merged the pr so I'll close this now