LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-04-2008, 02:01 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Problem in linking GDOME library.

I am trying to GDOME (gdome2-0.8.1)library functions in my C program.
I am facing problem while compiling the C program with the command as:

gcc -g -Wall `xml2-config --cflags --libs` `gdome-config --cflags --libs``gnome-config --cflags --libs gnome gnomeui xml` -o testGDOME testGDOME.c

It gives error message as follows:

/usr/local/bin/gdome-config: line 1: --libs: command not found
/usr/local/bin/gdome-config: line 1: --cflags: command not found

and undefined sysmbols to all GDOME variables and functions.

Am i missing something?
Can anybody provide me the exact command to link this library to my program?

Old 06-04-2008, 09:33 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
gdome-config is deprecated, please use pkg-config instead
Old 06-05-2008, 09:48 AM   #3
LQ Newbie
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Agrouf


library, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Library Linking problem IronBeagle Linux - Software 3 02-14-2006 01:10 PM
Commandline legth problem linking a shared library DavePrince Linux - Software 0 07-20-2005 09:19 AM
Still library linking problem The_Nerd Programming 19 05-20-2004 05:08 PM
Library linking problem The_Nerd Programming 10 04-27-2004 12:07 AM

All times are GMT -5. The time now is 02:38 AM.

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