Alonso Guarisma writes:
> Dear MySQL Sirs,
> I have been trying to compile and build the GUI for MySQL (in Linux) and
> apparently the last stage of the installation has been given me a very
> hard time...I have followed the instructions from the website and the
> last error ocurred when I tried to run "make" within /mysqlgui-1.7.4.
> This is the output the I got after some others:
>
> -----------------------------------------------------------------
> [mysqladm@lightning mysqlgui-1.7.4]# make
> g++ -o mysqlgui about.o db_tree.o Fl_NSlider.o getvars.o qsort.o
> queries.o bebac.o main.o do_sql.o tables.o dodatni.o status.o process.o
> grant.o password.o get_table.o admin.o single.o zoom.o sin_jpeg.o
> jmemsrc.o options.o Fl_File_Dialog.o Fl_Dir.o Fl_Input_File.o Fl_Tree.o
> Fl_ToggleTree.o Fl_ToggleNode.o Animated_Icon.o Fl_Help.o Fl_Envelope.o
> Fl_Envelope_Scroll.o Selection.o gif.o -L. -L/usr/X11R6/lib -lfleditor
> -lsqlplus -L/usr/local/lib -L/usr/local/mysql/lib/mysql -lmysqlclient
> -lm -lflvw -lfltk -lXext -ljpeg /usr/lib/libz.a
> /usr/bin/ld: cannot find -lsqlplus
> collect2: ld returned 1 exit status
> make: *** [mysqlgui] Error 1
> -----------------------------------------------------------------
>
> Where should the library "sqlplus" be located? Why this library is not
> created by mysql++?
> In my case I have the include files of MySQL in:
> /usr/local/mysql/include/mysql
> and the libraries of MySQL in: /usr/local/mysql/lib/mysql
>
> Here I show the list of file in /usr/local/mysql/lib and in
> /usr/local/mysql/lib/mysql respectively:
>
> -----------------------------------------------------------------
> [guarisma@lightning ~]$ ls -l /usr/local/mysql/lib
> total 8532
> -rw-r--r-- 1 root root 5531118 Mar 20 14:47 libsqlplus.a
> -rwxr-xr-x 1 root root 713 Mar 20 14:47 libsqlplus.la
> lrwxrwxrwx 1 root root 19 Mar 20 14:47 libsqlplus.so ->
> libsqlplus.so.1.0.7
> lrwxrwxrwx 1 root root 19 Mar 20 14:47 libsqlplus.so.1
> -> libsqlplus.so.1.0.7
> -rwxr-xr-x 1 root root 3176781 Mar 20 14:47
> libsqlplus.so.1.0.7
> drwxrwxr-x 2 mysqladm mysqlgrp 4096 Feb 16 12:19 mysql
>
> [guarisma@lightning ~]$ ls -l /usr/local/mysql/lib/mysql
> total 968
> -rw-r--r-- 1 mysqladm mysqlgrp 11086 Feb 16 12:19 libdbug.a
> -rw-r--r-- 1 mysqladm mysqlgrp 34650 Feb 16 12:19 libheap.a
> -rw-r--r-- 1 mysqladm mysqlgrp 15284 Feb 16 12:19 libmerge.a
> -rw-r--r-- 1 mysqladm mysqlgrp 230612 Feb 16 12:19 libmyisam.a
> -rw-r--r-- 1 mysqladm mysqlgrp 23678 Feb 16 12:19 libmyisammrg.a
> -rw-r--r-- 1 mysqladm mysqlgrp 178152 Feb 16 12:19 libmysqlclient.a
>
> -rwxr-xr-x 1 mysqladm mysqlgrp 721 Feb 16 12:19
> libmysqlclient.la
> lrwxrwxrwx 1 mysqladm mysqlgrp 24 Feb 16 12:19
> libmysqlclient.so -> libmysqlclient.so.10.0.0lrwxrwxrwx 1 mysqladm
> mysqlgrp 24 Feb 16 12:19 libmysqlclient.so.10 ->
> libmysqlclient.so.10.0.0
> -rwxr-xr-x 1 mysqladm mysqlgrp 131813 Feb 16 12:19
> libmysqlclient.so.10.0.0
> -rw-r--r-- 1 mysqladm mysqlgrp 32152 Feb 16 12:19 libmystrings.a
> -rw-r--r-- 1 mysqladm mysqlgrp 190354 Feb 16 12:19 libmysys.a
> -rw-r--r-- 1 mysqladm mysqlgrp 100492 Feb 16 12:19 libnisam.a
> -----------------------------------------------------------------
>
> I would really appreciate any help regarding this matter, thanks in
> advance
>
> Alonso Guarisma
>
>
Hi!
You need to build MySQL++ also.
But, why bother ?? Just download, install and use mysqlgui static
binary for Linux. Save yourself lot's of trouble.
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php