SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Mysql-gui-tools-5.0r9 compile
I have been playing with a LAMP setup under Slack 11, kernel 2.6.17 and have more or less got everything working. I would like to try out the MySql-gui front end to MySql but haven't had much success and so have been trying to compile MySql-gui-tools from source. The tools depend on the gtk libraries and have fell over at compile time due to undefined references to the gtk libs. This has led me back to recompiling the gtk libs and it's dependencies. I have now reached a brick wall with the compilation of gtkmm-2.4.8 as the make stage of building bombs out with a string of errors the first of which is
Code:
/usr/local/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_title'
I have googled through every link to this error message and am still amd none the wiser. My "/usr/local/lib/libgtk-x11-2.0.so" is a link to libgtk-x11-2.0.so.1000.9 which exists.
Anyway - all I want to do is get a nice GUI fron end to MySql local databases for development purposes and mysql-gui-tools looks promising - if it would work!!
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Original Poster
Rep:
Sorry - I thought this might be something obvious or something someone had seen before. Anyway - I have posted ny config.log and the results of make (it errors out) to here :
What version of GTK+2 are you using? Also, I noticed that you rebuilt alot, if not all, of the "G libs"... I'll assume you did a removepkg on the stock ones before installing to /usr/local... Looks like you have a version mismatch, hence all the undefined symbols.
It's whining mostly about the new print functions from GTK+2.10.x so I'm going to say that you have 2.10.x installed.... If you built GTK+2.10 then you should be using a newer version of gtkmm than 2.4.x.... That's pretty old; 2 years. try here:
Make sure your mm libraries match the major version of it's companion libraries. Same for glib et. all.. Using Glib-2.12.x? Then use glibmm-2.12.x.... Same story if you plan on building the python bindings... pygtk-2.4.x isn't going to like GTK+2.10.x.... That would be my guess as to what's going on. configure's check for greater than but don't check for less than because the developer can't predict api changes in the future that will break their software. That 2 year old gtkmm is having a hissy over the new GTK+2 functions and doesn't know what to do with them.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Original Poster
Rep:
I have to admit to being no expert in the wonderful world of ./configure, make, make install but I thought the linker was given a dependency chain in a makefile which specified which libraries to link against. I.E. that mysql-administrator link process was specifically looking for libgtkmm-2.4.so . I admit I think it is a mismatched version issue but as I said, I'm no expert. I have posted a copy of my /lib, /usr/lib and /usr/local/lib dirs at http://slackware.pastebin.com/874644
I apologize for the length of this pastebin but the browser's search function should jump to any relevant bits. Should I be deleting, rebuilding any GTK stuff to sort out my build environment ? Sorry for throwing this at you but I really would like to know more about this and get mysqlgui_tools working. Thanks again...
Have you tried to build the new gtkmm from the link above as I suggested? I thought it was fairly clear... Not sure what anyone is supposed to do with a listing of your lib directories. If anything, list the contents of /var/log/packages... Altho, if your not making packages with everything you've been recompiling, then that will do no good.
It seems to be a versioning problem, plain and simple. List the package names and versions of everything you've recompiled in your endeavor to get the mysql gui to work.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Original Poster
Rep:
Well i have built the new gtkmm for your link OK. Now compiling mysql-administrator gives new link errors, this time it seems pango is causing it grief. Here is the tail of the messages - from when errors appear.
I can't quite get my head around these errors. IE the first one:
Code:
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `g_type_register_static_simple'
- does this mean that libpangooft2-1.0.so.0 is looking for g_type_register_static_simple which I believe is available from glib2.12. My version of glib is libglib-2.0.so.0.1200.9 which I thought was a 2.12.9 version of glib. Am I making any sense here - this is causing me much grief but I feel I'm getting somewhere. Then the next error is:
Code:
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_quantize_line_geometry'
- I thought pango_quantize_line_geometry was defined in pango 1.12 and my copy of pango is libpango-1.0.so.0.1400.10 which I believe to be pango 1.14.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.