openwrt / openwrt/packages

Package libmosquittopp is missing dependencies for the following libraries: libmosquitto.so.1

Open
#7,794 7 comments 0 reactions 1 assignee View on GitHub

@karlp is already working on this.

Since Dec 27, 2018.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @karlp
Environment: OpenWrt master

Description:
Trying to build an image with libmosquittopp included and keep running into this issue:

Package libmosquittopp is missing dependencies for the following libraries:
libmosquitto.so.1

This problem has been occurring me for quite some time, we've talked about it in IRC before but never found a fix. This happens after make dirclean. I usually work around it with this hack:

diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index c374faa647..49feb97d4d 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -75,7 +75,7 @@ ifneq ($(PKG_NAME),toolchain)
                if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \
                        echo "Package $(1) is missing dependencies for the following libraries:" >&2; \
                        cat "$(PKG_INFO_DIR)/$(1).missing" >&2; \
-                       false; \
+                       true; \
                fi; \
        )
   endef

Mosquitto related symbols in config:

$ grep -i mosquitto .config
# CONFIG_PACKAGE_libmosquitto-nossl is not set
CONFIG_PACKAGE_libmosquitto-ssl=y
CONFIG_PACKAGE_libmosquittopp=y
# CONFIG_PACKAGE_mosquitto-client-nossl is not set
# CONFIG_PACKAGE_mosquitto-client-ssl is not set
CONFIG_PACKAGE_mosquitto-nossl=y
# CONFIG_PACKAGE_mosquitto-ssl is not set

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.