Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: 4-stroke on October 13, 2009, 10:29:32 PM

Title: Moc needs libasound.
Post by: 4-stroke on October 13, 2009, 10:29:32 PM
I have OSS installed and tried to install moc via appbrowser. When I try to run it there's an error:

Code: [Select]
mocp: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
Edit:

Installed libasound.tczl and moc starts but won't display any mp3's on my fat32 fomatted usb-stick.

Some more errors:

Code: [Select]
tc@box:~$ mocp
Can't load plugin libmp3_decoder: file not found
Running the server...
Trying ALSA...
ALSA lib conf.c:3009:(snd_config_update_r) Cannot access file /usr/local/share/alsa/alsa.conf
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default
ALSA lib conf.c:3009:(snd_config_update_r) Cannot access file /usr/local/share/alsa/alsa.conf
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
Trying OSS...
Title: Re: Moc needs libasound.
Post by: bmarkus on October 14, 2009, 01:06:59 AM
I have OSS installed and tried to install moc via appbrowser. When I try to run it there's an error:

Code: [Select]
mocp: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
Edit:

Installed libasound.tczl and moc starts but won't display any mp3's on my fat32 fomatted usb-stick.

Just retested on a stock TC 2.3.1 MOC works fine with ALSA and plays mp3 from a stick; you do not need libasound, only its listed dependencies. Works with OSS too adding libasound. There is an error message 'Can't read from mixer' but works and playbacks mp3 too, the only issues is a slow keyboard response.

Unfortunately can't test with ALSA on 2.4.1 because ALSA doesn't work. With OSS on 2.4.1 I get the same missing mixer error on 2.3.1 and mp3 file is not recognized. Will investigate when I got some time.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 14, 2009, 03:11:05 AM
Just recompiled MOC on 2.4.1 now it plays back mp3 with OSS at least on my development machine.
Title: Re: Moc needs libasound.
Post by: 4-stroke on October 14, 2009, 08:27:48 AM
Thank you! 8)
I'll reinstall it and give it a try later tonight.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 14, 2009, 08:38:24 AM
Thank you! 8)
I'll reinstall it and give it a try later tonight.

Wait! It is recompiled, but not yet submitted, it is only on my machine. Before submitting I want to test it a bit more, but I can send you a download link in a PM for testing.
Title: Re: Moc needs libasound.
Post by: 4-stroke on October 14, 2009, 08:44:52 AM
Thank you! 8)
I'll reinstall it and give it a try later tonight.

Wait! It is recompiled, but not yet submitted, it is only on my machine. Before submitting I want to test it a bit more, but I can send you a download link in a PM for testing.

Oh, sorry. I forgot this isn't the puppy linux forum.  ;)

No need to rush.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 14, 2009, 11:55:25 AM
No problem. However you will get it  ;D

Let me know if someone else want to test it.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 15, 2009, 08:13:09 AM

Installed libasound.tczl and moc starts but won't display any mp3's on my fat32 fomatted usb-stick.


libmad.tczl is missing in the dependency list, my mistake. Install it additionally. It is the mpeg decoder package.
Title: Re: Moc needs libasound.
Post by: Juanito on October 15, 2009, 08:18:36 AM
libmad used to be in the base, which probably covered up the lack of the libmad dep...
Title: Re: Moc needs libasound.
Post by: bmarkus on October 15, 2009, 08:42:35 AM
libmad used to be in the base, which probably covered up the lack of the libmad dep...

Not in 2.4.1 and it is logical, why mpeg decoder has to be part of the base?

If you install the listed deps, OSS and libasaound MOC can't load the mp3 plugin which makes .mp3 unknown, therefore not listed by the browser. Adding libmad plugin loads, browser shows mp3 files but still can't play back, reporting 'Can't decode' error. Something is still missing. On my develpment system full with libraries it works, so I'm just trying to find which one is still missing.

I compiled MOC on 2.3 and for sure tested it before submitted.
Title: Re: Moc needs libasound.
Post by: 4-stroke on October 15, 2009, 10:06:14 AM
It's working for me now with libmad installed.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 15, 2009, 10:08:53 AM
It's working for me now with libmad installed.

Which TC/MC version and with ALSA or OSS? If OSS, do you see the mixer error message?
Title: Re: Moc needs libasound.
Post by: 4-stroke on October 15, 2009, 10:12:14 AM
It's working for me now with libmad installed.

Which TC/MC version?


TC 2.4.1

I was messing around making a tcz with opera10 and made a tcz with libaudio for it to work.
That can't be it can it? ???

Edit: Libaudio not libasound...
Title: Re: Moc needs libasound.
Post by: PingPing on October 16, 2009, 05:13:49 AM
I'm using 2.4.1 and I can't get mocp to work.
loading libmad allows me to see my mp3 files but it still won't let me play them (decoder error).
I can't see libaudio listed in the tczls either.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 16, 2009, 05:18:02 AM
A new version is submitted, wait till it appears in the repo and try it then. It is tested with a bare 2.4.1 and OSS. Not with ALSA as ALSA till doesn't work with 2.4.1 on my machines (2.3.1 is OK).
Title: Re: Moc needs libasound.
Post by: Jason W on October 16, 2009, 05:52:29 AM
Bmarkus - if you update the bash extension, alsa should work. 
Title: Re: Moc needs libasound.
Post by: bmarkus on October 16, 2009, 06:15:32 AM
Bmarkus - if you update the bash extension, alsa should work.  

Jason

It was updated on September 19. In the recent days I tried ALSA on fresh installs from the repo, for sure I had the latest/current bash installed. However no luck.

On TC 2.4.1 alsaconf do not find hw, on 2.3.1 it does.


Maybe I'm missing something.
Title: Re: Moc needs libasound.
Post by: Jason W on October 16, 2009, 06:20:33 AM
OK, I see what you are talking about, I don' normally use alsaconf but alsasound instead.  I will check into it.
Title: Re: Moc needs libasound.
Post by: bmarkus on October 16, 2009, 06:24:56 AM
I made a recheck with base nolocal norestore option, installed only ALSA (tczl) and run 'sudo alsaconf'. 2.3.1 founds driver, 2.4.1 not.