Ez-Aton
Sun, 14 Apr 2002 11:30:55 -0700
I would have also checked the enviroment settings. If I recall correctly, there is an enviroment variable called QT_LIB or something alike, which points to the exact location of QT. If you have both QT1.X and QT2.X, you might want to redefine it. Ez. ----- Original Message ----- From: "Kohn Emil Dan" <[EMAIL PROTECTED]> To: "barak" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, April 14, 2002 3:25 AM Subject: Re: [Haifux] Error while compile progrem that use QT3 > > Hmmm > > Looks like libqt.so is located under > > /usr/lib/qt2/lib > > So you should add > > -L/usr/lib/qt2/lib/ > > to the compiler link options. > > > Emil > > > > > > On Sat, 13 Apr 2002, barak wrote: > > > whan i try to compile i get linking error: > > > > [barak@linux qt-learn]$ make > > g++-o make -L/usr/lib/qt3/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm > > /usr/bin/ld: cannot find -lqt > > collect2: ld returned 1 exit status > > make: *** [make] Error 1 > > [barak@linux qt-learn]$ > > > > > > I chacked if ld know about qt: > > > > [root@linux www.humorportal.co.il]# ldconfig -p | grep qt > > libqutil.so.1.0 (libc6) => /usr/lib/qt2/lib/libqutil.so.1.0 > > libqutil.so.1 (libc6) => /usr/lib/qt2/lib/libqutil.so.1 > > libqutil.so (libc6) => /usr/lib/qt2/lib/libqutil.so > > libqui.so.1.0 (libc6) => /usr/lib/qt3/lib/libqui.so.1.0 > > libqui.so.1 (libc6) => /usr/lib/qt3/lib/libqui.so.1 > > libqui.so (libc6) => /usr/lib/qt3/lib/libqui.so > > libqtmcop.so.1 (libc6) => /opt/kde3/lib/libqtmcop.so.1 > > libqtmcop.so.0 (libc6) => /usr/lib/libqtmcop.so.0 > > libqtmcop.so (libc6) => /usr/lib/libqtmcop.so > > libqtmcop.so (libc6) => /opt/kde3/lib/libqtmcop.so > > libqt.so.2.3 (libc6) => /usr/lib/qt2/lib/libqt.so.2.3 > > libqt.so.2 (libc6) => /usr/lib/qt2/lib/libqt.so.2 > > libqt.so (libc6) => /usr/lib/qt2/lib/libqt.so > > libqt-mt.so.3.0 (libc6) => /usr/lib/qt3/lib/libqt-mt.so.3.0 > > libqt-mt.so.3 (libc6) => /usr/lib/qt3/lib/libqt-mt.so.3 > > libqt-mt.so.2.3 (libc6) => /usr/lib/qt2/lib/libqt-mt.so.2.3 > > libqt-mt.so.2 (libc6) => /usr/lib/qt2/lib/libqt-mt.so.2 > > libqt-mt.so (libc6) => /usr/lib/qt2/lib/libqt-mt.so > > libqt-mt.so (libc6) => /usr/lib/qt3/lib/libqt-mt.so > > libeditor.so.1.0 (libc6) => /usr/lib/qt3/lib/libeditor.so.1.0 > > libeditor.so.1 (libc6) => /usr/lib/qt3/lib/libeditor.so.1 > > libeditor.so (libc6) => /usr/lib/qt3/lib/libeditor.so > > [root@linux www.humorportal.co.il]# > > > > > > What can be the problem ? > > > > p.s. > > i use on this machine Mdk 8.2 > > > > > > Regards > > --------------------------------------- > > Barak > > mailto:[EMAIL PROTECTED] > > > > --------------------------------------- > > > > -------------------------------------------------------------------------- > > Haifa Linux Club Mailing List (http://linuxclub.il.eu.org) > > To unsub send an empty message to [EMAIL PROTECTED] > > > > > > > > > -------------------------------------------------------------------------- > Haifa Linux Club Mailing List (http://linuxclub.il.eu.org) > To unsub send an empty message to [EMAIL PROTECTED] > > -------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://linuxclub.il.eu.org) To unsub send an empty message to [EMAIL PROTECTED]