View Single Post
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 06-10-2018 , 22:50   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #92

I tried compressing files with a plugin I was coding and it didn't work.

I used the test plugin and got this error:
Code:
L 06/10/2018 - 22:39:11: [SM] Exception reported: FAILURE: 7-ZIP should be available. Expected true, but was false
L 06/10/2018 - 22:39:11: [SM] Blaming: system2_test.smx
L 06/10/2018 - 22:39:11: [SM] Call stack trace:
L 06/10/2018 - 22:39:11: [SM]   [0] ThrowError
L 06/10/2018 - 22:39:11: [SM]   [1] Line 1111, C:\Users\grant\Documents\SourceMod Projects\projects\Any Game\My Plugins\BZ2 Compression\system2_test.sp::assertTrue
L 06/10/2018 - 22:39:11: [SM]   [2] Line 188, C:\Users\grant\Documents\SourceMod Projects\projects\Any Game\My Plugins\BZ2 Compression\system2_test.sp::PerformTests
L 06/10/2018 - 22:39:11: [SM]   [3] Line 123, C:\Users\grant\Documents\SourceMod Projects\projects\Any Game\My Plugins\BZ2 Compression\system2_test.sp::OnTest
I entered the command that is used for the compression itself into my command line:
Code:
"/home/tf2server/serverfiles/tf/addons/sourcemod/data/system2/linux/amd64/7z" a -tbzip2 "/home/tf2server/serverfiles/tf/custom/server/maps/vsh_crashbox_b4.bsp.bz2" "/home/tf2server/serverfiles/tf/custom/server/maps/vsh_crashbox_b4.bsp" -mmt -mx9 2>&1
This is what I got after entering the command:
Code:
/home/tf2server/serverfiles/tf/addons/sourcemod/data/system2/linux/amd64/7z: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/tf2server/serverfiles/tf/addons/sourcemod/data/system2/linux/amd64/7z)
I ensured that the 7Zip executable has the permissions 744. Running Debian 8 btw. Any help is appreciated!

Last edited by ThatKidWhoGames; 06-10-2018 at 22:53.
ThatKidWhoGames is offline