Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669564 - sys-cluster/cluster-glue should DEPEND on dev-libs/libltdl - pacemakerd: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
Summary: sys-cluster/cluster-glue should DEPEND on dev-libs/libltdl - pacemakerd: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-25 10:08 UTC by Hector Martin
Modified: 2019-04-14 20:04 UTC (History)
0 users

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 Hector Martin 2018-10-25 10:08:41 UTC
Using a binary package on another host:

# pacemakerd --version

pacemakerd: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory

# ldd /usr/lib64/libpils.so.2 

        linux-vdso.so.1 (0x00007fffb7be2000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fac8b1be000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fac8ae8d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fac8b796000)
        libltdl.so.7 => not found
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fac8ac48000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fac8aa27000)

On the build host:

# ldd /usr/lib64/libpils.so.2 

        linux-vdso.so.1 (0x00007ffdcf5e0000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f1b6a0be000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f1b69d8d000)
        libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f1b69b81000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f1b6a696000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f1b6993c000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1b6971b000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f1b69517000)   

# qfile /usr/lib/libltdl.so.7
dev-libs/libltdl (/usr/lib64/libltdl.so.7)
# qfile /usr/lib64/libpils.so.2
sys-cluster/cluster-glue (/usr/lib64/libpils.so.2)

Libtool depends on libltdl, so this is largely going to bite hosts using binary package servers, since almost every Gentoo system being used to compile packages will have libltdl.
Comment 1 Ultrabug gentoo-dev 2019-04-14 20:04:17 UTC
Thanks for reporting, I've fixed latest version only without revbump