> 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](https://salsa.debian.org/debian/libphonenumber/-/blob/debian/sid/debian/rules?ref_type=heads#L32).
 They don't set [BUILD_STATIC_LIB]( 
https://github.com/google/libphonenumber/blob/ff8fbbdb2ffe12aff1c7f54d5314b2ef58488874/cpp/CMakeLists.txt#L91)
 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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4053#issuecomment-2607367956
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4053/2607367...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to