Skip to content

Unable to find an entry point named 'CreateFastText' in shared library 'fasttext'. #31

Description

@alperenaydinn

Hello, I am trying to use the FastText.NetWrapper library on Mac. I saved the FastText file to usr/local/bin. I directly cloned the FastText.NetWrapper files via Github and tried to try it via console, but I got the following error:

Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named 'CreateFastText' in shared library 'fasttext'.

If anyone has an idea that can help I would be very grateful.

Activity

  1. olegtarasov commented on Mar 18, 2024

    @olegtarasov
    Owner

    Hi! This library is designed to be completely self-reliant, and doesn't require manual dependency installation. It also uses forked fastText binary in order to communicate with .NET code, which is bundled with the base Nuget package. Try deleting the fastText binary you saved to usr/local/bin, since it might interfere with the custom binary.

  2. olegtarasov commented on Mar 18, 2024

    @olegtarasov
    Owner

    Sorry, didn't notice that you are building the wrapper from source. You didn't specify what fastText binary you are using, so make sure you use my fork, the c_api branch: https://github.com/olegtarasov/fastText.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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