[EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
>
>On Thu, May 16, 2002 at 08:05:16PM +0200, Buchan Milne wrote:
>> I have got an RPM for amanda (based on the RedHat one), which we are
>> using in production now (with the mtx that just went in to cooker).
>> Amanda has unversioned libraries though, and rpmlint gives a lot of
>> errors regarding this.
>>
>> What should I do regarding this then? Try and patch it to have versioned
>> libraries (with packages libamada[0-9] and libamanda[0-9]-devel ?) or
>> leave them unversioned (with packages libamanda and libamanda-devel).
>>
>If you leave them unversioned then that defeats the purpose.
>Can you give an example of how the libname looks like?

These are the two RPMs (of the 4 amanda RPMs that are running on our production
servers) that need some libification:

[bgmilne bgmilne]$ rpm -qlp rpm/RPMS/i586/amanda-devel-2.4.2p2-1mdk.i586.rpm 
/usr/lib/libamanda.a
/usr/lib/libamanda.la
/usr/lib/libamclient.a
/usr/lib/libamclient.la
/usr/lib/libamserver.a
/usr/lib/libamserver.la
/usr/lib/libamtape.a
/usr/lib/libamtape.la
[bgmilne bgmilne]$ rpm -qlp rpm/RPMS/i586/amanda-2.4.2p2-1mdk.i586.rpm 
/etc/amanda
/etc/amandates
/usr/lib/libamanda-2.4.2p2.so
/usr/lib/libamanda.so
/usr/lib/libamtape-2.4.2p2.so
/usr/lib/libamtape.so
/usr/sbin/amrestore
/usr/share/man/man8/amrestore.8.bz2
/var/lib/amanda/.amandahosts
/var/lib/lib/amanda

Hack the makefile? Arbitrarily name the lib package to 0? I have asked about the use
of unversioned libs on the amanda mailing list to no avail so far ...

Or maybe thy're just versioning them in a weird way?
-rwxr-xr-x    1 root     root        85808 Apr 25 00:16 /usr/lib/libamanda-2.4.2p2.so*
lrwxr-xr-x    1 root     root           20 May 18 21:56 /usr/lib/libamanda.so ->
libamanda-2.4.2p2.so*
-rwxr-xr-x    1 root     root         9532 Apr 25 00:16 /usr/lib/libamtape-2.4.2p2.so*
lrwxr-xr-x    1 root     root           20 May 18 21:56 /usr/lib/libamtape.so ->
libamtape-2.4.2p2.so*

Thanks
Buchan


Reply via email to