LinuxQuestions.org
Review your favorite Linux distribution.
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
 
Thread Tools
Old 07-09-2004, 04:09 AM   #1
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203
Thanked: 0
Question KDevelop and rpmlib


[Log in to get rid of this advertisement]
I need to use rpm file handling routines in a kdevelop project. Only thing is, I need to include the rpm libraries (or at least I think so). I get errors like undefined symbol "rpmReadPackageInfo".

I'm "using" KDevelop 3.0.4 (I said "using" because if i run kdev as non-root it crashes). I tried looking for options to include additional libraries in the project options, but I dunno what/how to change
eqxro is offline     Reply With Quote
Old 07-27-2004, 05:57 AM   #2
cppkid
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 183
Thanked: 0
RE: KDevelop and rpmlib

I'm "using" KDevelop 3.0.4 (I said "using" because if i run kdev as non-root it crashes). I tried looking for options to include additional libraries in the project options, but I dunno what/how to change


>Well Kdevelope 3 doesn't include the linker option page, and i have also wasted alot of time doing this stuff, and finally got 2 solutions. 1st is that you can change the make file, after compiling the project go to the debug or optimized folder whatever you configure for, and open the make file. and then search for macro LIB and you will find it nearly about line # 310 to 315, you will find it as:
LIB =
just wite your libs with reletive path and run your project.
Second is that on the left of you kdevelope editor there is an menu for automake menager, go to that menu and go to options by left click on your project. on the first tab i.e Flags there are some check boxes and then there is field for
other $(KDE_RPATH) $(all_libraries)
just append it with the path of your libs and it will work fine. LIKE:
other $(KDE_RPATH) $(all_libraries) ../../MyLib.a ../../StaticLib.a

wish you all the best!!
Tayyab
cppkid is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 HELP! Phalloides Linux - Software 12 01-20-2005 08:22 PM
Mandrake 10.0 Community - rpmlib(CompressedFileNames)?? MindTheGap76 Linux - Newbie 4 08-18-2004 09:38 PM
rpmlib(CompressedFileNames) <= 3.0.4-1 ?? netmanw00t Linux - Software 1 07-31-2004 11:45 PM
What is KDevelop? sceadu Linux - Software 8 05-23-2004 03:47 AM
rpmlib ras123 Linux - Newbie 1 05-13-2004 03:27 PM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration