> On Fri, Nov 26, 1999 at 03:36:56PM +0530, Vinodh wrote: > > I have a few problems , please help me. One is versions of QT. If I set > > the QTDIR to point to QT2 libs , will it not interfere in QT1.4x programs. > > Again for KDE2 I need to set KDEDIR to kde2 directory. KDE1.1.x is installed in > > /opt/kde and KDE2 is in /usr/local/kde. If I set KDEDIR to /usr/local/kde , how > > can I ensure that KDE1.1.x apps get KDE1.1.x libs. > > And to run KOffice do I need to run the kded , or something like that. > > Please tell me how I can use KOffice with KDE1.1.x > > > > thanx a lot > > > > vinny > > ok, here it is : > you need to remove the path to the kde1.x libs from > /etc/ld.so.conf (or > move the libs somewhere else (like /opt/kde1.x/lib)) > then modify your X startup scripts so that you > have LD_LIBRARY_PATH including the path to the kde1x libs in this case > ans to the kde2 libs in some other case. The platforms with a linker supporting -rpath (i.e. most of them, AFAIK) don't need LD_LIBRARY_PATH for KDE. Because libtool makes the linker store the path to the libs into the binary when linking. -- David Faure faure@kde.org - KDE developer david@mandrakesoft.com - Mandrake david.faure@cramersystems.com - Cramer Systems