Bug#970747: liblinphone-dev: should depend on liblinphone++10
Andres Salomon
dilinger at queued.net
Tue Sep 22 22:22:34 BST 2020
Package: liblinphone-dev
Version: 4.4.0-1
Severity: serious
While building linphone-desktop, I hit the following build error:
CMake Error at /usr/share/LinphoneCxx/cmake/LinphoneCxxTargets.cmake:70
(message):
The imported target "linphone++" references the file
"/usr/lib/x86_64-linux-gnu/liblinphone++.so.10"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/share/LinphoneCxx/cmake/LinphoneCxxTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/share/LinphoneCxx/cmake/LinphoneCxxConfig.cmake:33 (include)
CMakeLists.txt:165 (find_package)
dilinger at e7470:/home/dev/linphone-desktop-4.2.2$ dpkg -S
/usr/lib/x86_64-linux-gnu/liblinphone*so
liblinphone-dev: /usr/lib/x86_64-linux-gnu/liblinphone++.so
liblinphone-dev: /usr/lib/x86_64-linux-gnu/liblinphone.so
dilinger at e7470:/home/dev/linphone-desktop-4.2.2$ ls -lh
/usr/lib/x86_64-linux-gnu/liblinphone*so
lrwxrwxrwx 1 root root 19 Aug 31 19:03
/usr/lib/x86_64-linux-gnu/liblinphone++.so -> liblinphone++.so.10
lrwxrwxrwx 1 root root 17 Aug 31 19:03
/usr/lib/x86_64-linux-gnu/liblinphone.so -> liblinphone.so.10
dilinger at e7470:/home/dev/linphone-desktop-4.2.2$ ls -lh
/usr/lib/x86_64-linux-gnu/liblinphone*so.10
-rw-r--r-- 1 root root 3.6M Aug 31 19:03
/usr/lib/x86_64-linux-gnu/liblinphone.so.10
As you can see, liblinphone++.so.10 is missing. It seems like
liblinphone-dev should depend on both liblinphone10 AND
liblinphone++10, but right now it only depends on
liblinphone10.
More information about the Pkg-voip-maintainers
mailing list