Library dependancy

I have just downloaded Heroes of might and magic 3, Binary version.
It installs fine, but when i try to run it it tells me that the libdirectfb library is missing.

I am using opensuse 11.0, which installs the “directfb” library, how can i change the dependancy of “heroes3” to use this library instead?

Do you also have the DirectFB-devel package installed?

yes i have that one installed but not libdirectfb, directfb is default with opensuse 11.0.

Should i install libdirectfb from another source or will this cause conflicts?

Have you tried searching for that library through YaST while checking off “RPM ‘Provides’”?
It’ll let you know whether or nor the package that includes that library is actually installed.

Are you running x86_64 version of openSUSE? If so, then you probably need the 32-bit libraries. e.g. ‘DirectFB-32bit’.

There is usually not a 32-bit-devel package so you may need to make a softlink from:
/usr/lib/libdirectfb-1.1.so.0.1.0 to /usr/lib/libdirectfb.so
/usr/lib/libdirect-1.1.so.0.1.0 to /usr/lib/libdirect.so

g