LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-03-2003, 10:26 AM   #1
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Rep: Reputation: 15
kdevelop question


I just installed redhat 9 and kdevelop. I am trying to compile a simple KDE normal application. I have not changed any of the code since the application builder made it. I am getting the following error:

-Wconversion -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -o helloworld2 -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt-3.1/lib -R /usr/X11R6/lib helloworld2view.o helloworld2doc.o helloworld2.o main.o helloworld2doc.moc.o helloworld2.moc.o helloworld2view.moc.o -lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkio
/usr/bin/ld: cannot find -lart_lgpl_2
collect2: ld returned 1 exit status
gmake[2]: Leaving directory `/home/mike/helloworld2/helloworld2'
gmake[2]: *** [helloworld2] Error 1
gmake[1]: Leaving directory `/home/mike/helloworld2'
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2

I am assuming that it is some sort of path problem. I am running KDE release 3.1-10. Any help would be much appreciated.

Thanks

-Newbie Mike
 
Old 09-03-2003, 03:53 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You're probably missing libart-devel package (or one with a very similar name). When you're programming, you need *devel* packages (a devel package is needed to compile a program using the library the package belongs to). If you have enough free space, install all *devel* packages coresponding with your libraries (you won't need most of them, but all programs should compile).
 
Old 09-03-2003, 05:00 PM   #3
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
I went ahead and downloaded the libart package and it is installed. I am still getting the error. Currently my installation of redhat 9 is unmodified. I selected the KDE environment and installed all the development packages with it. Any other ideas?

Thanks

-Mike
 
Old 09-04-2003, 04:12 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
libart-devel?
 
Old 09-04-2003, 07:07 PM   #5
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
I got it

I was using the KDE GUE install. It worked when used RPM from terminal.

Thanks
-Mike
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdevelop/IDE Question stealth0707 Programming 10 02-21-2005 07:53 AM
simple kdevelop question laclac01 Linux - Software 0 07-23-2004 10:44 AM
Kdevelop question nny0000 Slackware 3 01-11-2004 12:46 AM
Kdevelop Question BajaNick Programming 1 10-10-2003 12:40 AM
kdevelop question - getting started skibud2 Linux - Software 1 09-03-2003 11:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration