| Author |
Message |
jani

Joined: 05 Jan 2008 Posts: 30 Location: Hungary
|
Posted: Sat 26 Sep 2009, 03:17 Post subject:
|
|
Hi
I installed these packages (only 1 & 2 because 3 is not must).
Before the installation i could use ffmpeg apart from mp4 to mp3 conversation.
After the installation when i launch ffmpeg a got this message:
ffmpeg: relocation error: /usr/lib/libavdevice.so.52: symbol snd_pcm_htimestamp, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
I use puppy 4.00 full install.
Could you help me please?
Have you got any idea what is the issue what i have to do?
Thank you
Jani
|
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Sat 26 Sep 2009, 21:50 Post subject:
|
|
Hmmm .....
@jani
It seems that there's an ALSA dependencies that is not met with in puppy 4.0 ..... I believe that puppy 4.0 is using kernel 2.6.21.7 but with an older alsa-1.0.15 ... To resolve this, you will need to upgrade alsa to at least version 1.0.16 (the one used in puppy 4.12) or the latest 1.0.21 ...
I don't remember off hand but puppy 4.00 kernel could be configured differently and my alsa driver upgrade pet would not work properly ... If you need any help with alsa upgrade, please pm me .....
Rgds
|
|
Back to top
|
|
 |
jani

Joined: 05 Jan 2008 Posts: 30 Location: Hungary
|
Posted: Tue 29 Sep 2009, 11:19 Post subject:
|
|
Hi Patriot.
You are right my kernel is 2.6.21.7.
But i don't know my ALSA version. I don't know how can i check it.
(you know i am not a linux expert just an open mind user; may be the the version of alsamixer? it is 1.0.14)
Could you help me how can i upgrade the ALSA libs/progs? to the proper version?
Thank you
Jani
|
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Wed 30 Sep 2009, 03:45 Post subject:
|
|
Hmmm .....
I've made some checks and finally found a suitable symvers to use ... Please go to my alsa-1020 thread here and get the alsa-3in1-k26217-pre-1020 pet package made specifically for puppy 4.00 and puppy 3.01 ...
After installing the alsa upgrade, open a terminal and use alsaconf to reconfigure your soundcard ... I would suggest that you boot using a LiveCD with pfix=ram to try it out first ...
Rgds
|
|
Back to top
|
|
 |
jani

Joined: 05 Jan 2008 Posts: 30 Location: Hungary
|
Posted: Wed 30 Sep 2009, 14:24 Post subject:
|
|
Hi Patriot
I done your instruction and finally the ffmpeg works !!!
I appreciate your help.
Thank you very much.
Jani
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Thu 01 Oct 2009, 01:02 Post subject:
|
|
did you compile against libgsm? It's pretty small and also a useful lossy speech codec similar to speex. It took forever to figure out how to compile a decent shared library though... I am posting a small pet in case someone needs it
EDIT: need to chmod the /usr/lib/libgsm.so...
| Description |
|

Download |
| Filename |
libgsm_DEV-1.0.13-i486.pet |
| Filesize |
17.32 KB |
| Downloaded |
211 Time(s) |
| Description |
|

Download |
| Filename |
libgsm-1.0.13-i486.pet |
| Filesize |
12.67 KB |
| Downloaded |
219 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Last edited by technosaurus on Thu 01 Oct 2009, 01:53; edited 2 times in total
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: Thu 01 Oct 2009, 01:17 Post subject:
|
|
Perhaps you could enlighten us... or at least document it so you don't forget it yourself
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Thu 01 Oct 2009, 01:50 Post subject:
|
|
AFTER
# The basic API: libgsm
ADDED
dotso:
$(LD) $(CFLAGS) $(LFLAGS) -o lib/libgsm.so.1.0.13 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(GSM_SOURCES) -lc
ln -fs libgsm.so.1.0.13 lib/libgsm.so.1
ln -fs libgsm.so.1.0.13 lib/libgsm.so
THEN
make dotso
the files will be in ./lib - I just manually copied them at that point because I was too sick of editing the Makefile to futs with the install part ... CRAP forgot to chmod the .so grrr I'll repack it tomorrow
P.S. I used GSM_SOURCES instead of OBJECTS so the -combine CFLAG would shrink the library
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
|