-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on plugin load: runtime.tlsg: initial-exec TLS resolves to dynamic definition #20
Comments
There's an ongoing bug when using cgo (which the plugin uses to implement mosquitto's expected plugin interface) on Alpine as it uses muslibc instead of glibc, as referenced in #14. I mentioned some possible workarounds at #15 (comment), but still haven't tried any of those, so it'd be really helpful if you are willing and have the time to give it a go. |
I can't get it working with Alpine, using the suggestion above. |
Ok, thanks. I don't use docker and don't have the time right now to learn it properly and come up with a decent image, but I'll leave this open for the future. In case you get it to work or believe that an alternative such as using |
Hi, @huiser. I tried some workarounds a couple of days ago but couldn't get it to work with Alpine. I had started building another image based on So I intend to rework on it next monday and add it to the repo in a
That's unless you wish to contribute your |
I just added an example based in |
2019-05-29T16:26:23: mosquitto version 1.6.2 starting
2019-05-29T16:26:23: Config loaded from /mosquitto/mosquitto.conf.
2019-05-29T16:26:23: Loading plugin: /mosquitto/go-auth.so
2019-05-29T16:26:23: Error: Unable to load auth plugin "/mosquitto/go-auth.so".
2019-05-29T16:26:23: Load error: Error relocating /mosquitto/go-auth.so: runtime.tlsg: initial-exec TLS resolves to dynamic definition in /mosquitto/go-auth.so
Mosquitto is built from source in Alpine Linux Docker container
The text was updated successfully, but these errors were encountered: