here is where the debian maintainer removed static files https://salsa.debian.org/debian/libphonenumber/-/commit/ae644645da0fc5f6958430aae734df4c8c7f3e70

@linuxmaniac

As far as I can understand, here is the configure step of cmake. They don't set BUILD_STATIC_LIB to OFF and therefore both shared and static are built and their targets do exist.

So, by not installing the static libraries, the static target complains that the static library is not found and rightfully so. Either the debian packager must set the BUILD_STATIC_LIB option to OFF if they don't want to offer the static version, or install the the static as well.

That's my understanding so far, please let me know if I get something wrong! and if there is a way to create an issue for the debian packager

For rpm it will be

[root@nout SPECS]# rpm -qa | grep libphonenum
libphonenumber-8.13.45-1.fc41.x86_64
libphonenumber-devel-8.13.45-1.fc41.x86_64

For Fedora
https://kojipkgs.fedoraproject.org//packages/libphonenumber/8.13.45/1.fc41/data/logs/x86_64/build.log from here I see that both are installed and picks up correctly therefore


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4053/2607367956@github.com>