sergey-safarov 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=""
```

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

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