PDA

View Full Version : SLED 11 SP2 x864 - unable to locate libSDL-1.2.so.0



sharfuddin
26-Mar-2012, 07:48
when
rpm -ql SDL |grep "so.*"
/usr/lib64/libSDL-1.2.so.0
/usr/lib64/libSDL-1.2.so.0.11.2

rpm -qf /usr/lib64/libSDL-1.2.so.0
SDL-1.2.13-104.32

rpm -qf /usr/lib64/libSDL-1.2.so.0.11.2
SDL-1.2.13-104.32

but
rpm -q --whatprovides libSDL-1.2.so.0
no package provides libSDL-1.2.so.0

rpm -q --whatprovides libSDL-1.2.so.0.11.2
no package provides libSDL-1.2.so.0.11.2

anyone please help ?

Regards,
Muhammad Sharfuddin

ab
26-Mar-2012, 13:34
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That is not always (usually?) how RPMs work. The dependency pieces of
RPM do not automatically include every possible file within them, or
even all libraries, as things provided. Instead programmers should be
looking for what I am guessing are more like symbols of packages (that
may be the wrong word/idea, but it's something that corresponds to the
content of the file and not the file name itself). For example:

Code:
- --------------------
ab@mybox0:~/Desktop> rpm -q --provides libSDL-1_2-0-1.2.14-17.1.2.x86_64
SDL = 1.2.14
libSDL-1.2.so.0()(64bit)
libSDL-1_2-0 = 1.2.14-17.1.2
libSDL-1_2-0(x86-64) = 1.2.14-17.1.2
- --------------------

As you can see above the libSDL-1_2-0-1.2.14-17.1.2.x86_64 package
provides features that are SDL-related, including version information.
Packages which depend on this RPM should check for THESE dependencies,
not necessarily /usr/lib64/libSDL-1.2.so.0.11.3 or
/usr/lib64/libSDL-1.2.so.0 as doing so would probably be extraordinarily
painful.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPcGI9AAoJEF+XTK08PnB5tJkP/A17abbYIl1pb2vWILFI8a3K
XkOxrd/LwS801EwfMX/P+gJCigHBeqidvBoe+R4fctYvG8FTaKUzHJLFvlWkboNt
OfoUG1lRTfeyOPbFAh75gLjR+AdyQn/BHy1Nq7Ux9mO0wEFd56QiAUGYC9KsQSJK
6NtfsmN/+6kDEQcMMiQS0zIPTbt97Jyd6CQ8J3PeTtrHezOEgw/OLba+LOXBLuX6
VQ47Vo7kBsCZZaJr/aCAVgWkQmenUHhXrp8qXyHbxNcl9fP2D/tOSe8m8ybw931t
1fQ+/ZHfFDQ0zkpNkT7A07ahGt19if9+BbpjHF89nyKjmDcZNpSZtAL N/A0Kk0dP
UUCJEEGe/JXKvyiVms4LP15rABHOE0Or46hHKy4KrHOtUUg/tEu0YGo2qW4kdI3I
kbtRn3gNY3thh6IiVcafOVB6qkkv94G1L/1RmJpwbFH3DaBDxjWTBfUwz1Q73pbn
vTGyxwu+6RgEIS4NAto9D8XLFq8PfohnTpKCypsfvxl6vqm95v jYt1M9lCKyRRMY
+izQ4WVNu4zpZYxqrTzncP8zPazfkHyQBIrYLg5m50q4APrqMZ onBkCqCS67jHeg
PKFZv6KtgyjekVV89q4kytN/aEPHy/tLmoo5K9TefzJWjj8jqgrCmXkPqilUm9sD
6mIjz6tSqegZCj5FaWrT
=AjUW
-----END PGP SIGNATURE-----