Skip to content

mosquitto not found in trunk #302

@bahamas10

Description

@bahamas10
$ pkgin search mosquitto
No results found for mosquitto

I can compile it manually with:

curl -o mosquitto.tar.gz https://mosquitto.org/files/source/mosquitto-2.0.10.tar.gz
mkdir src
tar -xf mosquitto.tar.gz -C src --strip-components=1
cd src/

I then edited config.mk to set WITH_CJSON=no as it failed to compile with it enabled (and i don't personally need it). After, I ran:

prefix=/opt/local make
prefix=/opt/local make install

and it installed.

mosquitto works:

$ mosquitto -h
mosquitto version 2.0.10

pub and sub kinda work:

$ mosquitto_pub --help
ld.so.1: mosquitto_pub: fatal: ../lib/libmosquitto.so.1: open failed: No such file or directory
Killed
$ cd /opt/local/bin/
$ mosquitto_pub --help
mosquitto_pub is a simple mqtt client that will publish a message on a single topic and exit.
mosquitto_pub version 2.0.10 running on libmosquitto 2.0.10.

I want to say this was a known issue and there was some sort of patch for this? I'm not certain though. I spoke with @papertigers and he said to ping @sjorge on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions