On 2002.03.22 Nathan W. Labadie wrote:
>rpmdrake and autoirpm are both dependent on librpm-4.0.3.so, which is
>removed when you update to rpm-4.0.4 in cooker. Rebuilding autoirpm is
>successful and corrects the problem, but rpmdrake errors on a rebuild. You 
>get the following:
>
>[root@scanner nlabadie]# rpm --rebuild rpmdrake-1.4-18mdk.src.rpm
>--snip--
>make[1]: Entering directory `/usr/src/RPM/BUILD/rpmdrake-1.4/rpminst'
>Compiling ./src/main.cpp
>In file included from src/main.cpp:54:
>includes/common.h:62: parse error before `&' token
>In file included from includes/rpm_infos.h:40,
>                 from src/main.cpp:55:

Same problem here. Easy workaround: just symlink

librpm-4.0.3.so -> librpm-4.0.4.so
librpmdb-4.0.3.so -> librpmdb-4.0.4.so
librpmio-4.0.3.so -> librpmio-4.0.4.so

I know, it is _dirty_, but has been working for me.

Anyways, under a major.minor.micro versioning scheme, it is supposed
that a jump in micro HAS to be binary-compatible.

Why rpm libs are numbered that way:

librpm-4.0.4.so

Shouldn't it be:

librpm.so.4.0.4

So ld just remembers it has to look for librpm.so.4.0, and both
4.0.3 and 4.0.4 would do the job with suitable symlink for
librpm.so.4.0 ?

TIA

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:[EMAIL PROTECTED]
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre4-jam1 #1 SMP Thu Mar 21 02:05:01 CET 2002 i686

Reply via email to