Skip to content

version `GLIBCXX_3.4.21' not found (required by plugins/log-plugin.so) #14

@TemaSM

Description

@TemaSM

samp-log (log-plugin.so) compiled using newer version of gcc, but official SAMP server can only use gcc 4.9.2 - libstdc++ 6.0.20 (max supported GLIBCXX_3.4.20):

see screenshot

gcc_libstdc_debian8

If you try to use newer gcc (5, 6, etc) with newer version of libstdc++, samp03svr starts running very unstable with random players disconnects.
That's why when using default gcc (4.9.2), plugin cannot be loaded on server start:

[00:05:00]  Loading plugin: log-plugin.so
[00:05:00]   Failed (/srv/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by plugins/log-plugin.so))

How about to support older version of gcc & libstdc++?
Maybe we can compile samp-log with statically linked libstdc++?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions