Re: Fedora / RHE compatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 8, 2008 at 3:55 PM, Giuseppe Sarno <gsarno@xxxxxxxxxx> wrote:
> Hello, thanks,
> Not quite sure what is the free in beer or free in speech :-)
>
> But is this CentoOS compatible with RHE ?
>
> For example what if I had binaries on compiled on RHE would they work on
> CentOS?
>
Possibly. If your binary is compiled "statically", meaning it does not
draw on any external libraries, then it is likely it will work.

If it uses some shared libraries, and those libraries exist in the
target system, then there is a pretty good chance it will work.

Pick any binary you are interested, and ldd will show you what
libraries it depends on.  You could start checking versions and see.
(below I paste example)

Honestly, I've done this and the BEST thing to do is to make a source
RPM file, and compile it on both systems. THat is  a pretty easy
process, it guarantees a program will work on both.


$ ldd /usr/bin/gedit
        linux-gate.so.1 =>  (0xb7fb2000)
        libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7e5e000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e46000)
        liblaunchpad-integration.so.1 =>
/usr/lib/liblaunchpad-integration.so.1 (0xb7e41000)
        libgtksourceview-2.0.so.0 =>
/usr/lib/libgtksourceview-2.0.so.0 (0xb7e05000)
        libgnomeui-2.so.0 => /usr/lib/libgnomeui-2.so.0 (0xb7d7d000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0xb7d68000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0xb7d50000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb79d8000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb78b9000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7835000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb781b000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7803000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb77de000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb77a0000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb773e000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7657000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb75fe000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb75ce000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb75ca000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb758d000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb74dc000)
        libattr.so.1 => /lib/libattr.so.1 (0xb74d8000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7389000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7385000)
        libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7380000)
        /lib/ld-linux.so.2 (0xb7fb3000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7377000)
        libbonoboui-2.so.0 => /usr/lib/libbonoboui-2.so.0 (0xb7319000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0 (0xb72e9000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb72d3000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb7272000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb726c000)
        libgnome-keyring.so.0 => /usr/lib/libgnome-keyring.so.0 (0xb725c000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7254000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb723c000)
        libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0xb71e1000)
        libbonobo-activation.so.4 =>
/usr/lib/libbonobo-activation.so.4 (0xb71cc000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0xb71c2000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb719d000)
        libpopt.so.0 => /lib/libpopt.so.0 (0xb7195000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb716b000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb715c000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7154000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7151000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7149000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7143000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb713a000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7136000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7133000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb712e000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7119000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb70a8000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7085000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb705c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6f69000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6f5e000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6f5b000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6f43000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb6f28000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb6ef2000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb6e7c000)
        libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0xb6e78000)
        libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb6e6d000)
        libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb6e5e000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb6e4b000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0xb6df9000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6df0000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xb6dd6000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb6daf000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6d88000)
        libgailutil.so.18 => /usr/lib/libgailutil.so.18 (0xb6d81000)
        libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0
(0xb6d7b000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb6cb8000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6c97000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6c94000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6c8e000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb6c76000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb6c66000)
        libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb6c19000)
        libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb6c14000)

> Thanks.
> Giuseppe.
>
> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Steve Searle
> Sent: 08 July 2008 21:50
> To: For users of Fedora
> Subject: Re: Fedora / RHE compatibility
>
> Around 09:47pm on Tuesday, July 08, 2008 (UK time), Patrick O'Callaghan
> scrawled:
>
>> > Why are you asking?  If you want a free (as in beer) eqivalent why
>> > not look at CentOS?
>>
>> AFAIK CentOS is free as in speech.
>
> Yes it is.  I just assumed that the OP might be looking for a RH
> equivalent that was also free as in beer.
>
> Steve
>
> --
>
> A:  Because it messes up the order in which people normally read text.
> Q:  Why is top-posting a bad thing?
>
>  21:48:19 up 11 days, 11:39,  1 user,  load average: 0.04, 0.14, 0.09
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>



-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux