LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2007, 02:24 AM   #1
kiwidoc66
LQ Newbie
 
Registered: Jul 2006
Location: New Zealand
Distribution: Ubuntu Feisty Fawn, Debian
Posts: 17

Rep: Reputation: 0
Error compiling ghostess


Hi there
I'm trying to install the vst host ghostess
On make, I get the following error

/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to 'pango_font_description_get_gravity'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to 'pango_layout_get_lines_readonly'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_description_set_gravity'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_gravity_get_type'

On googing, one website reports a similar error and suggests

The problem is the order in which
libraries are added when linking, so for example, to fix the first error
need to know which library provides `pango_font_description_get_gravity'. In this case it is libpango-1.0.so:

$ nm /home/gnomeslave/gnome/work/bin/lib/libpango-1.0.so | grep pango_font_description_get_gravity
T pango_font_description_get_gravity

Now, to fix the problem look at the compilation line, you'll see that /home/gnomeslave/gnome/work/bin/lib/libpangoft2-1.0.so
is before /home/gnomeslave/gnome/work/bin/lib/libpango-1.0, right?

Well, just swap them and it will link properly.


If this is the case, how do I swap them?
Or, is there something else I should be doing?

Thanks
 
Old 05-18-2007, 09:41 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
1st, make sure you have these libs at all.

Quote:
On googing, one website reports a similar error
...always provide the url for websites mentioned, especially if you use/quote them.

You swap the linking order order in the makefile... if you are lucky.
 
Old 05-20-2007, 08:14 PM   #3
kiwidoc66
LQ Newbie
 
Registered: Jul 2006
Location: New Zealand
Distribution: Ubuntu Feisty Fawn, Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks
Apologies for missing quoted url, it's http://sadamclemson.blogspot.com/200...build-bot.html
Latest version of pango installed so I'll try searching the makefile for the relevant strings...
 
  


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
Error on compiling prashanthjj Programming 2 04-25-2007 03:24 PM
i get an error ./term.c :95 error conflicting types of tpam when compiling bitchx eveningblush Programming 0 03-30-2006 06:46 AM
Error compiling php 5.1 and also a fantastico error arachn1d Linux - Software 0 02-19-2006 04:52 PM
compiling error swalexx Linux - Newbie 1 12-22-2004 12:49 PM
got error while compiling... freeindy Linux - Newbie 4 11-26-2002 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 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