LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mysql Administrator install/running error (https://www.linuxquestions.org/questions/slackware-14/mysql-administrator-install-running-error-326562/)

KunoNoOni 05-24-2005 06:53 AM

Mysql Administrator install/running error
 
Greetings and Salutations all!

I got my Mysql server up and running... I downloaded the administrator, query browser and control center. The latter 2 work just fine. Its the administrator I'm having trouble with.

when I run it I get an error the libstdc++.so.6 doesn't exist. so I search for libstdc++ and I find it in /usr/lib. But I don't see a libstdc++.so.6, there's a symlink to libstdc++.5.0.6 called libstdc++.so.5. So I make a symlink to it and call it libstdc++.so.6. Now when I run the administrator I get an error that GLIBCXX_3.4 and CXXABI_1.3 are not found.

I also tried to compile the source for the administrator I get a bunch of errors. the ./configure works its the make that gives the errors.

Code:

In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8,
                from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:23,
                from ../../glib/glibmm/main.h:28,
                from ../../glib/glibmm/iochannel.h:29,
                from iochannel.cc:3:
/usr/local/include/sigc++-2.0/sigc++/signal_base.h:25:26: sigc++config.h: No such file or directory
In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27,
                from /usr/local/include/sigc++-2.0/sigc++/signal.h:8,
                from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:23,
                from ../../glib/glibmm/main.h:28,
                from ../../glib/glibmm/iochannel.h:29,
                from iochannel.cc:3:
/usr/local/include/sigc++-2.0/sigc++/trackable.h:22:26: sigc++config.h: No such file or directory
In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27,
                from /usr/local/include/sigc++-2.0/sigc++/signal.h:8,
                from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:23,
                from ../../glib/glibmm/main.h:28,
                from ../../glib/glibmm/iochannel.h:29,
                from iochannel.cc:3:
/usr/local/include/sigc++-2.0/sigc++/trackable.h:37: error: syntax error before
  `{' token
/usr/local/include/sigc++-2.0/sigc++/trackable.h:41: error: ISO C++ forbids
  declaration of `trackable_callback' with no type
/usr/local/include/sigc++-2.0/sigc++/trackable.h: In function `int
  sigc::internal::trackable_callback(void*, void*(*)(void*))':
/usr/local/include/sigc++-2.0/sigc++/trackable.h:41: error: only constructors
  take base initializers
/usr/local/include/sigc++-2.0/sigc++/trackable.h:41: confused by earlier errors, bailing out
make[5]: *** [iochannel.lo] Error 1
make[5]: Leaving directory `/home/kuno/downloads/glibmm-2.6.1/glib/glibmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/kuno/downloads/glibmm-2.6.1/glib/glibmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kuno/downloads/glibmm-2.6.1/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kuno/downloads/glibmm-2.6.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kuno/downloads/glibmm-2.6.1'
make: *** [all] Error 2


So what am I doing wrong? What other information would I need to post. And yes I'm kinda new to linux ;) .


KunoNoOni

gbonvehi 05-24-2005 07:03 AM

As you can see, it seems the binary version you got is compiled against libstdc++.so.6 and not libstdc++.so.5. You've two choices, the better is to recompile it so it will match your version of libstdc, the other would be to upgrade libstdc.

Edit, by the way, why are you building glibmm? Acording to this: http://dev.mysql.com/doc/administrat...equisites.html
You need gtkmm not glibmm (I don't know the difference between the two but the names are different :P).

You may want to try this: http://www.linuxquestions.org/questions/history/321389

And you can find precompiled packages of sigc and gtk/glibmm here: http://www.linuxpackages.net/search_...me=mm&ver=10.1
http://www.linuxpackages.net/search_...e=sig&ver=10.1

KunoNoOni 05-24-2005 11:11 AM

I'm building glibmm because when I tried to build gtkmm, it gave me an error saying that glibmm wasn't installed.

I'll try the pre-compliled binaries and see if they work :)

KunoNoOni


All times are GMT -5. The time now is 08:43 PM.