Raised This Month: $32 Target: $400
 8% 

[EXTENSION] cURL & Hash


Post New Thread Reply   
 
Thread Tools Display Modes
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 07-16-2017 , 02:03   Re: [EXTENSION] cURL & Hash
Reply With Quote #201

I having the same problem as Weetabix https://forums.alliedmods.net/showpo...&postcount=199
lugui is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-16-2017 , 03:18   Re: [EXTENSION] cURL & Hash
Reply With Quote #202

Quote:
Originally Posted by lugui View Post
I having the same problem as Weetabix https://forums.alliedmods.net/showpo...&postcount=199
Looks like it needs a simple recompile. Try the attachment and let me know, if it worked.

Note: Source is same as Bara's post.
Attached Files
File Type: so curl.ext.so (2.65 MB, 612 views)
__________________
Spirit_12 is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 07-16-2017 , 12:44   Re: [EXTENSION] cURL & Hash
Reply With Quote #203

Nothing happens. I load it, it says "[SM] Loaded extension curl.ext.so successfully." and when I "sm exts list" it s not loaded

<FAILED> file "curl.ext.so": /home/steam/server-1/tf/addons/sourcemod/extensions/curl.ext.so: cannot open shared object file: No such file or directory

Last edited by lugui; 07-16-2017 at 12:46.
lugui is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 07-16-2017 , 12:55   Re: [EXTENSION] cURL & Hash
Reply With Quote #204

Does it makes any diference if I compile it myself? If yes, how I can compile it?

Last edited by lugui; 07-16-2017 at 12:55.
lugui is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-16-2017 , 13:17   Re: [EXTENSION] cURL & Hash
Reply With Quote #205

Quote:
Originally Posted by lugui View Post
Does it makes any diference if I compile it myself? If yes, how I can compile it?
I'm not sure yet. Haven't really looked much into it, as I've been busy with other projects, so you might have to wait.
__________________
Spirit_12 is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 07-16-2017 , 13:20   Re: [EXTENSION] cURL & Hash
Reply With Quote #206

https://forums.alliedmods.net/showpo...&postcount=101
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 07-16-2017 , 13:29   Re: [EXTENSION] cURL & Hash
Reply With Quote #207

yea, thx, but how exactly i compile it? I think it is not whith the sourcemod compiler
lugui is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-16-2017 , 14:41   Re: [EXTENSION] cURL & Hash
Reply With Quote #208

Extensions are not compiled with sourcemod compiler. They use commercial tools like gcc or Visual Studios.
__________________
Spirit_12 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-17-2017 , 16:38   Re: [EXTENSION] cURL & Hash
Reply With Quote #209

Quote:
Originally Posted by lugui View Post
Nothing happens. I load it, it says "[SM] Loaded extension curl.ext.so successfully." and when I "sm exts list" it s not loaded

<FAILED> file "curl.ext.so": /home/steam/server-1/tf/addons/sourcemod/extensions/curl.ext.so: cannot open shared object file: No such file or directory
I just tried to load it onto my l4d2 server. Don't see anything wrong with it.

PHP Code:
sm exts list
[
SMDisplaying 14 extensions:
[
14cURL Extension (1.3.0.0): cURL Extension 
Did you try a full restart or just tried loading it on, while the server was running?
__________________
Spirit_12 is offline
drhax9908
Member
Join Date: Oct 2014
Old 08-06-2017 , 20:02   Re: [EXTENSION] cURL & Hash
Reply With Quote #210

Quote:
Originally Posted by Spirit_12 View Post
Looks like it needs a simple recompile. Try the attachment and let me know, if it worked.

Note: Source is same as Bara's post.

Your file loads just fine, but the updater plugin By GoD_Tony gives a load failure error for the extension if it the curl wasn't installed in the extensions when the plugin was loaded, i suspect it was the error that lugui experienced.

Quote:
Originally Posted by lugui View Post
Nothing happens. I load it, it says "[SM] Loaded extension curl.ext.so successfully." and when I "sm exts list" it s not loaded

<FAILED> file "curl.ext.so": /home/steam/server-1/tf/addons/sourcemod/extensions/curl.ext.so: cannot open shared object file: No such file or directory
Do you have the updater plugin by GoD_Tony? If that's the case, you had a working extension and all you needed to do was restart the server. If not, open a terminal session on a linux system, and with the terminal's current directory set to a folder with the extension in it, run "ldd curl.ext.so" without quotes, it should tell you what library is missing that it depends on.
drhax9908 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode