Forum has been closed due to ongoing spam issues.
It is kept search and read-able as a reference. Registrations and logins are disabled. Please use the mailing lists instead.

   SearchSearch
SuSE 9.2 - 64bit (cannot find -lqt-mt)

 
Krusader Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
Marc
Guest





PostPosted: Sat Nov 27, 2004 3:35 pm    Post subject: SuSE 9.2 - 64bit (cannot find -lqt-mt)

Hello all!

Don't know if this is a problem with my ldconfig but with the krusader-configure I get:

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lqt-mt


So I tried this:

marc2:~/krusader-1.50 # /sbin/ldconfig -l -v /usr/lib64/qt3/lib64/libqt-mt.so.3.3.3
libqt-mt.so.3 -> libqt-mt.so.3.3.3

The problen didn't change

Anybody with an idea?

Thnx a lot in advance!
Marc
--
uname -a
Linux marc2 2.6.8-24-default #1 Wed Oct 6 09:16:23 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux

SuSE 9.2
Back to top
dirk
Webmaster & i18n Coordinator


Joined: 24 Mar 2002
Posts: 1346
Location: Germany

PostPosted: Sat Nov 27, 2004 4:58 pm    Post subject:

I'm not an expert here, nor do i have any experience with amd64. In general you should check your /etc/ld.so.conf. Does it contain the directory where your libqt-mt.so is located? E.g. a line with "/usr/lib64/qt3/lib64"?

On my Gentoo (32-bit) system it looks like this:
Code:
$ grep qt /etc/ld.so.conf
/usr/qt/3/lib


Code:
$ l /usr/qt/3/lib/libqt-mt.*
-rw-r--r--  1 root root     820 Aug 26 14:10 /usr/qt/3/lib/libqt-mt.la
lrwxrwxrwx  1 root root      13 Aug 27 20:38 /usr/qt/3/lib/libqt-mt.so -> libqt-mt.so.3
lrwxrwxrwx  1 root root      15 Aug 27 20:38 /usr/qt/3/lib/libqt-mt.so.3 -> libqt-mt.so.3.3
lrwxrwxrwx  1 root root      17 Aug 27 20:38 /usr/qt/3/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.3
-rw-r--r--  1 root root 7240008 Aug 26 14:10 /usr/qt/3/lib/libqt-mt.so.3.3.3


Have you tried to compile any other KDE program? Did the linker find libqt-mt in this case?
Back to top
View user's profile Send private message Visit poster's website
ryanai
Author


Joined: 18 Oct 2001
Posts: 238

PostPosted: Mon Nov 29, 2004 4:49 pm    Post subject:

try:
Code:
./configure --with-qt-libraries=/usr/lib/qt3/lib64 
Back to top
View user's profile Send private message Visit poster's website
Marc
Guest





PostPosted: Mon Nov 29, 2004 10:28 pm    Post subject:

Hello once again!

After I went to hell and back I finally got my Krusader running:

All of this was necesarry to do:

1.) Symbolic links:

marc@marc2:/usr/lib64/qt3/lib> ls -la | grep libqt-mt
lrwxrwxrwx 1 root root 17 2004-11-27 15:45 libqt-mt -> libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-27 15:52 libqt-mt.so -> libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-23 23:00 libqt-mt.so.3 -> libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-23 23:00 libqt-mt.so.3.3 -> libqt-mt.so.3.3.3
-rwxr-xr-x 1 root root 8620758 2004-10-04 21:17 libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-27 15:50 qt-mt -> libqt-mt.so.3.3.3

marc@marc2:/usr/lib64/qt3/lib64> ls -la | grep libqt-mt
lrwxrwxrwx 1 root root 17 2004-11-27 15:46 libqt-mt -> libqt-mt.so.3.3.3
-rw-r--r-- 1 root root 834 2004-11-22 13:07 libqt-mt.la
-rw-r--r-- 1 root root 865 2004-11-22 13:07 libqt-mt.prl
lrwxrwxrwx 1 root root 17 2004-11-25 22:38 libqt-mt.so -> libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-23 23:05 libqt-mt.so.3 -> libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-23 23:05 libqt-mt.so.3.3 -> libqt-mt.so.3.3.3
-rwxr-xr-x 1 root root 9975158 2004-10-04 20:19 libqt-mt.so.3.3.3
lrwxrwxrwx 1 root root 17 2004-11-27 15:49 qt-mt -> libqt-mt.so.3.3.3


2.) Edit ld.so.conf:

marc@marc2:/etc> cat ld.so.conf | grep qt
/usr/lib64/qt3/lib64
/usr/lib64/qt3/lib

-> run /sbin/ldconfig


3.) Note the switches: (this was the hardest part to find out!)

All three --with-qt switches need to be set!!!
Just setting $QTDIR or giving "--with-qt-dir=/usr/lib64/qt3" ist NOT enough!

./configure --prefix=/usr/local --with-qt-dir=/usr/lib64/qt3
--with-qt-includes=/usr/lib64/qt3/include
--with-qt-libraries=/usr/lib64/qt3/lib64 --enable-libsuffix=64


Thanks to all people with clues for me!

Best wishes!
Marc
Back to top
dirk
Webmaster & i18n Coordinator


Joined: 24 Mar 2002
Posts: 1346
Location: Germany

PostPosted: Mon Nov 29, 2004 11:14 pm    Post subject:

Great to hear, that it works for you. And thanks for posting your solution!
I have changed the topic to be more descriptive, so 64bit users can use it as a resource.
Back to top
View user's profile Send private message Visit poster's website
Marc
Guest





PostPosted: Tue Nov 30, 2004 12:00 pm    Post subject:

Maybe you could put this clues into your brilliant "Compilation and installation"-Page (why is this one so hard to find? IMHO it should directly be linked to "Documentation / Installation" on the Krusader homepage - the current "Appendix A. Installation" wasn't very helpful to me) or to the "faq.html#faqi_missing_libs"?
Back to top
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1264
Location: Belgium

PostPosted: Tue Nov 30, 2004 1:18 pm    Post subject:

Marc wrote:
Maybe you could put this clues into your brilliant "Compilation and installation"-Page

Thanks , i just write the doc's so easy understandable as possible.
And i will include a 64 bit part, thanks for the feedback.

Marc wrote:
(why is this one so hard to find? IMHO it should directly be linked to "Documentation / Installation" on the Krusader homepage - the current "Appendix A. Installation" wasn't very helpful to me) or to the "faq.html#faqi_missing_libs"?

I don't use a 64 bit yet, but with you're feedback i can make the "Compilation and installation"-Page even better.

Thanks!
Back to top
View user's profile Send private message Visit poster's website
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1264
Location: Belgium

PostPosted: Tue Nov 30, 2004 8:49 pm    Post subject:

Marc can you produce an binary and source 64bit RPM ?
For 64 bit users who don't have the skills like you.
A short explenation is in the FAQ,
krusader-1.50.suse92.src.rpm from the downloadpage is a good starting point i think.
Back to top
View user's profile Send private message Visit poster's website
Marc
Guest





PostPosted: Wed Dec 01, 2004 9:12 am    Post subject:

I'm not a RPM-Expert, but I will try.

Just give me a little time...

First I have to find out how to produce a Menu-Icon in SuSE 9.2 (anybody with a clue?).
Back to top
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1264
Location: Belgium

PostPosted: Mon Dec 20, 2004 10:34 am    Post subject:

Sorry for the late reply, somehow i have missed this question.

Make a krusader.desktop file with your "menu distro-tool".
Add the menu icon krusader.png in krusader.desktop with your "menu distro-tool".
krusader.desktop will contain:
Code:
icon="krusader.png"


In your spec file use:
Code:
Source1:   krusader.desktop

bla, bla, bla :)

%install
rm -rf %{buildroot}%{_datadir}/applnk/Applications/krusader.desktop
rm -rf %{buildroot}%{_datadir}/applnk/Applications/

mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
cp %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop

It removes the original krusader.desktop file, and uses your krusader.desktop file.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Krusader Forum Index -> General Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group