LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   library error occurs - plz help (http://www.linuxquestions.org/questions/linux-software-2/library-error-occurs-plz-help-461564/)

eshban 07-06-2006 02:10 PM

library error occurs - plz help
 
Hi,

i successfully installed XINE player, but when i run any audio/video file in it, the player closes itself, and give this message.

xine: relocation error: /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so: symbol snd_pcm_hw_params_set_rate_resample, version ALSA_0.9 not defined in file libasound.so.2 with link time reference

i also installed alsa-lib-1.0.3a-2.src.rpm, but this problem remains at its place. What can i do now.

plz plz hep me in this regard.

I have RHEL 4 installed.

Hope for a response soon

Thanks
Eshban

Lenard 07-07-2006 09:29 AM

Quote:

i also installed alsa-lib-1.0.3a-2.src.rpm, but this problem remains at its place. What can i do now.
Since you download the source rpm for alsa-lib-1.0.3a-2 build it. This is what src.rpm files are for afterall. You properly do not need to build this anyhow, as the binary rpm (what is built from the source rpm) is already installed. To check from the console or xterm session type something like; rpm -qa 'alsa*'


You might want to visit Dag Wieers site and download/install both;
http://dag.wieers.com/packages/rpmforge-release/
http://dag.wieers.com/packages/yum/

Then you can install xine again this time the the other packages you are missing will be installed also, as root or equivalent;

yum -y install xine

eshban 07-08-2006 12:42 PM

Again Problem
 
Hi,

I have remove xine from my PC.

and install your rpm "rpmforge-release-0.3.4-1.el4.rf.i386.rpm"

than i install xine libraries, then xine interface , then codecs

but when i play any file, the software closes itself.

and give me this message

xine: relocation error: /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so: symbol snd_pcm_hw_params_set_rate_resample, version ALSA_0.9 not defined in file libasound.so.2 with link time reference

what can i do now

Lenard 07-08-2006 07:23 PM

Is alsa installed??

rpm -qa 'asla*'
Sample output;
alsa-lib-1.0.11-4
alsa-lib-devel-1.0.11-4
alsa-utils-1.0.11-6

Also try; locate libasound.so.2

Do not worry about the version numbers for the alsa rpm packages yours will be different.

JohnKerryJr 08-06-2006 11:46 PM

alsa relocation error
 
I have FC3 and got the same libasound.so.2 relocation error upon compiling ALSA.

After having installed ALSA-1.0.12rc2, I found I had two instances of libasound.so.2 (/lib and /usr/lib). The one in /lib was from the original RPM, and the one in /usr/lib was the one I compiled with the ALSA tarball.

My solution was to remove (or rename) /lib/libasound.so.2.0.0 and /lib/libasound.so.2 (symlnk)


All times are GMT -5. The time now is 04:33 AM.