[SOLVED] libtdb.so.1 No such file or directory, PulseAudio won't start slackware64-current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
libtdb.so.1 No such file or directory, PulseAudio won't start slackware64-current
I'm experiencing some issues with sound on slackware64-current (March 21, 2016)
Essentially, I have no sound. I'm using an HP Pavilion g7 that was originally a Windows 8 machine I picked up for a song on Craigslist. I know the issue isn't with my hardware, as I have a copy of Alien's "SlakLive" distro on USB, and sound works fine there, so the issue is definitely with my installation. I installed all of the "l" (libs) section, and have determined that libtdb.so.1 does indeed exist (as a softlink to libtdb.so.1.3.7)
This machine has an HDMI as well as a "normal" sound card
Output of lspci (as root)
Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7520G]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 14)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
In researching the issue, I found a few threads relating to the intel hda sound codec in combination with HDMI by specifying which sound device to prefer, however, as I can't get pulseaudio to even start:
Code:
/usr/bin/pulseaudio: error while loading shared libraries: libtdb.so.1: cannot open shared object file: No such file or directory
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
cannot open mixer: Connection refused
Also, I think the output of aplay -l may be of help:
I think I need to set a preference for card 1, device 0 in /etc/asound.conf however without the ability to start pulseaudio or alsamixer to make sure I'm choosing the right device, I'm feeling somewhat stuck. Any advice, hints (or pointing out the glaringly obvious) would be greatly appreciated.
Also, as (I think) a side note, I installed Alien's 32bit compatibility slackbuilds yesterday (so I could use virtualbox from slackbuilds.org), but I was having the same issue before and after that installation, so I don't think I've either helped or hurt myself in this case.
ARCH mismatch most probably. This file is supposed to be in /usr/lib64 if running a 64-bit Slackware, in /usr/lib if 32-bit. Assuming that your pulseaudio is 64 bit, check that you still have /usr/lib64/libtdb.so.1. Maybe an issue with installing multilib.
Last edited by Didier Spaier; 03-27-2016 at 09:10 AM.
Taking both replies into account, I first looked in /usr/lib64 and found that I was missing libtdb.so.1 however, I did find it located in /usr/lib. My first attempt was in creating a softlink (ln -s) to the file in /usr/lib in /usr/lib64 which resulted in an ELF32 mismatch, which I assume means that my pulseaudio is compiled as a pure 64bit application, and I was trying to run it against a 32bit library. Having done some additional searching while waiting for replies, I then took gmgf's suggestion of installing the samba package, which seems to have "fixed" my problem (I now have sound, and volume control) but.... here's my new question.... why do I need to have samba, which I thought was a *nix base file/print server for Windows domains installed in order to have sound on my machine?
My plan (and I'll post an additional reply to let you know how it works out) is to make a copy of the libtdb.so.1 in /usr/lib64, uninstall samba, and then replace the file.
Nonetheless, thanks for the replies, I sincerely appreciate it!!
Just a quick report on "success" ...
I did as I said I would, made a copy of libtdb.so.1.37 out of /usr/lib64, uninstalled samba (which I don't need, or make use of) and then copied libtdb.so.1.37 back into /usr/lib64 and created the symlinks that were there before running removepkg. I have a somewhat OCD obsession with not having software on my system that I'm not using, especially servers, so this seems to be the route that worked best for me. Once again, I appreciate the replies, and if anyone has a better suggestion on how to have solved this issue without installing samba in the first place, I'd appreciate it. I'm a migrating Ubuntu user, and thus far, I love the simplicity and greater control that Slackware offers!!
This is a simple database API. It was inspired by the realisation that in Samba we have several ad-hoc bits of code that essentially implement small databases for sharing structures between parts of Samba.
So, it looks like pulseaudio is using this. It is probably something that can be installed separately and then samba can use the system version, but if it isn't installed, samba will just use an internal one and make it available to the rest of the system.
Also, just for more verification, if you check out ivandi's DEPENDENCIES document (see this thread for more info on it) that samba is a requirement for pulseaudio.
If you really don't want samba included on your system, it looks like you can download and install tdb separately from that website. If that is the case, maybe it'd be worth it for you to generate a SlackBuild and email Pat about possibly separating the two programs in a future version of Slackware (it is likely too late for 14.2 with it already being in release candidate status) so pulseaudio doesn't rely on a seemingly unrelated samba.
If that is the case, maybe it'd be worth it for you to generate a SlackBuild and email Pat about possibly separating the two programs in a future version of Slackware (it is likely too late for 14.2 with it already being in release candidate status) so pulseaudio doesn't rely on a seemingly unrelated samba.
PulseAudio (/usr/bin/pulseaudio in particular) is linked directly or indirectly to 131 libraries. Making libtdb a system library would be a drop in the bucket.
PulseAudio (/usr/bin/pulseaudio in particular) is linked directly or indirectly to 131 libraries. Making libtdb a system library would be a drop in the bucket.
Haha, fair enough. I wasn't sure the extent of requesting something like that or the use of libtdb in other packages.
somewhat off topic... yet another reason I switched to using Slackware, I suppose is the fact that The Man himself chimed in. I don't know if I should be intimidated, or amused....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.