From: Takashi Iwai Subject: Re: 1.0.13rc3: relocation error: mocp: symbol snd_pcm_hw_params_get_channels_min .. Date: Wed, 27 Sep 2006 14:35:26 +0200 Message-ID: References: <20060926201319.GA3067@samweis.home.lxtec.de> <1159302210.2899.227.camel@mindpipe> <20060926204053.GB3067@samweis.home.lxtec.de> <1159304610.2899.231.camel@mindpipe> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1159304610.2899.231.camel@mindpipe> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Lee Revell Cc: pkg-alsa-devel , alsa-devel List-Id: alsa-devel@alsa-project.org At Tue, 26 Sep 2006 17:03:29 -0400, Lee Revell wrote: > > On Tue, 2006-09-26 at 22:40 +0200, Elimar Riesebieter wrote: > > On Tue, 26 Sep 2006 the mental interface of > > Lee Revell told: > > > > > On Tue, 2006-09-26 at 22:13 +0200, Elimar Riesebieter wrote: > > > > Hi all, > > > > > > > > I am testing 1.0.13rc3 (lib/driver/utils) on PPC/2.6.18 > > > > > > > > Starting a soundapp like moc gives: > > > > > > > > "relocation error: mocp: symbol snd_pcm_hw_params_get_channels_min, > > > > version ALSA_0.9.0rc4 not defined in file libasound.so.2 with link > > > > time reference" > > > > > > > > Any hints? > > > > > > > > > > Application was compiled against a different alsa-lib version than is > > > present. > > > > This was my idea as well, but apps compiled with versions << 1.0.12 > > are running with 1.0.13rc2? > > It's not guaranteed that using a wrong library version won't work. The backward compatibility is guaranteed. That's the very reason that such a versioned symbol was introduced. (And it was a big failure...) Please don't mix up the things about config files and the library ABI compatibility. In a very rare case, the configuration file doesn't match with the driver version. This happend once on emu10k1 (and people now think that it's a frequent case, unforunately, although we've tried to keep the compatibility of config stuff since then). But, the ABI is kept backward-compatible for many years. So, you don't have to use the same version of alsa-lib. In general, the newer version is always better. The newer one includes more bugfixes and new features. BTW, the problem here looks like a build of alsa-lib with versioned symbols. Or, the app isn't linked to libasound at compile time, so it couldn't resolve the versioned symbols properly. It's a common problem with versioned symbols. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV