Closed PT-Player closed 6 years ago
Looks like there are a problem with the last version and Ubuntu.
Maybe is corrupted??
Did you use the compiled version from the Releases page or compiled yourself?
Errors like this usually mean that the C++ compiler used for compiling crashdetect.so used a newer version of libstdc++ than the one on your system. Recompiling the plugin on your system should solve the issue.
I use your version
Try this:
https://github.com/Zeex/samp-plugin-crashdetect#building-on-linux
Specifically this part (as it looks like you have installed all the tools):
cd crashdetect # this is the path where you downloaded / cloned crashdetect code
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
make
You will have crashdetect.so
saved in the crashdetect/build/src
directory after running these commands.
Well sorry for late response, but just only to change to the previous version of crashdetect i can load it.
I'm not very good with Linux, maybe its me maybe its the plugin i dont know.
Its weird...
I have this error also, and I don't have access to the host back-end: (just public files)
Loading plugin: crashdetect.so Failed (plugins/crashdetect.so: symbol _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference)
Can you try this build? It may work for you: crashdetect-4.19-linux.tar.gz
I compiled the above version using an old GCC compiler. If it doesn't work I can't do anything else, you will have to compile it yourself, either on your host or on a virtual machine with the same system as your host.
Yea, thanks worked! may I know which version of GCC you used?
GCC 4.7
Hey can you help me?
Whats is wrong? everytime this problem:
[03/06/2018 18:50:48] Loading plugin: crashdetect.so [03/06/2018 18:50:48] Failed (plugins/crashdetect.so: symbol _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference)
on windows works fine
i already did:
sudo apt-get install gcc g++ make cmake sudo apt-get install gcc-multilib g++-multilib