Skip to content

Prebuilt binary do not load plugin #7305

@Aludirk

Description

@Aludirk

Version information:

go-ipfs version: 0.5.1
Repo version: 9
System version: amd64/darwin
Golang version: go1.13.10

Description:

I made an IPLD plugin for my own usage, it is based on the go-ipfs-example-plugin repo and I tune it so that it can run on IPFS v0.5.1

First, I made a local copy of go-ipfs v0.5.1 and made my plugin import this local copy. After build and install my own plugin to $IPFS_PATH/plugins and run by my build from source go-ipfs daemon, everything works perfectly

However, when I tried to import the official go-ipfs v0.5.1 rather than my local copy and run by prebuilt binary of macOS 64bit binary, the plugin just did not loaded in, and even did not call the Init of the plugin

By the way, both build from source go-ipfs and prebuilt binary are using the same $IPFS_PATH, and share the same config file

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upkind/bugA bug in existing code (including security flaws)topic/buildTopic buildtopic/pluginTopic plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions