[SOLVED] gtk+ make error in libgio - undefined reference
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.
I've recently been building some GTK and related stuff, and have found that it helps to specifically tell the build where to find stuff, because for some reason, even when the required libs and headers are in the right location, the build can't seem to find it.
Make sure your $LDFLAGS contains the correct location(s) of your lib dir (-L/usr/lib or -L/usr/local/lib or whatever) and it may help too, to export your CPPFLAGS before running the build, like:
I didn't know how to remove system glib so i download 18.4 source, configure and then run
make uninstall
make clan
make distclean
and then install 2.23 version.
linker got confused. however what GrapefruiTgirl said makes sense, too as with it you can keep two versions of glib on the system: stock Slackware package and new beta package.
Things goes messed up and I restore from previous day's backup. Now I am trying to build C::B within C::B using CodeBlocks-unix.cbp but have some errors. I am closing this thread as solved since I was opened similar:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.