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
|