/usr/bin/ld: cannot find -lqt-mt

General support questions including new installations
Post Reply
taolei
Posts: 121
Joined: 2007/05/01 02:47:32

/usr/bin/ld: cannot find -lqt-mt

Post by taolei » 2008/04/08 01:24:43

Hello.

When I compile the source codes of kdelibs (3.5.9), an error says that "/usr/bin/ld: cannot find -lqt-mt".

Does that mean some devel packages are missed ?
If yes, which packages should be installed ?

Thanks.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: /usr/bin/ld: cannot find -lqt-mt

Post by toracat » 2008/04/08 04:18:11

Sounds like you need qt-devel (but just a guess). May I ask why you are compiling kdelibs? Do you need that particular version for something?

taolei
Posts: 121
Joined: 2007/05/01 02:47:32

Re: /usr/bin/ld: cannot find -lqt-mt

Post by taolei » 2008/04/08 07:30:06

Hello, toracat.

One reason is that CentOS 5.1 is shipped with KDE 3.5.4, and KDE 3.5.9 adds some new features which I want have a try.

Another reason is, a certain RPM pacakge sometimes contains many things that I don't use at all. For example, usually I only use KMail and KNode, so one choice is to "rpm -Uvh kdepim...", but at the same time, a lot of other things that I never use are installed into my computer altogether.

So I decide to compile (make) the source codes and install software, selectively.
Do you have any better methods ?

Besides, I have already installed qt-devel, it seems not qt-devel's problem.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: /usr/bin/ld: cannot find -lqt-mt

Post by toracat » 2008/04/08 11:28:15

In an (or any) rpm-based distro, installing from source is something you should avoid especially if that replaces existing files / packages. You would eventually mess up the system. If the installation can be done in an isolated place like /usr/local and does not touch any distro files, then you will be fine. Otherwise, be extremely cautious and you should know exactly what is being installed and where.

Post Reply