I'm trying to release paho.mqtt.cpp as a dependency of one of our packages.
If fails on the error: dpkg-shlibdeps: error: cannot find library libpaho-mqtt3as.so.1
build output
However this minimal docker works just fine:
FROM ros:noetic
RUN apt-get update -qq
RUN apt-get install -qqy git fakeroot dpkg-dev debhelper
RUN apt-get install -qqy ros-noetic-paho-mqtt-c
RUN git clone -b debian/noetic/focal/paho-mqtt-cpp https://github.com/nobleo/paho.mqtt.cpp-release
WORKDIR paho.mqtt.cpp-release
RUN apt-get install -qqy apt-src
RUN apt-src import ros-noetic-paho-mqtt-cpp --here --version 1.2.0-2
RUN apt-src build ros-noetic-paho-mqtt-cpp
RUN apt install ../ros-noetic-paho-mqtt-cpp_1.2.0-2focal_amd64.deb
The file libpaho-mqtt3as.so.1
is also present in this dockerfile. And on my laptop upon installing ros-noetic-paho-mqtt-c
.
Where did the file go on the buildfarm?
Originally posted by Timple86 on ROS Answers with karma: 80 on 2021-11-02
Post score: 0