Skip to content
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

Libmosquitto-dev not found Ubuntu 18.x #97

Open
BaHeen0815 opened this issue Nov 27, 2018 · 0 comments
Open

Libmosquitto-dev not found Ubuntu 18.x #97

BaHeen0815 opened this issue Nov 27, 2018 · 0 comments

Comments

@BaHeen0815
Copy link


[the part from README.md]
...
Installation
If you've used a pre-built package to install Mosquitto, you need to make sure you have the development headers installed. On Red Hat-derived systems, this is probably called libmosquitto-devel, and on Debian-based systems it will be libmosquitto-dev.
You may obtain this package using PECL:
pecl install Mosquitto-alpha ---> error msg: (( libmosquitto-dev wasn't found)) (Ubuntu 18.x)
...

to solve .... Try

$ sudo apt-get install libmosquitto-dev
$ sudo pecl install Mosquitto-beta
.... (script running)
Please provide the prefix of the libmosquitto installation [autodetect] : libmosquitto-dev
....
running: /tmp/pear/temp/Mosquitto/configure --with-php-config=/usr/bin/php-config --with-mosquitto=libmosquitto-dev

Test it with php 7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant