Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942680 - sys-cluster/ceph-19.2.0-r1 - radosgw: error while loading shared libraries: libcpp_redis.so: cannot open shared object file: No such file or directory
Summary: sys-cluster/ceph-19.2.0-r1 - radosgw: error while loading shared libraries: l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 950234
  Show dependency tree
 
Reported: 2024-11-01 18:39 UTC by Leonid Kopylov
Modified: 2025-02-28 10:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2024-11-01 18:39:57 UTC
Nov 01 20:37:36 server01 radosgw[57885]: /usr/bin/radosgw: error while loading shared libraries: libcpp_redis.so: cannot open shared object file: No such file or directory
Nov 01 20:37:36 server01 systemd[1]: ceph-radosgw@radosgw.server01.service: Main process exited, code=exited, status=127/n/a
Nov 01 20:37:36 server01 systemd[1]: ceph-radosgw@radosgw.server01.service: Failed with result 'exit-code'.
Nov 01 20:37:36 server01 systemd[1]: ceph-radosgw@radosgw.server01.service: Scheduled restart job, restart counter is at 5.
Nov 01 20:37:36 server01 systemd[1]: ceph-radosgw@radosgw.server01.service: Start request repeated too quickly.
Nov 01 20:37:36 server01 systemd[1]: ceph-radosgw@radosgw.server01.service: Failed with result 'exit-code'.
Nov 01 20:37:36 server01 systemd[1]: Failed to start Ceph rados gateway.



# emerge sys-cluster/ceph -pvq
[ebuild   R   ] sys-cluster/ceph-19.2.0-r1  USE="babeltrace cephfs diskprediction fuse grafana kafka kerberos ldap lttng mgr parquet pmdk rabbitmq radosgw rbd-rwl rbd-ssd rdma rgw-lua spdk sqlite ssl (system-boost) systemd tcmalloc uring xfs zbd -custom-cflags (-dpdk) -jaeger -jemalloc (-selinux) -test" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_10 python3_11 python3_12"

# emerge --info =sys-cluster/ceph-19.2.0-r1
Portage 3.0.66.1 (python 3.13.0-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.40-r5, 6.11.5-gentoo-r1-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.5-gentoo-r1-amd64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-1370P-with-glibc2.40
KiB Mem:    65391636 total,  22526800 free
KiB Swap:    8388604 total,   8377340 free
Timestamp of repository gentoo: Fri, 01 Nov 2024 10:00:00 +0000
Head commit of repository gentoo: 723becb2b9cce7c8a44c54e875175f7d739a502a
Timestamp of repository HomeAssistantRepository: Fri, 01 Nov 2024 09:48:35 +0000
Head commit of repository HomeAssistantRepository: 5b69daf0ed64f5d99bc35c8e5ad888674c9620fb

Head commit of repository brave-overlay: a663e49a7cb51d47ce3884641376f9012f01d3ce

Timestamp of repository guru: Thu, 31 Oct 2024 17:18:29 +0000
Head commit of repository guru: 4ad2470e842df4d760a42039d57157af7c58c041

Timestamp of repository inode64-overlay: Wed, 30 Oct 2024 11:53:01 +0000
Head commit of repository inode64-overlay: 3b14d18d36b78c3c9ddfa2b9483ee994e644e6cd

Timestamp of repository kde: Thu, 31 Oct 2024 20:03:37 +0000
Head commit of repository kde: 5b06cd2175acde98ebab8c38d1b273b73e81d1d4

Head commit of repository kodi-overlay: 8b65cc6959eae502a95fc8e3abf2cca5d349b97a

Timestamp of repository pentoo: Wed, 30 Oct 2024 11:52:55 +0000
Head commit of repository pentoo: ab3d6de0bffe2bb225cc509905ea54eb684dfb18

Timestamp of repository torbrowser: Wed, 30 Oct 2024 14:33:23 +0000
Head commit of repository torbrowser: ea1b872755acddd8c47758bfce73769ceb191b20

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
ccache version 4.10.2 [enabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo, 3.13.0-r100::gentoo
dev-lang/rust:             1.82.0::gentoo
dev-lang/rust-bin:         1.82.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.7::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r6::gentoo, 19.1.3::gentoo
sys-devel/gcc:             12.4.1_p20241031::gentoo, 13.3.1_p20241025::gentoo, 14.2.1_p20241026::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 18.1.8::gentoo, 19.1.3::gentoo
sys-devel/llvm:            15.0.7-r7::gentoo, 16.0.6-r5::gentoo, 17.0.6-r3::gentoo, 18.1.8-r6::gentoo, 19.1.3::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gentoo.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

kodi-overlay
    location: /var/db/repos/kodi-overlay
    sync-type: git
    sync-uri: https://github.com/kodi-overlay/kodi-overlay.git
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode NVIDIA-CUDA NVIDIA-SDK OPERA-2018 PUEL-12 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/sonar/conf /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac accessibility acl acpi alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cet cli colord crypt cryptsetup cuda cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnutls go gpg gpm gstreamer gtk gtk-doc gui hscolour html http iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring kf6compat lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nss nvenc odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils v4l vaapi vala vdpau vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_file authn_socache authz_core authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex brotli cache cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir env expires ext_filter file_cache filter headers http2 ident imagemap include info log_config logio mime mime_magic negotiation ratelimit reqtimeout rewrite session session_cookie session_crypto session_dbd setenvif socache_shmcb speling status substitute tls unique_id unixd userdir usertrack version vhost_alias watchdog xml2enc" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access addition auth_basic auth_ldap auth_pam auth_request autoindex brotli browser charset dav dav_ext echo empty_gif fancyindex fastcgi flv geo geoip geoip2 grpc gunzip gzip image_filter javascript limit_conn limit_req map memc memcached metrics mirror mp4 perl proxy push_stream referer rewrite scgi split_clients ssi stub_status upload_progress upstream_check upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi vhost_traffic_status vod xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip geoip2" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_12 python3_10 python3_11 python3_13 python3_13t" RUBY_TARGETS="ruby31 ruby32 ruby33" UWSGI_PLUGINS="alarm_curl cache carbon cheaper_busyness clock_monotonic clock_realtime corerouter curl_cron dumbloop echo emperor_amqp emperor_pg emperor_zeromq fastrouter forkptyrouter geoip graylog2 http ldap legion_cache_fetch logcrypto logfile logpipe logsocket mongodblog nagios notfound pam ping rados rawrouter redislog router_access router_basicauth router_cache router_expires router_hash router_http router_memcached router_metrics router_redirect router_redis router_rewrite router_spnego router_static router_uwsgi router_xmldir rpc rrdtool rsyslog signal spooler sqlite ssi sslrouter stats_pusher_statsd symcall syslog systemd_logger transformation_chunked transformation_gzip transformation_offload transformation_tofile transformation_toupper tuntap ugreen webdav xattr xslt zabbix zergpool" VIDEO_CARDS="intel fbdev vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-cluster/ceph-19.2.0-r1::gentoo was built with the following:
USE="babeltrace cephfs diskprediction fuse grafana kafka kerberos ldap lttng mgr parquet pmdk rabbitmq radosgw rbd-rwl rbd-ssd rdma rgw-lua spdk sqlite ssl (system-boost) systemd tcmalloc uring xfs zbd -custom-cflags (-dpdk) -jaeger -jemalloc (-selinux) -test" ABI_X86="(64)" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_10 python3_11 python3_12"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
Comment 1 Chris Pfuhl 2024-11-11 18:12:03 UTC
the dependency on libcpp_redis.so can be avoided by putting -DWITH_RADOSGW_D4N:BOOL=OFF
into mycmakeargs in the ebuild. my proxmox radosgw binaries on the same version aren't linked to that either. radosgw works fine after that.

--- /var/db/repos/gentoo/sys-cluster/ceph/ceph-19.2.0-r1.ebuild 2024-11-11 06:00:05.005032093 +0100
+++ /var/db/repos/cpf-overlay/sys-cluster/ceph/ceph-19.2.0-r2.ebuild    2024-11-11 18:49:01.874134597 +0100
@@ -356,6 +356,7 @@
                -DCMAKE_DISABLE_FIND_PACKAGE_fmt=ON
                -Wno-dev
                -DCEPHADM_BUNDLED_DEPENDENCIES=none
+               -DWITH_RADOSGW_D4N:BOOL=OFF
        )
 
        # this breaks when re-configuring for python impl
Comment 2 Leonid Kopylov 2025-01-25 17:03:46 UTC
(In reply to Chris Pfuhl from comment #1)
> the dependency on libcpp_redis.so can be avoided by putting
> -DWITH_RADOSGW_D4N:BOOL=OFF
> into mycmakeargs in the ebuild. my proxmox radosgw binaries on the same
> version aren't linked to that either. radosgw works fine after that.
> 
> --- /var/db/repos/gentoo/sys-cluster/ceph/ceph-19.2.0-r1.ebuild 2024-11-11
> 06:00:05.005032093 +0100
> +++ /var/db/repos/cpf-overlay/sys-cluster/ceph/ceph-19.2.0-r2.ebuild   
> 2024-11-11 18:49:01.874134597 +0100
> @@ -356,6 +356,7 @@
>                 -DCMAKE_DISABLE_FIND_PACKAGE_fmt=ON
>                 -Wno-dev
>                 -DCEPHADM_BUNDLED_DEPENDENCIES=none
> +               -DWITH_RADOSGW_D4N:BOOL=OFF
>         )
>  
>         # this breaks when re-configuring for python impl

is there any way to fix this without removing this dependency?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-25 17:04:44 UTC
We would either have to use the bundled library or package libcpp_redis.
Comment 4 Leonid Kopylov 2025-01-25 17:06:45 UTC
(In reply to Sam James from comment #3)
> We would either have to use the bundled library or package libcpp_redis.

where can i find it?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-25 17:10:36 UTC
It's not yet packaged (someone would need to write an ebuild for it; I don't know if it's in any overlay), so if you want to use the bundled library, you could tr-- no, I think I was wrong on that.

I have a suspicion that this will work:
```
--- a/sys-cluster/ceph/ceph-19.2.0-r2.ebuild
+++ b/sys-cluster/ceph/ceph-19.2.0-r2.ebuild
@@ -316,6 +316,7 @@ src_prepare() {

 ceph_src_configure() {
        local mycmakeargs=(
+               -DBUILD_SHARED_LIBS=OFF
                -DWITH_BABELTRACE:BOOL=$(usex babeltrace)
                -DWITH_BLUESTORE_PMEM:BOOL=$(usex pmdk)
                -DWITH_CEPHFS:BOOL=$(usex cephfs)
```

Can you try that?
Comment 6 Leonid Kopylov 2025-01-25 19:28:38 UTC
(In reply to Sam James from comment #5)
> It's not yet packaged (someone would need to write an ebuild for it; I don't
> know if it's in any overlay), so if you want to use the bundled library, you
> could tr-- no, I think I was wrong on that.
> 
> I have a suspicion that this will work:
> ```
> --- a/sys-cluster/ceph/ceph-19.2.0-r2.ebuild
> +++ b/sys-cluster/ceph/ceph-19.2.0-r2.ebuild
> @@ -316,6 +316,7 @@ src_prepare() {
> 
>  ceph_src_configure() {
>         local mycmakeargs=(
> +               -DBUILD_SHARED_LIBS=OFF
>                 -DWITH_BABELTRACE:BOOL=$(usex babeltrace)
>                 -DWITH_BLUESTORE_PMEM:BOOL=$(usex pmdk)
>                 -DWITH_CEPHFS:BOOL=$(usex cephfs)
> ```
> 
> Can you try that?

yes, this worked, service started
Comment 7 Otto Retter 2025-02-14 21:50:01 UTC
(In reply to Sam James from comment #5)
> It's not yet packaged (someone would need to write an ebuild for it; I don't
> know if it's in any overlay), so if you want to use the bundled library, you
> could tr-- no, I think I was wrong on that.
> 
> I have a suspicion that this will work:
> ```
> --- a/sys-cluster/ceph/ceph-19.2.0-r2.ebuild
> +++ b/sys-cluster/ceph/ceph-19.2.0-r2.ebuild
> @@ -316,6 +316,7 @@ src_prepare() {
> 
>  ceph_src_configure() {
>         local mycmakeargs=(
> +               -DBUILD_SHARED_LIBS=OFF
>                 -DWITH_BABELTRACE:BOOL=$(usex babeltrace)
>                 -DWITH_BLUESTORE_PMEM:BOOL=$(usex pmdk)
>                 -DWITH_CEPHFS:BOOL=$(usex cephfs)
> ```
> 
> Can you try that?

This worked for me as well. Thanks Sam!
Comment 8 INODE64 Sistemas 2025-02-19 07:09:52 UTC
same problem, applying the patch to work
Comment 9 Larry the Git Cow gentoo-dev 2025-02-25 06:36:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d68c0890aa6e633663406368e003a60f13e6f2

commit 99d68c0890aa6e633663406368e003a60f13e6f2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-02-25 06:34:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-25 06:34:01 +0000

    sys-cluster/ceph: don't break installed bundled libraries
    
    The cmake.eclass `-DBUILD_SHARED_LIBS=ON` default breaks bundled libraries
    when they're forced to be shared. Flip it to off given ceph clearly isn't
    supposed to be built with it. Fixes loading libcpp_redis.so at least
    but possibly others.
    
    Closes: https://bugs.gentoo.org/942680
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/ceph/{ceph-18.2.4-r3.ebuild => ceph-18.2.4-r4.ebuild} | 4 +++-
 sys-cluster/ceph/{ceph-19.2.0-r2.ebuild => ceph-19.2.0-r3.ebuild} | 2 ++
 sys-cluster/ceph/{ceph-19.2.1.ebuild => ceph-19.2.1-r1.ebuild}    | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)