SRPM dependancy error with libasound

Building from the SDL-1.1.7-1 SRPM, I get a dependency failure when
trying to install the built package (compiles fine).

I have alsa-lib-0.5.10 installed (built from tar.bz2). Proof:

ldconfig -p | grep libasound

      libasound.so.1 (libc6) => /usr/lib/libasound.so.1
      libasound.so (libc6) => /usr/lib/libasound.so

ls -l /usr/lib/libasound*

/usr/lib/libasound.a
/usr/lib/libasound.la
/usr/lib/libasound.so -> libasound.so.1.0.1
/usr/lib/libasound.so.1 -> libasound.so.1.0.1
/usr/lib/libasound.so.1.0.0
/usr/lib/libasound.so.1.0.1

The configure script finds my alsa stuff and compiles for it:

./configure

checking for sys/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes

Trying to install the binary RPM:

rpm -Uvh /usr/src/RPM/RPMS/i686/SDL-*

error: failed dependencies:
libasound.so.1 is needed by SDL-1.1.7-1

Versions:

Mandrake 7.0 + my updates w/ kernel 2.2.18
rpm-3.0.3-43mdk
binutils-2.9.5.0.16-2mdk
alsa-lib-0.5.10 (built from tar.bz2…ie, no RPM data)–
cameron
[ Whose cruel idea was it for the word “lisp” to have an “s” in it? ]

Building from the SDL-1.1.7-1 SRPM, I get a dependency failure when
trying to install the built package (compiles fine).

Trying to install the binary RPM:

rpm -Uvh /usr/src/RPM/RPMS/i686/SDL-*

error: failed dependencies:
libasound.so.1 is needed by SDL-1.1.7-1

alsa-lib-0.5.10 (built from tar.bz2…ie, no RPM data)

That’s why. RPM doesn’t know about libasound. Try installing with --nodeps

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software