LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-26-2016, 11:54 AM   #1
adennis
LQ Newbie
 
Registered: Mar 2016
Location: Dallas, TX
Distribution: Slackware
Posts: 21

Rep: Reputation: Disabled
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:

Code:
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: 92HD87B2/4 Analog [92HD87B2/4 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
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.
 
Old 03-27-2016, 01:36 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
Probably pulseaudio need recompil with the latest samba package
 
Old 03-27-2016, 01:39 AM   #3
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
my first comment is bad


try to install or reinstall samba package

Last edited by gmgf; 03-27-2016 at 01:44 AM.
 
1 members found this post helpful.
Old 03-27-2016, 07:08 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 03-28-2016, 10:33 AM   #5
adennis
LQ Newbie
 
Registered: Mar 2016
Location: Dallas, TX
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thumbs up Fixed!! Somewhat...

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!!
 
Old 03-28-2016, 10:44 AM   #6
adennis
LQ Newbie
 
Registered: Mar 2016
Location: Dallas, TX
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: Disabled
Solved

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!!
 
1 members found this post helpful.
Old 03-28-2016, 12:33 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Looking at https://tdb.samba.org/, it states:

Quote:
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.
 
1 members found this post helpful.
Old 03-28-2016, 01:13 PM   #8
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by bassmadrigal View Post
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.
 
4 members found this post helpful.
Old 03-28-2016, 01:22 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by volkerdi View Post
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.
 
Old 03-28-2016, 02:59 PM   #10
adennis
LQ Newbie
 
Registered: Mar 2016
Location: Dallas, TX
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: Disabled
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....
 
Old 03-28-2016, 03:09 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by adennis View Post
I don't know if I should be intimidated, or amused....
http://i.imgur.com/c7NJRa2.gif
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware64-current (aug. 9th 2015) dhcpcd No such file or directory lemurian Slackware 17 08-18-2015 05:25 AM
Pulseaudio + Slackware64-current WillMcDade Slackware 11 06-14-2014 02:56 AM
[SOLVED] Proper pulseaudio setup for Slackware64-current rmjohnso Slackware 15 03-04-2010 08:19 PM
slackware64-current : pulseaudio compilation fails, wrong version of libtool pokipoki08 Slackware 2 07-31-2009 11:59 PM
[SOLVED] what's that directory (slackware64-current) sycamorex Slackware 3 05-30-2009 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration