Subject: Invalid libSDL.so version number in package devel/SDL-1.2.9 ?
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 10/11/2005 19:58:00
$ pkg_info openttd
Information for openttd-0.4.0.1nb2:
Comment:
Open source clone of Transport Tycoon Deluxe
Requires:
SDL>=1.2.7nb4
png>=1.2.6nb1
$ pkg_info SDL
Information for SDL-1.2.8nb1:
Comment:
Simple DirectMedia Layer, a cross-platform multimedia library
I.e. looks like i have a sufficient version of SDL.
$ openttd
Shared object "libSDL.so.2" not found
Ups!
# readelf --all /usr/pkg/bin/openttd | grep libSDL
0x00000001 (NEEDED) Shared library: [libSDL.so.2]
Indeed, it expectes libSDL.so.2 while:
$ pkg_info -L SDL | grep libSDL.so
/usr/pkg/lib/libSDL.so
/usr/pkg/lib/libSDL.so.1
/usr/pkg/lib/libSDL.so.1.0.8
.."sufficient" package includes obsolete one. On the other hand, SDL-1.2.9
package actually includes libSDL.so.2.0.9:
$ tar -tf SDL-1.2.9.tar | grep libSDL.so
lib/libSDL.so
lib/libSDL.so.2
lib/libSDL.so.2.0.9
Just wondering if is it a bug and libSDL.so in SDL-1.2.9 package should be
numbered as libSDL.so.1.0.9 instead of 2.0.9?
// wbr