Skip to content

Platform could not be identified OR illegal instructions #7

Description

@psylopunk

This error means that the library cannot run the libtonlibjson executable, which is used by the layer between the library and liteservers that process requests.

At the moment, the work of the library "out of the box" is guaranteed only on Ubuntu 20+ and new processors. In the future, we would very much like to increase the list of supported hardware, but I myself am unlikely to do it soon. If possible, I would be very happy to pull requests.

If this error has occurred, you need to find or build an executable file suitable for your conditions. To have an idea of how to build it, check out this Dockerfile. In addition, AT YOUR OWN RISK, you can try to use files from this folder.

When you have the right file, do this:
client.init_tonlib(cdll_path="path_to_binary")

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