Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey. I'm trying to update all of my libraries, have made it through atk (1.10.3), cairo (1.0.0), glib (2.8.1), and pango (1.10.0). Now I'm on gtk (2.8.3), and it won't make. It configures just fine, makes it through some of the build, and then barfs this out:
Code:
/usr/lib/gtk+-2.8.3/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `pango_cairo_font_map_create_context'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_cairo_context_set_resolution'
/usr/lib/gtk+-2.8.3/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `pango_cairo_show_glyph_string'
/usr/lib/gtk+-2.8.3/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `pango_cairo_font_map_get_default'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_cairo_show_layout'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_cairo_context_set_font_options'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/usr/lib/gtk+-2.8.3/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/lib/gtk+-2.8.3/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/lib/gtk+-2.8.3/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/gtk+-2.8.3'
make: *** [all] Error 2
Both pango and cairo are installed correctly, and I've reinstalled them just to be safe.
I can't find anything about this problem anywhere. Any ideas?
The linker isn't finding the libraries. Try running 'ldconfig' (as root).
Did you use a prefix when you configured, because having libraries in non-standard locations can cause issues. The best place to put them is in /usr/lib in which case you should have run:
Code:
./configure --prefix=/usr
for each of the libraries. Also, try adding /usr/local/lib to /etc/ld.so.conf if it isn't already in there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.