Library path problem

Werner Modenbach modenbach at alc.de
Wed Dec 20 12:12:30 GMT 2000


Maybe one of the experts is able to give me an idea:
I recently downloaded and installed kdevelop 1.3
I'm running RedHat 7.0 which comes with qt1.45 and qt2.2.2 installed.
Since the new version of kdevelop is started by a script it is easy to setup 
the environment variables:

#----------- /usr/local/kdevelop/kdevelop ---------------------
#!/bin/sh
# uncomment the line below, if you want to start kdevelop from a different 
location
#cd /usr/local/kdevelop/
# export KDEDIR=`pwd`
# export QTDIR=`pwd`
export KDEDIR=/usr/local/kdevelop/
export QTDIR=/usr/lib/qt-1.45
#export QTDIR=/usr/lib/qt-2.2.2
export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
export PATH=$KDEDIR/bin:$QTDIR/bin:$PATH
#export CC=egcs
#export CXX="egcs++ -L/usr/lib"
$KDEDIR/bin/kdevelop $1                                                       

-------------------------------------------------------

Everything worked fine with my qt1.x projects. Now I installed kde2 and I get 
the following linker errors:

/bin/sh ../libtool --silent --mode=link g++   -O0 -g3 -Wall -Werror   		  
	-I/home/werner/procad/views/views/procad_views 			   
	-I/home/werner/procad/dokumente/dokumente/dokumentklassen  
	-I/home/werner/procad/dokumente/dokumente/fileio/alt  
	-I/home/werner/procad/dokumente/dokumente/xml     -o views -L/usr/X11R6/lib  
	viewsview.o viewsdoc.o views.o main.o views.moc.o viewsdoc.moc.o 
	viewsview.moc.o  ./procad_views/libprocad_views.a 
	/home/werner/procad/views/views/procad_views/libprocad_views.a 
	/home/werner/procad/dokumente/dokumente/dokumentklassen/libdokumentklassen.a 
	 /home/werner/procad/dokumente/dokumente/xml/libxml.a  
	/home/werner/procad/dokumente/dokumente/fileio/alt/libalt.a -lqt -lXext 	
	-lX11 -ldnet 
/usr/bin/ld: cannot find -lqt
--------------------------------------------------------------

But when I check the libraries I cannot find the reason of the problem :-(


[root at werner kdevelop]# ls /usr/lib/qt-1.45/lib/libqt*
/usr/lib/qt-1.45/lib/libqt.so  /usr/lib/qt-1.45/lib/libqt.so.1  
/usr/lib/qt-1.45/lib/libqt.so.1.44
[root at werner kdevelop]# 

Any hints ???                               

Thanks in advance.

- Werner -

-- 
--------------------------------------------------------------
                    ALC Computertechnik GmbH

        \_       \_          \_\_\_     Kaiserstr. 100
       \_\_      \_        \_           D-52134 Herzogenrath
      \_  \_     \_        \_           Germany
     \_\_\_\_    \_        \_           Fon +49 2407 95810
    \_      \_   \_        \_           Fax +49 2407 958139
   \_        \_  \_\_\_\_    \_\_\_     http://www.alc.de
   ===========================================================
   Werner Modenbach                     modenbach at alc.de
--------------------------------------------------------------

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list