On Wed, 26 Sep 2007, varun_shrivastava wrote: > i have made a package which is a simple gtk application. > it depends on gtk-directfb-2.0.so.0 , > i included this library in the depends field in control file.
Please ask on debian-mentors, it's made for people who learn packaging. > after creating the package when i try to install it using dpkg -i > it displays following error > > dpkg: dependency problems prevent configuration of clock: > clock depends on libgtk-directfb-2.0 (>= 2.2); however: > Package libgtk-directfb-2.0 is not installed. > > the package is installed at /usr/local/lib but i did a make install for this > library, i haven't installed it from a gtk-directfb package. Also i found You need a _package_ libgtk-directfb-2.0 and not just a manually installed library. This library is packaged as libgtk-directfb-2.0-0 (note the -0 at the end that you don't have) in Debian. Furthermore, dependencies on libraries are automatically generated and thus you shouldn't hardcode the name of a library in the Depends line (but rather put ${shlibs:Depends}). Cheers, -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]