sergey-safarov left a comment (kamailio/kamailio#4241)

Yes, the module was linked dynamically.
```
~ $ LD_PRELOAD=/usr/sbin/kamailio ldd /usr/lib/kamailio/modules/rabbitmq.so
        /lib/ld-musl-x86_64.so.1 (0x7f1274453000)
        /usr/sbin/kamailio => /usr/sbin/kamailio (0x7f1273f6d000)
        librabbitmq.so.4 => /usr/lib/librabbitmq.so.4 (0x7f1273f58000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x7f1273f4f000)
        libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f1274453000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x7f1273e82000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x7f12739bd000)
```
That means the config script looks for statically linked libraries, but it is 
not used for source compilation.
This leads to installing the unnecessary package `rabbitmq-c-static` on Alpine 
Linux.
Can `cmake`  configuration rules be changed to test `rabbitmq-c` using dynamic 
linking?
This will prevent to installation unnecessary package `rabbitmq-c-static` on 
Alpine Linux.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4241#issuecomment-3197863319
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4241/3197863...@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