View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue Aug 28, 2018 1:37 pm Post subject: Where to find libaudio.so.2 ? Porting from Ubuntu [SOLVED] |
|
|
I'm trying to run a java program developed for Windows and Ubuntu, SageTv.
The latest version does everything but display in real time. For that it uses a modified form of mplayer. When run on my Gentoo systems, this mplayer crashes and re-spawns quickly. in a few minutes "ps a|grep mplayer" shows from the PID that mplayer has re-spawned thousands of times.
Code: | MSI ~ # ps a|grep mplayer
18513 pts/1 S+ 0:00 grep --colour=auto mplayer
MSI ~ # ps a|grep mplayer
18519 pts/1 S+ 0:00 grep --colour=auto mplayer
MSI ~ # ps a|grep mplayer
18521 pts/1 S+ 0:00 grep --colour=auto mplayer
MSI ~ # ps a|grep mplayer
18523 pts/1 S+ 0:00 grep --colour=auto mplayer |
Code: | $ ./mplayer --help
./mplayer: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory |
One of the developers suggested that I may be missing libalsa or libpulse. They are using a customized mplayer (which I am attempting to run).
I don't use pulseaudio and hate to do so. Portage has no package named libalsa but it sounds promising. "equery b" only works on packages already installed. Is there a way, maybe with eix, that will search for a package that provides libaudio.so ?
Last edited by Tony0945 on Tue Aug 28, 2018 3:40 pm; edited 1 time in total |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Tue Aug 28, 2018 1:50 pm Post subject: |
|
|
libaudio.so.2 not alsa, don't know about pulseaudio but a good chance
edit to add:
Quote: | that will search for a package that provides libaudio.so ? |
I don't know of something that will tell you what might be installed, either someone that has pulseaudio installed can view their files "equery f pulseaudio"
or you can fetch (don't need to install) pulseaudio and look at the tarball and see if it indeed is there.
eta2: googled libaudio.so.2 and debian mentions it comes from a package called Network Audio System, which is probably media-libs/nas _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30908 Location: here
|
Posted: Tue Aug 28, 2018 2:01 pm Post subject: |
|
|
libaudio.so is contained in media-libs/nas package
Code: | $ equery f nas | grep libaudio
/usr/lib64/libaudio.so
/usr/lib64/libaudio.so.2
/usr/lib64/libaudio.so.2.4 |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Tue Aug 28, 2018 2:04 pm Post subject: |
|
|
Now, you know that mplayer is in portage, so you could have just installed that package and have all the needed dependencies for mplayer... |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue Aug 28, 2018 3:34 pm Post subject: |
|
|
ct85711 wrote: |
Now, you know that mplayer is in portage, so you could have just installed that package and have all the needed dependencies for mplayer... |
The package uses a modified mplayer. I tried replacing it with my Gentoo mplayer. Didn't work. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue Aug 28, 2018 3:39 pm Post subject: |
|
|
fedeliallalinea wrote: | libaudio.so is contained in media-libs/nas package |
Thank you. The application will also play music and videos from the network so this makes sense. It might not be needed since I don't do that, but it's best to clear all error messages.
I suspect that mplayer is crashing because of the missing DLL and the application respawns it.
And thank you too, Anon-A-Moose. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Wed Aug 29, 2018 9:31 am Post subject: |
|
|
Tony0945 wrote: | ct85711 wrote: |
Now, you know that mplayer is in portage, so you could have just installed that package and have all the needed dependencies for mplayer... |
The package uses a modified mplayer. I tried replacing it with my Gentoo mplayer. Didn't work. |
What ct85711 meant was: by emerging mplayer you would have gained its dependencies, making it possible to find libaudio.so on your system. Although this is only the case with USE=nas enabled. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Aug 29, 2018 12:41 pm Post subject: |
|
|
Mplayer no longer crashing with nas emerged. I downloaded the source and compared it to the Gentoo source. So far, all I see are differences in comments. Ubuntu must distribute with all options enabled because their (Ubuntu-based) executable is four times the size of my Gentoo executable.
Following a post on their forum on how to debug with gdb, I find a segfault inside java. All I know about java is that it's a pain in the butt to do those Oracle pre-fetches. Considering taking a course at the local community college. Tuition is $169. Probably worth it. |
|
Back to top |
|
|
|