Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Cannot start Mosquitto 1.6.2 in Kubernetes

I'm using the dockerfile https://github.com/eclipse/mosquitto/blob/master/docker/1.6/Dockerfile

The dowload and build of the websocket library is part of it, from what I can see.

Thank you for your prompt answer.
Regards.
David


De: "Wolfgang Hottgenroth" <wolfgang.hottgenroth@xxxxxxxxxx>
À: "General development discussions for the mosquitto project" <mosquitto-dev@xxxxxxxxxxx>
Envoyé: Vendredi 14 Juin 2019 17:30:39
Objet: Re: [mosquitto-dev] Cannot start Mosquitto 1.6.2 in Kubernetes

I would assume that the websockets library is not installed in your image. Have you created it on your own? Is it a Debian based one? Then you would just need to install the libwebsockets8 package in your Dockerfile. 

Cheers, Wolfgang 


Am 14.06.2019 um 17:13 schrieb peyrton.david@xxxxxxx:

Hello,
I'm very new to Mosquitto. So, forgive me if the answer to my question is obvious...

I'm running Mosquitto 1.6.2 on Kubernetes.
It fails to start with the log : 
Error loading shared library libwebsockets.so.12: No such file or directory (needed by /usr/sbin/mosquitto)
Error relocating /usr/sbin/mosquitto: lws_get_context: symbol not found
Error relocating /usr/sbin/mosquitto: lws_hdr_total_length: symbol not found
...

It used to work, but it is failing since I built and ran it locally on my Linux.

I cleared all images in my docker repository. But the issue is still here.

I don't understand why a local build can impact a build in a docker image.

Do you have any idea ?
Regards.
David
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/mosquitto-dev

_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top