[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-user
Subject:    Be careful: KDE 2.0 answers about RPMs and libs depend on distribution
From:       paul.c.leopardi () ac ! com
Date:       2000-10-31 11:03:25
[Download RAW message or body]

First, I apologize if I confused anyone in the past. I also realise that
for many people on this list what I am about to say is old news and
redundant. But for newbies like me it is a revelation and may help me and
"others like me" to avoid confusion in the future.

Now, if you read this carefully, you will come to the realization, as I
have just done, that we all need to be careful when we answer the following
questions about KDE 2.0:
1. In which directory (on my machine) will I find libxxx.so.n ?
2. Which RPM should I use to satisfy a dependency on libxxx.so.n ?
3. Where (on the Internet) do I find libxxx.so.n ?

Why? Because the answer depends on your distribution, if you install from
RPMs.

How do I know this? I've taken a look at the web sites of the various
distributions, and also RPMFIND.

Note: Most of the URLs below refer to RPMFIND. There may be more up-to-date
RPMs available elsewhere.

*** QT ***
An example from QT 2.2.1: libqt.so.2

COL 2.4:
http://rpmfind.net/linux/RPM/kde/stable//2.0/distribution/rpm/COL-2.4/qt2//qt2-2.2.1-6.i386.html
Package name qt2; Installs libqt as:
/usr/lib/qt2/lib/libqt.so.2.2.1

Mandrake 7.2:
http://rpmfind.net/linux/RPM/mandrake//Mandrake/7.2/i586/Mandrake/RPMS//qt2-2.2.1-3mdk.i586.html
Package name qt2; Installs libqt as:
/usr/lib/libqt.so.2
/usr/lib/libqt.so.2.2.1
/usr/lib/libqt2.so.2.2
/usr/lib/qt2/lib/libqt.so.2
/usr/lib/qt2/lib/libqt.so.2.2
/usr/lib/qt2/lib/libqt.so.2.2.1

Red Hat RawHide 1.0:
http://rpmfind.net/linux/RPM/rawhide/1.0/i386//RedHat/RPMS//qt-2.2.1-5.i386.html
Package name qt; Installs libqt as:
/usr/lib/qt-2.2.1/lib/libqt.so.2
/usr/lib/qt-2.2.1/lib/libqt.so.2.2.1

Red Hat 7:
http://rpmfind.net/linux/RPM/redhat/7.0/i386/qt-2.2.0-0.5.beta2.i386.html
(QT 2.2.0 - can't find Red Hat 7 RPM for QT 2.2.1 in RPMFIND)
Package name qt; Installs libqt as:
/usr/lib/qt-2.2.0/lib/libqt.so.2
/usr/lib/qt-2.2.0/lib/libqt.so.2.2.0

SuSE 7.0:
Official URL:
ftp.suse.com/pub/suse/i386/KDE2/update_for_7.0/libs/qtlib2.rpm
http://rpmfind.net/linux/RPM/kde/stable/2.0/distribution/rpm/SuSE/7.0-i386/qt2/qtlib2-2.2.1-4.i386.html
Package name qtlib2; Installs libqt as:
/usr/lib/libqt.so.2
/usr/lib/qt-2.2.1/lib/libqt.a
/usr/lib/qt-2.2.1/lib/libqt.so
/usr/lib/qt-2.2.1/lib/libqt.so.2
/usr/lib/qt-2.2.1/lib/libqt.so.2.2
/usr/lib/qt-2.2.1/lib/libqt.so.2.2.1

*** KDE ***
An example from KDE 2.0: libkdecore.so.3:
http://rpmfind.net/linux/RPM/libkdecore.so.3.html

Here: Mandrake and Red Hat use the same package name for KDE 1.1.2 and KDE
2.0 libs and install both into /usr/lib; Mandrake compensates for using
/usr/lib by installing a KDE1 compatibility library into
/usr/lib/kde1-compat/lib;
COL and SuSE install KDE 2.0 libs into /opt/kde2/lib; SuSE installs KDE
1.1.2 libs into /opt/kde/lib

This is one point which confused me in the past. Now I just know I need to
be careful. Where on your machine the KDE libraries should be (according to
the RPMs) depends on which Linux distribution you are using. Thus you
*really* need to know what you are doing if you (1) compile some parts of
QT or KDE and install other parts from RPMs (2) create symbolic links (3)
move directories or even (4) obtain RPMs from RPMFIND rather than the
"official" URL.

Mandrake 7.2:
http://rpmfind.net/linux/RPM/mandrake/Mandrake/7.2/i586/Mandrake/RPMS/kdelibs-2.0-5mdk.i586.html
Package name kdelibs; Installs libkdecore as:
/usr/lib/libkdecore.la
/usr/lib/libkdecore.so
/usr/lib/libkdecore.so.3
/usr/lib/libkdecore.so.3.0.0

Compare Mandrake 7.2 compatability library install including
libkdecore.so.2:
http://rpmfind.net/linux/RPM/mandrake/Mandrake/7.2/i586/Mandrake/RPMS/kde1-compat-1.1.2-7mdk.i586.html
Package name kde1-compat; Installs libkdecore as:
/usr/lib/kde1-compat/lib/libkdecore.so.2
/usr/lib/kde1-compat/lib/libkdecore.so.2.0.0

Compare Mandrake 7.1 installation of KDE 1.1.2 including libkdecore.so.2:
http://rpmfind.net/linux/RPM/mandrake/7.1/Mandrake/RPMS/kdelibs-1.1.2-18mdk.i586.html
Package name kdelibs; Installs libkdecore as:
/usr/lib/libkdecore.la
/usr/lib/libkdecore.so.2
/usr/lib/libkdecore.so.2.0.0

Red Hat 7:
http://rpmfind.net/linux/RPM/kde/stable/2.0/distribution/rpm/RedHat/rh7/i386/kdelibs-2.0-1.i386.html
Package name kdelibs; Installs libkdecore as:
/usr/lib/libkdecore.la
/usr/lib/libkdecore.so
/usr/lib/libkdecore.so.3
/usr/lib/libkdecore.so.3.0.0

Compare Red Hat 7 installation of KDE 1.1.2 including libkdecore.so.2:
http://rpmfind.net/linux/RPM/redhat/7.0/i386/kdelibs-1.1.2-24.i386.html
Package name kdelibs; Installs libkdecore as:
/usr/lib/libkdecore.so.2
/usr/lib/libkdecore.so.2.0.0

COL 2.4:
http://rpmfind.net/linux/RPM/kde/stable/2.0/distribution/rpm/COL-2.4/kdelibs/kdelibs2-2.0-1.i386.html
Package name kdelibs2; Installs libkdecore as:
/opt/kde2/lib/libkdecore.la
/opt/kde2/lib/libkdecore.so
/opt/kde2/lib/libkdecore.so.3
/opt/kde2/lib/libkdecore.so.3.0.0

SuSE 7.0:
Official URL:
ftp.suse.com/pub/suse/i386/KDE2/update_for_7.0/core/klibs2.rpm
http://rpmfind.net/linux/RPM/kde/stable/2.0/distribution/rpm/SuSE/7.0-i386/kde2/klibs2-2.0.0-0.i386.html
Package name klibs2; Installs libkdecore as:
/opt/kde2/lib/libkdecore.la
/opt/kde2/lib/libkdecore.so
/opt/kde2/lib/libkdecore.so.3
/opt/kde2/lib/libkdecore.so.3.0.0

Compare SuSE 6.4 installation of  of KDE 1.1.2 including libkdecore.so.2:
http://rpmfind.net/linux/RPM/suse/6.4/i386/suse/kde1/klibs-1.1.2-108.i386.html
Package name klibs; Installs libkdecore as:
/opt/kde/lib/libkdecore.la
/opt/kde/lib/libkdecore.so
/opt/kde/lib/libkdecore.so.2
/opt/kde/lib/libkdecore.so.2.0.0

*** OTHER ***
For other packages which are dependencies, the main difference seems to be
where to find the RPM:

Example: libmng.so.0
COL 2.4:
http://rpmfind.net/linux/RPM/kde/stable/2.0/distribution/rpm/COL-2.4/support/libmng-0.9.2-2.i386.html

Mandrake: (Can't find Mandrake RPMs containing libmng.so.0 on RPMFIND or
Mandrake Cooker at http://www.linux-mandrake.com/en/cookerdevel.php3)

Red Hat RawHide 1.0:
http://rpmfind.net/linux/RPM/rawhide/1.0/i386//RedHat/RPMS//libmng-0.9.2-1.i386.html

SuSE 7.0:
Official URL:
ftp.suse.com/pub/suse/i386/KDE2/update_for_7.0/libs/libmng.rpm
http://rpmfind.net/linux/RPM/kde/stable/2.0/distribution/rpm/SuSE/7.0-i386/libs/libmng-0.9.2-5.i386.html

-- 
Send posts to:  kde-user@lists.netcentral.net
 Send all commands to:  kde-user-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"

All kde mailing lists are archived at http://lists.kde.org
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.com/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic