xkaraman left a comment (kamailio/kamailio#4241)
> Could you look at this output for the build
>
> ```
> -- Found ZSTD: /usr/lib/libzstd.so
> -- RdKafka not found... checking with pkg-config
> -- Checking for module 'rdkafka'
> -- Found rdkafka, version 2.6.1
> -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.3.3")
> CMake Error at /usr/lib/cmake/rabbitmq-c/rabbitmq-targets.cmake:101 (message):
> The imported target "rabbitmq::rabbitmq-static" references the file
>
> "/usr/lib/librabbitmq.a"
>
> 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/lib/cmake/rabbitmq-c/rabbitmq-targets.cmake"
>
> but not all the files it references.
>
> Call Stack (most recent call first):
> /usr/lib/cmake/rabbitmq-c/rabbitmq-c-config.cmake:50 (include)
> src/modules/kazoo/CMakeLists.txt:21 (find_package)
> ```
>
> But in the system installed packages
>
> ```
> # apk list --installed | grep rabbit
> rabbitmq-c-0.14.0-r0 x86_64 {rabbitmq-c} (MIT) [installed]
> rabbitmq-c-dev-0.14.0-r0 x86_64 {rabbitmq-c} (MIT) [installed]
> ```
>
> and in the systemd present `rabbitmq-c-config.cmake` file
>
> ```
> ls -la /usr/lib/cmake/rabbitmq-c/rabbitmq-c-config.cmake
> -rw-r--r-- 1 root root 1673 Mar 27 2024
> /usr/lib/cmake/rabbitmq-c/rabbitmq-c-config.cmake
> ```
>
> For now, start building I use
>
> ```
> cmake -S . -B build-alpine -DCMAKE_INSTALL_PREFIX=/usr -DVERBOSE=off
> -DBUILD_DOC=ON --fresh -DEXCLUDE_MODULES="db_oracle dnssec jwt microhttpd
> nats nsq ruxc secsipid_proc stirshaken tls_wolfssl app_lua app_java
> app_python erlang geoip" -DCMAKE_BUILD_TYPE="MinSizeRel"
> -DMODULE_GROUP_NAME="ALL" -DINCLUDE_MODULES=""
> ```
Hmm, the `rabbitmq-c-dev` packages need the static version of library but it's
not installed with it. Trying installing `rabbitmq-c-static` and this should be
fixed.
Maybe an issue can be opened on alpine that `dev` package should also install
`static` one, since it's required if one want to link with the static version
of the app.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4241#issuecomment-3196335035
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4241/3196335...@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!