LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing MYSQL_GUI_TOOLs in slackware. Libraries not found or not the same version (https://www.linuxquestions.org/questions/slackware-14/installing-mysql_gui_tools-in-slackware-libraries-not-found-or-not-the-same-version-695477/)

vitalstrike82 01-06-2009 09:04 PM

Installing MYSQL_GUI_TOOLs in slackware. Libraries not found or not the same version
 
Hi,
i wan to install mysql_gui tools on slackware 12.1

But before i need to install the tool, i need to install some libraries into my system.
This is the list of libraries required to install:
http://forge.mysql.com/wiki/Building...Tools_on_Linux

I download some of the libraries from Slack build. However some of the file like x11-libs, libglade2, glibc are not found in slack build.

FOr the rest of the libraries, i'm able to find in the slack build, however i encounter which i think may be version problems(correct me if i'm wrong).

an example i encounter while i install the glibmm library.

I install the libsigc++ library first. Next i cont to install the glibmm and here are what it prompts:
Code:

Package requirement (sigc++2.0 > =2.0,0 glib-2.0 >=2.16.0 gobject-2.0 >=2.16.0 gmodule-2.0 >=2.16.0 not met.

Requested glib-2.0 >=2.16.0 but version of Glib 2.14.6
Requested gobject-2.0 >=2.16.0 but version of Glib 2.14.6
Requested gmodule-2.0 >=2.16.0 but version of Glib 2.14.6

Consider adjusting the PKG-CONFIG_PATH environment variable if you installed software in a non-standard prefix


What can i do to install the libraries to install mysql_gui_tools successfully?
Or is there any web info on installing the mysql_gui on slackware because the link i provide abouve are for linux or ubuntu.


Thanks for the help thanks

bgeddy 01-06-2009 10:29 PM

Hi vitalstrike82 - it looks like the version of Mysqltools you are trying to build is 5.0r14 which is a pain with Slackware 12.1 as glib2 is the wrong version amongst other stuff. This means there are several updates needed.

Instead you could try 5.0r12 which will work with the default 12.1 libraries. There are still a few dependencies to be found however.

I find the quick and dirty way of doing this ( just to play with the package perhaps ) is to download a prebuilt package and it's dependencies from Slacky.eu. The Mysqltools packages are here.

They also host prebuilt dependencies which are :

Code:

cairomm-1.4.8
glibmm-2.14.2
gtkmm-2.12
libgnomecups-0.2.3
libgnomeprint-2.18
libsigc++2.0.18

Just download and install all these and Myslguitools will work.

Quote:

However some of the file like x11-libs, libglade2, glibc are not found in slack build.
These come with Slackware.

Finally if you are determined to build 5.0r14 yourself you will need to upgrade glib2 and possibly other gnome related libraries. This may give problems if your not careful. It's far easier to play with the packages I've already mentioned.

vitalstrike82 01-08-2009 05:56 AM

Hi,
i have try to download the packages from the place you have recommend.

I try to download the packages, the common tools, the administrator and the query browser.

When i download from the website, the link shows the file in tgz format. However when i click and download, it becomes gz extension. But in the end, i change it to .tgz extension to install it using the installpkg.

Ok, after using the installpkg to install the common gui tools and the administrator, i try to start the administrator service.

I click on the K menu, development and sql administrator, but the program cannot start

I use the command line: mysql-administrator but it prompts:

Code:

error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory
How do i solve this issue?


Thanks

bgeddy 01-08-2009 07:22 AM

Did you download the dependencies as in ..

Quote:

They also host prebuilt dependencies which are :

Code:

cairomm-1.4.8
glibmm-2.14.2
gtkmm-2.12
libgnomecups-0.2.3
libgnomeprint-2.18
libsigc++2.0.18

Just download and install all these and Myslguitools will work.
You'll have to search for these on the site and download then install them.

vitalstrike82 01-08-2009 09:22 PM

Hi,

Thanks for the guidance.
I will like to ask 1 more questions. You have wrote that they also hold prebuilt dependencies which i think the link which u ask me to download the mysql gui tools also holds the libraries which you have mention.

Therefore i find it in http://repository.slacky.eu/slackware-12.1/libraries/

The cairomm-1.4.8 can be down load from this link named cairo-perl/ in the above weblink. Just to confirm as i;m new to slackware. Thanks

bgeddy 01-08-2009 10:40 PM

Quote:

I will like to ask 1 more questions. You have wrote that they also hold prebuilt dependencies which i think the link which u ask me to download the mysql gui tools also holds the libraries which you have mention.

Therefore i find it in http://repository.slacky.eu/slackware-12.1/libraries
The cairomm-1.4.8 can be down load from this link named cairo-perl/ in the above weblink. Just to confirm as i;m new to slackware. Thanks/
No - you are getting this wrong and making it much harder than it needs be ! I have given you the library names and versions to search for. Cairo-perl is not cairomm-1.4.8 .

Simply use the site search tools to search for the libs I have given you. The 12.1 search page is here for future reference.

I would not normally go this far but you seem to be having difficulties with this so I have searched the site for you. Here are the dependency links:

cairomm
glibmm
gtkmm
libgnomecups
libgnomeprint
libsigc++

BTW you owe me a drink:)

vitalstrike82 01-09-2009 02:27 AM

Thanks for the help and guidance. Your advice has let me successfully install the gui tools.

However when i start the query browser, after i select a schema, it hangs/not working anymore. Any solution to this?


Thanks

bgeddy 01-09-2009 06:38 AM

Quote:

However when i start the query browser, after i select a schema, it hangs/not working anymore. Any solution to this?
Not that I've found - admittedly this is a pain. I've not played with this mush but I'll let you know if I find a fix..


All times are GMT -5. The time now is 12:57 PM.