Rekall for Mandrake
Spencer <sdander-gM+QbJpSfZ/[email protected]> Fri, 16 Jan 2004 18:04:22 -0800
| Newsgroups | gmane.comp.db.rekall.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have successfully built a full set of RPMS for Mandrake Cooker but have run into a few difficulties. Mandrake uses a macro called %mklibname. This effectively sets the library package name to lib%name%major plus extensions (eg: -runtime, -drivers, etc). This works very well except for -devel. There are several .so files that rpmlint ( Mandrake's RPM correctness checker ) considers -devel files and belong in the -devel package. These include libkbase_componentview.so, libkbase_copierview.so, etc. On rechecking, all the .so files are this way. Now I could put these in the devel package but idea is not to have to load the devel package on installation. The workaround is to add a major as a suffix to the lib *.so name. The problem is that the makefiles do not support a major and second, there is no clear place to add a patch. As an example, a line such as "$(CC) $(SHFLAGS) -Wl,-soname,[email protected] -o $@ $(LIBOBJS) $(RUNTIMELIBS)" would probably work ( with corrections ) but the question is where to put it. Needless to say, linking would have to be done but this can be added in the specfile. Any help that you can provide would greatly be appreciated. TIA Spence