[Linux-HA] Building 2.0.2 packages on RHEL3 (almost).

Alan Robertson alanr at unix.sh
Tue Oct 25 08:05:21 MDT 2005


Steve Traylen wrote:
> Hi 
> 
>  This is working on ScientificLinux 3 , a clone of RHEL3.
> 
>  After building packages from heartbeat-2.0.2.tar.gz with 
> 
>  ./ConfigureMe package 
> 
>  I have the strange result that they cannot be installed.
> 
>  # rpm -Uvh heartbeat-2.0.2-1.i386.rpm heartbeat-pils-2.0.2-1.i386.rpm \
>        heartbeat-stonith-2.0.2-1.i386.rpm
> 
>   error: Failed dependencies:
>         libhbclient.so.0 is needed by heartbeat-2.0.2-1
>         libpils.so.0 is needed by heartbeat-2.0.2-1
>         libplumb.so.0 is needed by heartbeat-2.0.2-1
>         libstonith.so.0 is needed by heartbeat-2.0.2-1
>         libpils.so.0 is needed by heartbeat-stonith-2.0.2-1
> 
>   and indeed 
> 
>   # rpm -pq --provides heartbeat-pils-2.0.2-1.i386.rpm
> 
>    generic.so
>    libpils.so.1
>    heartbeat-pils = 2.0.2-1
> 
>    so we have a mismatch in the auto generation of libraries
>    dependencies.
> 
>    # rpm -pql heartbeat-pils-2.0.2-1.i386.rpm | grep lib
>    /usr/lib/libpils.a
>    /usr/lib/libpils.la
>    /usr/lib/libpils.so
>     /usr/lib/libpils.so.1
>     /usr/lib/libpils.so.1.0.0
>     /usr/lib/pils/plugins
>     /usr/lib/pils/plugins/InterfaceMgr
>     /usr/lib/pils/plugins/InterfaceMgr/generic.a
>     /usr/lib/pils/plugins/InterfaceMgr/generic.la
>     /usr/lib/pils/plugins/InterfaceMgr/generic.so


Did you have a version of 1.x installed before installing this?

If so, due to some compile tool bug somewhere, you have to uninstall it, 
and its libraries _before_ building the new version.

Weird, eh?


-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce



More information about the Linux-HA mailing list