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

mosquitto_pub -l and cmake problem #983

majekw opened this Issue Oct 7, 2018 · 1 comment


None yet
2 participants
Copy link

majekw commented Oct 7, 2018


mosquitto_pub -l compiled using cmake on Linux gives error:
Error: '-l' mode not available, threading support has not been compiled in.

It looks like using cmake, WITH_THREADING is set only in lib/ directory with local CMakeLists.txt and it's not a global Makefile flag. This way client/ doesn't see WITH_THREADING set and this was no issue until dde005e.

I put WITH_THREADING related config also to client/ directory in #982 and it fixes issue for me.

I suppose that this was also broken on Mac and maybe WIN, but went unnoticed.

@ralight ralight added this to the 1.5.4 milestone Nov 7, 2018


This comment has been minimized.

Copy link

ralight commented Nov 7, 2018

This is closed thanks to your PR and will be in 1.5.4 shortly.

@ralight ralight closed this Nov 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.