Hi,

>  I rebuilt gd-1.8.3 from RH 7.1 on a RH 6.2 system using rpm -ba gd.spec. When
> refreshing gd and gd-devel I get a dependency error from linuxconf
> claiming it needs libgd.so.1.

 I found two solutions for this problem:
 1) Change the '%define shlibver' in the spec file in such a way that the 
result of '$rpm -qp --provides gd-1.8.3-6.2.i386.rpm' is libgd.so.1 instead of 
libgd.so.1.8.
 2) Add 'Provides: libgd.so.1' to the spec file. This leaves the need to 
update the symlink in the %post, because it still points to the old libgd.
 This still leaves me with some questions. First, can I find a complete 
reference of all used tags in the spec file somewhere (except for the source 
of course)? Neither the RPM-HOWTO nor maximum-RPM speak about '%define' for 
example. Specifically, I would like to know if it is possible to define 
multiple shlibver's, so '$rpm -qp --provides gd-1.8.3-6.2.i386.rpm' will 
return both libgd.so.1 and libgd.so.1.8.
 Thanx,

                                        Ciao,

                                        Leonard.



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to