Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582220 - dev-db/mariadb - /usr/sbin/mysqld: error while loading shared libraries: libbfd-2.25.1.so: cannot open shared object file: No such file or directory
Summary: dev-db/mariadb - /usr/sbin/mysqld: error while loading shared libraries: libb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 07:24 UTC by Tomáš Mózes
Modified: 2016-05-10 20:51 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 Tomáš Mózes 2016-05-06 07:24:30 UTC
Yesterday I wanted to test out the new MariaDB 10.1.13, it worked just fine:

2016-05-05 11:09:23 dev-db/mariadb-10.1.13:
ok

After an upgrade today:
2016-05-06 06:06:10 dev-lang/php-7.0.6:
2016-05-06 06:15:20 sys-kernel/linux-headers-4.4:
2016-05-06 06:30:13 sys-libs/glibc-2.22-r4:
2016-05-06 06:30:20 sys-devel/gnuconfig-20151214:
2016-05-06 06:30:31 sys-libs/timezone-data-2016a:
2016-05-06 06:32:17 sys-apps/findutils-4.6.0:
2016-05-06 06:33:35 sys-apps/busybox-1.24.2:
2016-05-06 06:33:46 dev-lang/python-exec-2.0.2:
2016-05-06 06:34:03 sys-libs/libseccomp-2.2.3:
2016-05-06 06:34:18 app-portage/portage-utils-0.62:
2016-05-06 06:34:25 virtual/acl-0-r2:
2016-05-06 06:34:41 sys-apps/man-pages-4.04:
2016-05-06 06:34:52 app-admin/eselect-1.4.5:
2016-05-06 06:34:59 sys-devel/binutils-config-5-r2:
2016-05-06 06:35:13 sys-devel/autoconf-2.69:
2016-05-06 06:39:04 dev-libs/openssl-1.0.2h:
2016-05-06 06:39:20 dev-perl/libintl-perl-1.240.0:
2016-05-06 06:39:28 dev-perl/Module-Implementation-0.90.0:
2016-05-06 06:39:57 app-admin/apache-tools-2.4.20:
2016-05-06 06:40:16 app-admin/logrotate-3.9.2:
2016-05-06 06:41:30 net-libs/nghttp2-1.9.2:
2016-05-06 06:43:51 net-dns/bind-tools-9.10.3_p4:
2016-05-06 06:44:18 net-misc/memcached-1.4.25:
2016-05-06 06:46:33 app-misc/mc-4.8.15:
2016-05-06 06:51:29 net-dns/bind-9.10.3_p4:
2016-05-06 06:51:54 dev-db/redis-3.0.7:
2016-05-06 06:53:45 www-servers/apache-2.4.20:

MariaDB fails to start
=> mysql: Restarting...
 * Stopping mysql ...
                                                                                                                                                                                                                                    [ ok ]
 * Checking mysqld configuration for mysql ...
/usr/sbin/mysqld: error while loading shared libraries: libbfd-2.25.1.so: cannot open shared object file: No such file or directory

# ldd /usr/sbin/mysqld
        linux-vdso.so.1 (0x00007ffcfbaf6000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f4caf776000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f4caf566000)
        libaio.so.1 => /lib64/libaio.so.1 (0x00007f4caf363000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f4caf14d000)
        libbfd-2.25.1.so => not found
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f4caeedd000)
        libjemalloc.so.1 => /usr/lib64/libjemalloc.so.1 (0x00007f4caecad000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f4caea76000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4cae85a000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f4cae5e4000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f4cae1a2000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f4cadf9e000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6 (0x00007f4cadc8f000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f4cad991000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 (0x00007f4cad77a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f4cad3de000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4caf99c000)

Running revdep-rebuild showed nothing. A re-reinstall made it working again of course.
Comment 1 SpanKY gentoo-dev 2016-05-06 15:44:01 UTC
packages that want to use libbfd have to depend on binutils-libs
Comment 2 Brian Evans (RETIRED) gentoo-dev 2016-05-06 16:32:16 UTC
mariadb-10.1.14 will be released in the next few days and will have a dep on binutils-libs when bindist is off (the only time it is consumed)
Comment 3 Brian Evans (RETIRED) gentoo-dev 2016-05-10 19:36:13 UTC
Fixed with MariaDB 10.1.14
Comment 4 Tomáš Mózes 2016-05-10 20:51:03 UTC
Thanks Brian.