Motion - Bug Report 2007x 01x 11x 203951

BUG: Can't Compile 64 bit

I'm running Fedora Core 6 64bit and I'm getting a compling error I've updated my systems with yum
Version:  3.2.8
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Compiling Motion object files...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Motion object files compiled.

Linking Motion...
--------------------------------------------------------------------------------
gcc -L/usr/local/lib -o motion motion.o conf.o draw.o video.o video2.o video_common.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o webcam.o ffmpeg.o -lm  -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lm -lz -L/usr/lib/mysql -lmysqlclient -lz 
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [motion] Error 1

Environment

Motion version: 3.2.7
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS:  

-- KevinMifflin - 11 Jan 2007

Follow up

My guess is that you have not installed the mysql-devel RPM.

-- KennethLavrsen - 11 Jan 2007

Follow up

Thats what I thought at first. But its install. I had a similar problem with Zoneminder until I modified their config file http://www.zoneminder.com/forums/viewtopic.php?t=7176&view=previous&sid=c4b8659aa726daaa46dc326b81b9c09a

Did you try to specify the path of your include/lib 64bits location usiing :
./configure --with-mysql=

i.ex if you have installed mysql lib & include in /usr/64bits that will work without problems , motion will look in :
 /usr/64bits/include/mysql/mysql.h
 /usr/64bits/include/mysql.h

 and

 /usr/64bits/lib/mysql/libmysqlclient.[a|so]
 /usr/64bits/lib/libmysqlclient.[a|so]

-- AngelCarpintero - 15 Jan 2007

Follow up

i do not have a directory /usr/64bits, but the configure file does find mysql See configure output below
-DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int"

   ************************
   *   Configure status   *
   ************************

OS             :     Linux
pthread Support:     Yes
jpeg Support:        Yes
V4L included:        Yes
FFmpeg Support:      Yes
MYSQL Support:       Yes
PostgreSQL Support:  No

CFLAGS:  -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   
LIBS: -lm  -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lm -lz -L/usr/lib/mysql -lmysqlclient -lz
LDFLAGS:   -L/usr/local/lib

Install prefix:       /usr/local


Yes i saw that configure found one of your mysql include headers and one of your shared/static mysql libraries , by default motion tries to autodetect mysql headers and mysql libraries searching in the most common path, i mean motion tries to find headers in on of this locations
 /usr/include /usr/local/include /usr/mysql /usr/local/mysql /usr/local/mysql/include /opt /opt/mysql

And libs :
/usr/lib /usr/local/lib /usr/mysql /usr/local/mysql /usr/local/mysql/lib /opt /opt/mysql /usr/lib64

That is the reason i asked you to specify a different location using --with-mysql ( in your case i think you have 32bits and 64bits mysql headers and libraries), an option is just creating a new directory and creating simbolic links.

Anyway to fix your problem , please paste here the output from :
rpm -qa | grep mysql

and also de rpm -ql of all packages listed above ( mysql-devel-5.0.22-2.1.x86_64.rpm , mysqlclient14-devel-4.1.14-4.2.1.x86_64.rpm , etc ).

-- AngelCarpintero - 15 Jan 2007

Follow up

Here ya go. I noticed that mysql-devel-5.0.27-1.fc6 shows up more then once in the list

rpm -qa | grep mysql
mysql-5.0.27-1.fc6
mysqlclient14-devel-4.1.14-4.2.1
mysql-administrator-1.1.10-3.fc6
mysql-5.0.27-1.fc6
mysql-gui-common-1.1.10-3.fc6
mysql-devel-5.0.27-1.fc6                        *****
koffice-kexi-driver-mysql-1.6.1-4.fc6
mysql-devel-5.0.27-1.fc6                        *****
php-mysql-5.1.6-3.3.fc6
mysql-server-5.0.27-1.fc6
mysqlclient14-4.1.14-4.2.1

[kevin@localhost ~]$ rpm -ql mysql-5.0.27-1.fc6
/etc/ld.so.conf.d/mysql-x86_64.conf
/etc/my.cnf
/usr/bin/msql2mysql
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_find_rows
/usr/bin/mysql_tableinfo
/usr/bin/mysql_waitpid
/usr/bin/mysqlaccess
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/lib64/mysql
/usr/lib64/mysql/libmysqlclient.so.15
/usr/lib64/mysql/libmysqlclient.so.15.0.0
/usr/lib64/mysql/libmysqlclient_r.so.15
/usr/lib64/mysql/libmysqlclient_r.so.15.0.0
/usr/lib64/mysql/mysql_config
/usr/lib64/mysql/mysqlbug
/usr/share/doc/mysql-5.0.27
/usr/share/doc/mysql-5.0.27/COPYING
/usr/share/doc/mysql-5.0.27/EXCEPTIONS-CLIENT
/usr/share/doc/mysql-5.0.27/README
/usr/share/info/mysql.info.gz
/usr/share/man/man1/mysql.1.gz
/usr/share/man/man1/mysqlaccess.1.gz
/usr/share/man/man1/mysqladmin.1.gz
/usr/share/man/man1/mysqldump.1.gz
/usr/share/man/man1/mysqlshow.1.gz
/usr/share/mysql
/usr/share/mysql/charsets
/usr/share/mysql/charsets/Index.xml
/usr/share/mysql/charsets/README
/usr/share/mysql/charsets/armscii8.xml
/usr/share/mysql/charsets/ascii.xml
/usr/share/mysql/charsets/cp1250.xml
/usr/share/mysql/charsets/cp1251.xml
/usr/share/mysql/charsets/cp1256.xml
/usr/share/mysql/charsets/cp1257.xml
/usr/share/mysql/charsets/cp850.xml
/usr/share/mysql/charsets/cp852.xml
/usr/share/mysql/charsets/cp866.xml
/usr/share/mysql/charsets/dec8.xml
/usr/share/mysql/charsets/geostd8.xml
/usr/share/mysql/charsets/greek.xml
/usr/share/mysql/charsets/hebrew.xml
/usr/share/mysql/charsets/hp8.xml
/usr/share/mysql/charsets/keybcs2.xml
/usr/share/mysql/charsets/koi8r.xml
/usr/share/mysql/charsets/koi8u.xml
/usr/share/mysql/charsets/latin1.xml
/usr/share/mysql/charsets/latin2.xml
/usr/share/mysql/charsets/latin5.xml
/usr/share/mysql/charsets/latin7.xml
/usr/share/mysql/charsets/macce.xml
/usr/share/mysql/charsets/macroman.xml
/usr/share/mysql/charsets/swe7.xml
/usr/share/mysql/czech
/usr/share/mysql/czech/errmsg.sys
/usr/share/mysql/danish
/usr/share/mysql/danish/errmsg.sys
/usr/share/mysql/dutch
/usr/share/mysql/dutch/errmsg.sys
/usr/share/mysql/english
/usr/share/mysql/english/errmsg.sys
/usr/share/mysql/estonian
/usr/share/mysql/estonian/errmsg.sys
/usr/share/mysql/french
/usr/share/mysql/french/errmsg.sys
/usr/share/mysql/german
/usr/share/mysql/german/errmsg.sys
/usr/share/mysql/greek
/usr/share/mysql/greek/errmsg.sys
/usr/share/mysql/hungarian
/usr/share/mysql/hungarian/errmsg.sys
/usr/share/mysql/italian
/usr/share/mysql/italian/errmsg.sys
/usr/share/mysql/japanese
/usr/share/mysql/japanese/errmsg.sys
/usr/share/mysql/korean
/usr/share/mysql/korean/errmsg.sys
/usr/share/mysql/norwegian
/usr/share/mysql/norwegian-ny
/usr/share/mysql/norwegian-ny/errmsg.sys
/usr/share/mysql/norwegian/errmsg.sys
/usr/share/mysql/polish
/usr/share/mysql/polish/errmsg.sys
/usr/share/mysql/portuguese
/usr/share/mysql/portuguese/errmsg.sys
/usr/share/mysql/romanian
/usr/share/mysql/romanian/errmsg.sys
/usr/share/mysql/russian
/usr/share/mysql/russian/errmsg.sys
/usr/share/mysql/serbian
/usr/share/mysql/serbian/errmsg.sys
/usr/share/mysql/slovak
/usr/share/mysql/slovak/errmsg.sys
/usr/share/mysql/spanish
/usr/share/mysql/spanish/errmsg.sys
/usr/share/mysql/swedish
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf
/usr/bin/msql2mysql
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_find_rows
/usr/bin/mysql_tableinfo
/usr/bin/mysql_waitpid
/usr/bin/mysqlaccess
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/lib/mysql
/usr/lib/mysql/libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient.so.15.0.0
/usr/lib/mysql/libmysqlclient_r.so.15
/usr/lib/mysql/libmysqlclient_r.so.15.0.0
/usr/lib/mysql/mysql_config
/usr/lib/mysql/mysqlbug
/usr/share/doc/mysql-5.0.27
/usr/share/doc/mysql-5.0.27/COPYING
/usr/share/doc/mysql-5.0.27/EXCEPTIONS-CLIENT
/usr/share/doc/mysql-5.0.27/README
/usr/share/info/mysql.info.gz
/usr/share/man/man1/mysql.1.gz
/usr/share/man/man1/mysqlaccess.1.gz
/usr/share/man/man1/mysqladmin.1.gz
/usr/share/man/man1/mysqldump.1.gz
/usr/share/man/man1/mysqlshow.1.gz
/usr/share/mysql
/usr/share/mysql/charsets
/usr/share/mysql/charsets/Index.xml
/usr/share/mysql/charsets/README
/usr/share/mysql/charsets/armscii8.xml
/usr/share/mysql/charsets/ascii.xml
/usr/share/mysql/charsets/cp1250.xml
/usr/share/mysql/charsets/cp1251.xml
/usr/share/mysql/charsets/cp1256.xml
/usr/share/mysql/charsets/cp1257.xml
/usr/share/mysql/charsets/cp850.xml
/usr/share/mysql/charsets/cp852.xml
/usr/share/mysql/charsets/cp866.xml
/usr/share/mysql/charsets/dec8.xml
/usr/share/mysql/charsets/geostd8.xml
/usr/share/mysql/charsets/greek.xml
/usr/share/mysql/charsets/hebrew.xml
/usr/share/mysql/charsets/hp8.xml
/usr/share/mysql/charsets/keybcs2.xml
/usr/share/mysql/charsets/koi8r.xml
/usr/share/mysql/charsets/koi8u.xml
/usr/share/mysql/charsets/latin1.xml
/usr/share/mysql/charsets/latin2.xml
/usr/share/mysql/charsets/latin5.xml
/usr/share/mysql/charsets/latin7.xml
/usr/share/mysql/charsets/macce.xml
/usr/share/mysql/charsets/macroman.xml
/usr/share/mysql/charsets/swe7.xml
/usr/share/mysql/czech
/usr/share/mysql/czech/errmsg.sys
/usr/share/mysql/danish
/usr/share/mysql/danish/errmsg.sys
/usr/share/mysql/dutch
/usr/share/mysql/dutch/errmsg.sys
/usr/share/mysql/english
/usr/share/mysql/english/errmsg.sys
/usr/share/mysql/estonian
/usr/share/mysql/estonian/errmsg.sys
/usr/share/mysql/french
/usr/share/mysql/french/errmsg.sys
/usr/share/mysql/german
/usr/share/mysql/german/errmsg.sys
/usr/share/mysql/greek
/usr/share/mysql/greek/errmsg.sys
/usr/share/mysql/hungarian
/usr/share/mysql/hungarian/errmsg.sys
/usr/share/mysql/italian
/usr/share/mysql/italian/errmsg.sys
/usr/share/mysql/japanese
/usr/share/mysql/japanese/errmsg.sys
/usr/share/mysql/korean
/usr/share/mysql/korean/errmsg.sys
/usr/share/mysql/norwegian
/usr/share/mysql/norwegian-ny
/usr/share/mysql/norwegian-ny/errmsg.sys
/usr/share/mysql/norwegian/errmsg.sys
/usr/share/mysql/polish
/usr/share/mysql/polish/errmsg.sys
/usr/share/mysql/portuguese
/usr/share/mysql/portuguese/errmsg.sys
/usr/share/mysql/romanian
/usr/share/mysql/romanian/errmsg.sys
/usr/share/mysql/russian
/usr/share/mysql/russian/errmsg.sys
/usr/share/mysql/serbian
/usr/share/mysql/serbian/errmsg.sys
/usr/share/mysql/slovak
/usr/share/mysql/slovak/errmsg.sys
/usr/share/mysql/spanish
/usr/share/mysql/spanish/errmsg.sys
/usr/share/mysql/swedish
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys

 rpm -ql mysqlclient14-devel-4.1.14-4.2.1
/usr/include/mysql4
/usr/include/mysql4/mysql
/usr/include/mysql4/mysql/chardefs.h
/usr/include/mysql4/mysql/errmsg.h
/usr/include/mysql4/mysql/history.h
/usr/include/mysql4/mysql/keycache.h
/usr/include/mysql4/mysql/keymaps.h
/usr/include/mysql4/mysql/m_ctype.h
/usr/include/mysql4/mysql/m_string.h
/usr/include/mysql4/mysql/my_alloc.h
/usr/include/mysql4/mysql/my_config.h
/usr/include/mysql4/mysql/my_config_x86_64.h
/usr/include/mysql4/mysql/my_dbug.h
/usr/include/mysql4/mysql/my_dir.h
/usr/include/mysql4/mysql/my_getopt.h
/usr/include/mysql4/mysql/my_global.h
/usr/include/mysql4/mysql/my_list.h
/usr/include/mysql4/mysql/my_net.h
/usr/include/mysql4/mysql/my_no_pthread.h
/usr/include/mysql4/mysql/my_pthread.h
/usr/include/mysql4/mysql/my_semaphore.h
/usr/include/mysql4/mysql/my_sys.h
/usr/include/mysql4/mysql/my_xml.h
/usr/include/mysql4/mysql/mysql.h
/usr/include/mysql4/mysql/mysql_com.h
/usr/include/mysql4/mysql/mysql_embed.h
/usr/include/mysql4/mysql/mysql_time.h
/usr/include/mysql4/mysql/mysql_version.h
/usr/include/mysql4/mysql/mysqld_error.h
/usr/include/mysql4/mysql/raid.h
/usr/include/mysql4/mysql/readline.h
/usr/include/mysql4/mysql/rlmbutil.h
/usr/include/mysql4/mysql/rlprivate.h
/usr/include/mysql4/mysql/rlshell.h
/usr/include/mysql4/mysql/rltypedefs.h
/usr/include/mysql4/mysql/sql_common.h
/usr/include/mysql4/mysql/sql_state.h
/usr/include/mysql4/mysql/sslopt-case.h
/usr/include/mysql4/mysql/sslopt-longopts.h
/usr/include/mysql4/mysql/sslopt-vars.h
/usr/include/mysql4/mysql/tilde.h
/usr/include/mysql4/mysql/typelib.h
/usr/include/mysql4/mysql/xmalloc.h
/usr/lib64/mysql4
/usr/lib64/mysql4/mysql
/usr/lib64/mysql4/mysql/libmysqlclient.so
/usr/lib64/mysql4/mysql/libmysqlclient.so.14
/usr/lib64/mysql4/mysql/libmysqlclient.so.14.0.0
/usr/lib64/mysql4/mysql/libmysqlclient_r.so
/usr/lib64/mysql4/mysql/libmysqlclient_r.so.14
/usr/lib64/mysql4/mysql/libmysqlclient_r.so.14.0.0
/usr/lib64/mysql4/mysql/mysql_config

[kevin@localhost ~]$ rpm -ql mysqlclient14-devel-4.1.14-4.2.1
/usr/include/mysql4
/usr/include/mysql4/mysql
/usr/include/mysql4/mysql/chardefs.h
/usr/include/mysql4/mysql/errmsg.h
/usr/include/mysql4/mysql/history.h
/usr/include/mysql4/mysql/keycache.h
/usr/include/mysql4/mysql/keymaps.h
/usr/include/mysql4/mysql/m_ctype.h
/usr/include/mysql4/mysql/m_string.h
/usr/include/mysql4/mysql/my_alloc.h
/usr/include/mysql4/mysql/my_config.h
/usr/include/mysql4/mysql/my_config_x86_64.h
/usr/include/mysql4/mysql/my_dbug.h
/usr/include/mysql4/mysql/my_dir.h
/usr/include/mysql4/mysql/my_getopt.h
/usr/include/mysql4/mysql/my_global.h
/usr/include/mysql4/mysql/my_list.h
/usr/include/mysql4/mysql/my_net.h
/usr/include/mysql4/mysql/my_no_pthread.h
/usr/include/mysql4/mysql/my_pthread.h
/usr/include/mysql4/mysql/my_semaphore.h
/usr/include/mysql4/mysql/my_sys.h
/usr/include/mysql4/mysql/my_xml.h
/usr/include/mysql4/mysql/mysql.h
/usr/include/mysql4/mysql/mysql_com.h
/usr/include/mysql4/mysql/mysql_embed.h
/usr/include/mysql4/mysql/mysql_time.h
/usr/include/mysql4/mysql/mysql_version.h
/usr/include/mysql4/mysql/mysqld_error.h
/usr/include/mysql4/mysql/raid.h
/usr/include/mysql4/mysql/readline.h
/usr/include/mysql4/mysql/rlmbutil.h
/usr/include/mysql4/mysql/rlprivate.h
/usr/include/mysql4/mysql/rlshell.h
/usr/include/mysql4/mysql/rltypedefs.h
/usr/include/mysql4/mysql/sql_common.h
/usr/include/mysql4/mysql/sql_state.h
/usr/include/mysql4/mysql/sslopt-case.h
/usr/include/mysql4/mysql/sslopt-longopts.h
/usr/include/mysql4/mysql/sslopt-vars.h
/usr/include/mysql4/mysql/tilde.h
/usr/include/mysql4/mysql/typelib.h
/usr/include/mysql4/mysql/xmalloc.h
/usr/lib64/mysql4
/usr/lib64/mysql4/mysql
/usr/lib64/mysql4/mysql/libmysqlclient.so
/usr/lib64/mysql4/mysql/libmysqlclient.so.14
/usr/lib64/mysql4/mysql/libmysqlclient.so.14.0.0
/usr/lib64/mysql4/mysql/libmysqlclient_r.so
/usr/lib64/mysql4/mysql/libmysqlclient_r.so.14
/usr/lib64/mysql4/mysql/libmysqlclient_r.so.14.0.0
/usr/lib64/mysql4/mysql/mysql_config
[kevin@localhost ~]$ rpm -ql mysql-administrator-1.1.10-3.fc6
/usr/bin/mabackup
/usr/bin/mysql-administrator
/usr/bin/mysql-administrator-bin
/usr/share/applications/fedora-MySQLAdministrator.desktop
/usr/share/doc/mysql-administrator-1.1.10
/usr/share/doc/mysql-administrator-1.1.10/COPYING
/usr/share/locale/de/LC_MESSAGES/mysql-administrator.mo
/usr/share/locale/ja/LC_MESSAGES/mysql-administrator.mo
/usr/share/locale/pt_BR/LC_MESSAGES/mysql-administrator.mo
/usr/share/mysql-gui/MySQLIcon_Admin_16x16.png
/usr/share/mysql-gui/MySQLIcon_Admin_32x32.png
/usr/share/mysql-gui/MySQLIcon_Admin_48x48.png
/usr/share/mysql-gui/administrator
/usr/share/mysql-gui/administrator/16x16_Backup.png
/usr/share/mysql-gui/administrator/16x16_Catalog.png
/usr/share/mysql-gui/administrator/16x16_CatalogOnTreeBG.png
/usr/share/mysql-gui/administrator/16x16_CatalogTreeBG.png
/usr/share/mysql-gui/administrator/16x16_DBConfig.png
/usr/share/mysql-gui/administrator/16x16_DBModel.png
/usr/share/mysql-gui/administrator/16x16_DBServer.png
/usr/share/mysql-gui/administrator/16x16_Database.png
/usr/share/mysql-gui/administrator/16x16_Field.png
/usr/share/mysql-gui/administrator/16x16_Health.png
/usr/share/mysql-gui/administrator/16x16_Index.png
/usr/share/mysql-gui/administrator/16x16_KeyColumn.png
/usr/share/mysql-gui/administrator/16x16_Logs.png
/usr/share/mysql-gui/administrator/16x16_Replication.png
/usr/share/mysql-gui/administrator/16x16_Right.png
/usr/share/mysql-gui/administrator/16x16_ServerConfig.png
/usr/share/mysql-gui/administrator/16x16_ServerParams.png
/usr/share/mysql-gui/administrator/16x16_ServerStartupParams.png
/usr/share/mysql-gui/administrator/16x16_ServerThreads.png
/usr/share/mysql-gui/administrator/16x16_StartStopService.png
/usr/share/mysql-gui/administrator/16x16_Statistics.png
/usr/share/mysql-gui/administrator/16x16_StoredInDB.png
/usr/share/mysql-gui/administrator/16x16_StoredProc.png
/usr/share/mysql-gui/administrator/16x16_Table.png
/usr/share/mysql-gui/administrator/16x16_Thread.png
/usr/share/mysql-gui/administrator/16x16_User.png
/usr/share/mysql-gui/administrator/16x16_UserAdmin.png
/usr/share/mysql-gui/administrator/16x16_Users.png
/usr/share/mysql-gui/administrator/16x16_View.png
/usr/share/mysql-gui/administrator/16x16_error.png
/usr/share/mysql-gui/administrator/16x16_start.png
/usr/share/mysql-gui/administrator/16x16_warning.png
/usr/share/mysql-gui/administrator/24x24_Backup.png
/usr/share/mysql-gui/administrator/24x24_Catalog.png
/usr/share/mysql-gui/administrator/24x24_DBConfig.png
/usr/share/mysql-gui/administrator/24x24_DBModel.png
/usr/share/mysql-gui/administrator/24x24_DBServer.png
/usr/share/mysql-gui/administrator/24x24_Database.png
/usr/share/mysql-gui/administrator/24x24_Field.png
/usr/share/mysql-gui/administrator/24x24_Health.png
/usr/share/mysql-gui/administrator/24x24_Index.png
/usr/share/mysql-gui/administrator/24x24_Logs.png
/usr/share/mysql-gui/administrator/24x24_Replication.png
/usr/share/mysql-gui/administrator/24x24_Right.png
/usr/share/mysql-gui/administrator/24x24_ServerConfig.png
/usr/share/mysql-gui/administrator/24x24_ServerParams.png
/usr/share/mysql-gui/administrator/24x24_ServerStartupParams.png
/usr/share/mysql-gui/administrator/24x24_ServerThreads.png
/usr/share/mysql-gui/administrator/24x24_StartStopService.png
/usr/share/mysql-gui/administrator/24x24_Statistics.png
/usr/share/mysql-gui/administrator/24x24_StoredInDB.png
/usr/share/mysql-gui/administrator/24x24_StoredProc.png
/usr/share/mysql-gui/administrator/24x24_Table.png
/usr/share/mysql-gui/administrator/24x24_Thread.png
/usr/share/mysql-gui/administrator/24x24_User.png
/usr/share/mysql-gui/administrator/24x24_UserAdmin.png
/usr/share/mysql-gui/administrator/24x24_Users.png
/usr/share/mysql-gui/administrator/about.png
/usr/share/mysql-gui/administrator/admin_preferences.glade
/usr/share/mysql-gui/administrator/backup.glade
/usr/share/mysql-gui/administrator/backup.png
/usr/share/mysql-gui/administrator/backup_gray.png
/usr/share/mysql-gui/administrator/catalogs.glade
/usr/share/mysql-gui/administrator/catalogs.png
/usr/share/mysql-gui/administrator/catalogs_gray.png
/usr/share/mysql-gui/administrator/connect_header_admin.png
/usr/share/mysql-gui/administrator/disk_level_bg.png
/usr/share/mysql-gui/administrator/disk_level_fg.png
/usr/share/mysql-gui/administrator/health.glade
/usr/share/mysql-gui/administrator/health.png
/usr/share/mysql-gui/administrator/health_gray.png
/usr/share/mysql-gui/administrator/health_level_bg.png
/usr/share/mysql-gui/administrator/health_level_fg.png
/usr/share/mysql-gui/administrator/innodb_data_file.glade
/usr/share/mysql-gui/administrator/main_window.glade
/usr/share/mysql-gui/administrator/mysqladmin_health.xml
/usr/share/mysql-gui/administrator/mysqladmin_startup_variables_description.dtd
/usr/share/mysql-gui/administrator/mysqladmin_startup_variables_description.xml
/usr/share/mysql-gui/administrator/mysqladmin_status_variables.xml
/usr/share/mysql-gui/administrator/mysqladmin_system_variables.xml
/usr/share/mysql-gui/administrator/mysqlx_translations_administrator.xml
/usr/share/mysql-gui/administrator/mysqlx_translations_general.xml
/usr/share/mysql-gui/administrator/option_checked.xpm
/usr/share/mysql-gui/administrator/option_checked_light.xpm
/usr/share/mysql-gui/administrator/option_crossed.xpm
/usr/share/mysql-gui/administrator/option_unchecked.xpm
/usr/share/mysql-gui/administrator/replication.png
/usr/share/mysql-gui/administrator/replication_gray.png
/usr/share/mysql-gui/administrator/replication_status.glade
/usr/share/mysql-gui/administrator/restore.glade
/usr/share/mysql-gui/administrator/restore.png
/usr/share/mysql-gui/administrator/restore_gray.png
/usr/share/mysql-gui/administrator/server_connections.glade
/usr/share/mysql-gui/administrator/server_connections.png
/usr/share/mysql-gui/administrator/server_connections_gray.png
/usr/share/mysql-gui/administrator/server_info.png
/usr/share/mysql-gui/administrator/server_info_gray.png
/usr/share/mysql-gui/administrator/server_information.glade
/usr/share/mysql-gui/administrator/server_logs.glade
/usr/share/mysql-gui/administrator/server_logs.png
/usr/share/mysql-gui/administrator/server_logs_gray.png
/usr/share/mysql-gui/administrator/service_config.png
/usr/share/mysql-gui/administrator/service_config_gray.png
/usr/share/mysql-gui/administrator/service_control.glade
/usr/share/mysql-gui/administrator/service_pause.png
/usr/share/mysql-gui/administrator/service_start.png
/usr/share/mysql-gui/administrator/service_status_paused.png
/usr/share/mysql-gui/administrator/service_status_running.png
/usr/share/mysql-gui/administrator/service_status_stopped.png
/usr/share/mysql-gui/administrator/service_stop.png
/usr/share/mysql-gui/administrator/startup_parameters.glade
/usr/share/mysql-gui/administrator/startup_variables.png
/usr/share/mysql-gui/administrator/startup_variables_gray.png
/usr/share/mysql-gui/administrator/user_admin.png
/usr/share/mysql-gui/administrator/user_admin_gray.png
/usr/share/mysql-gui/administrator/user_administration.glade
/usr/share/mysql-gui/administrator/variable.png
/usr/share/mysql-gui/administrator/variable_disabled.png
/usr/share/mysql-gui/administrator/variable_editable.png
/usr/share/mysql-gui/doc/administrator
/usr/share/mysql-gui/doc/administrator/administrator.html
/usr/share/mysql-gui/doc/administrator/images
/usr/share/mysql-gui/doc/administrator/images/Thumbs.db
/usr/share/mysql-gui/doc/administrator/images/backup-completed.png
/usr/share/mysql-gui/doc/administrator/images/backup-content.png
/usr/share/mysql-gui/doc/administrator/images/backup-progress.png
/usr/share/mysql-gui/doc/administrator/images/configure-service-mode-connection.png
/usr/share/mysql-gui/doc/administrator/images/configure-service-mode-window.png
/usr/share/mysql-gui/doc/administrator/images/connection.png
/usr/share/mysql-gui/doc/administrator/images/connectionerror.png
/usr/share/mysql-gui/doc/administrator/images/error.png
/usr/share/mysql-gui/doc/administrator/images/graph-settings.png
/usr/share/mysql-gui/doc/administrator/images/mainwindow.png
/usr/share/mysql-gui/doc/administrator/images/marked-area.png
/usr/share/mysql-gui/doc/administrator/images/options-connection.png
/usr/share/mysql-gui/doc/administrator/images/options-connections.png
/usr/share/mysql-gui/doc/administrator/images/options-general-options.png
/usr/share/mysql-gui/doc/administrator/images/options.png
/usr/share/mysql-gui/doc/administrator/images/replication.png
/usr/share/mysql-gui/doc/administrator/images/restore-content.png
/usr/share/mysql-gui/doc/administrator/images/server-logs-general-log.png
/usr/share/mysql-gui/doc/administrator/images/system-tray.png
/usr/share/mysql-gui/doc/administrator/images/user-accounts.png
/usr/share/mysql-gui/doc/administrator/images/user-information.png

rpm -ql mysql-5.0.27-1.fc6
/etc/ld.so.conf.d/mysql-x86_64.conf
/etc/my.cnf
/usr/bin/msql2mysql
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_find_rows
/usr/bin/mysql_tableinfo
/usr/bin/mysql_waitpid
/usr/bin/mysqlaccess
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/lib64/mysql
/usr/lib64/mysql/libmysqlclient.so.15
/usr/lib64/mysql/libmysqlclient.so.15.0.0
/usr/lib64/mysql/libmysqlclient_r.so.15
/usr/lib64/mysql/libmysqlclient_r.so.15.0.0
/usr/lib64/mysql/mysql_config
/usr/lib64/mysql/mysqlbug
/usr/share/doc/mysql-5.0.27
/usr/share/doc/mysql-5.0.27/COPYING
/usr/share/doc/mysql-5.0.27/EXCEPTIONS-CLIENT
/usr/share/doc/mysql-5.0.27/README
/usr/share/info/mysql.info.gz
/usr/share/man/man1/mysql.1.gz
/usr/share/man/man1/mysqlaccess.1.gz
/usr/share/man/man1/mysqladmin.1.gz
/usr/share/man/man1/mysqldump.1.gz
/usr/share/man/man1/mysqlshow.1.gz
/usr/share/mysql
/usr/share/mysql/charsets
/usr/share/mysql/charsets/Index.xml
/usr/share/mysql/charsets/README
/usr/share/mysql/charsets/armscii8.xml
/usr/share/mysql/charsets/ascii.xml
/usr/share/mysql/charsets/cp1250.xml
/usr/share/mysql/charsets/cp1251.xml
/usr/share/mysql/charsets/cp1256.xml
/usr/share/mysql/charsets/cp1257.xml
/usr/share/mysql/charsets/cp850.xml
/usr/share/mysql/charsets/cp852.xml
/usr/share/mysql/charsets/cp866.xml
/usr/share/mysql/charsets/dec8.xml
/usr/share/mysql/charsets/geostd8.xml
/usr/share/mysql/charsets/greek.xml
/usr/share/mysql/charsets/hebrew.xml
/usr/share/mysql/charsets/hp8.xml
/usr/share/mysql/charsets/keybcs2.xml
/usr/share/mysql/charsets/koi8r.xml
/usr/share/mysql/charsets/koi8u.xml
/usr/share/mysql/charsets/latin1.xml
/usr/share/mysql/charsets/latin2.xml
/usr/share/mysql/charsets/latin5.xml
/usr/share/mysql/charsets/latin7.xml
/usr/share/mysql/charsets/macce.xml
/usr/share/mysql/charsets/macroman.xml
/usr/share/mysql/charsets/swe7.xml
/usr/share/mysql/czech
/usr/share/mysql/czech/errmsg.sys
/usr/share/mysql/danish
/usr/share/mysql/danish/errmsg.sys
/usr/share/mysql/dutch
/usr/share/mysql/dutch/errmsg.sys
/usr/share/mysql/english
/usr/share/mysql/english/errmsg.sys
/usr/share/mysql/estonian
/usr/share/mysql/estonian/errmsg.sys
/usr/share/mysql/french
/usr/share/mysql/french/errmsg.sys
/usr/share/mysql/german
/usr/share/mysql/german/errmsg.sys
/usr/share/mysql/greek
/usr/share/mysql/greek/errmsg.sys
/usr/share/mysql/hungarian
/usr/share/mysql/hungarian/errmsg.sys
/usr/share/mysql/italian
/usr/share/mysql/italian/errmsg.sys
/usr/share/mysql/japanese
/usr/share/mysql/japanese/errmsg.sys
/usr/share/mysql/korean
/usr/share/mysql/korean/errmsg.sys
/usr/share/mysql/norwegian
/usr/share/mysql/norwegian-ny
/usr/share/mysql/norwegian-ny/errmsg.sys
/usr/share/mysql/norwegian/errmsg.sys
/usr/share/mysql/polish
/usr/share/mysql/polish/errmsg.sys
/usr/share/mysql/portuguese
/usr/share/mysql/portuguese/errmsg.sys
/usr/share/mysql/romanian
/usr/share/mysql/romanian/errmsg.sys
/usr/share/mysql/russian
/usr/share/mysql/russian/errmsg.sys
/usr/share/mysql/serbian
/usr/share/mysql/serbian/errmsg.sys
/usr/share/mysql/slovak
/usr/share/mysql/slovak/errmsg.sys
/usr/share/mysql/spanish
/usr/share/mysql/spanish/errmsg.sys
/usr/share/mysql/swedish
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf
/usr/bin/msql2mysql
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_find_rows
/usr/bin/mysql_tableinfo
/usr/bin/mysql_waitpid
/usr/bin/mysqlaccess
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/lib/mysql
/usr/lib/mysql/libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient.so.15.0.0
/usr/lib/mysql/libmysqlclient_r.so.15
/usr/lib/mysql/libmysqlclient_r.so.15.0.0
/usr/lib/mysql/mysql_config
/usr/lib/mysql/mysqlbug
/usr/share/doc/mysql-5.0.27
/usr/share/doc/mysql-5.0.27/COPYING
/usr/share/doc/mysql-5.0.27/EXCEPTIONS-CLIENT
/usr/share/doc/mysql-5.0.27/README
/usr/share/info/mysql.info.gz
/usr/share/man/man1/mysql.1.gz
/usr/share/man/man1/mysqlaccess.1.gz
/usr/share/man/man1/mysqladmin.1.gz
/usr/share/man/man1/mysqldump.1.gz
/usr/share/man/man1/mysqlshow.1.gz
/usr/share/mysql
/usr/share/mysql/charsets
/usr/share/mysql/charsets/Index.xml
/usr/share/mysql/charsets/README
/usr/share/mysql/charsets/armscii8.xml
/usr/share/mysql/charsets/ascii.xml
/usr/share/mysql/charsets/cp1250.xml
/usr/share/mysql/charsets/cp1251.xml
/usr/share/mysql/charsets/cp1256.xml
/usr/share/mysql/charsets/cp1257.xml
/usr/share/mysql/charsets/cp850.xml
/usr/share/mysql/charsets/cp852.xml
/usr/share/mysql/charsets/cp866.xml
/usr/share/mysql/charsets/dec8.xml
/usr/share/mysql/charsets/geostd8.xml
/usr/share/mysql/charsets/greek.xml
/usr/share/mysql/charsets/hebrew.xml
/usr/share/mysql/charsets/hp8.xml
/usr/share/mysql/charsets/keybcs2.xml
/usr/share/mysql/charsets/koi8r.xml
/usr/share/mysql/charsets/koi8u.xml
/usr/share/mysql/charsets/latin1.xml
/usr/share/mysql/charsets/latin2.xml
/usr/share/mysql/charsets/latin5.xml
/usr/share/mysql/charsets/latin7.xml
/usr/share/mysql/charsets/macce.xml
/usr/share/mysql/charsets/macroman.xml
/usr/share/mysql/charsets/swe7.xml
/usr/share/mysql/czech
/usr/share/mysql/czech/errmsg.sys
/usr/share/mysql/danish
/usr/share/mysql/danish/errmsg.sys
/usr/share/mysql/dutch
/usr/share/mysql/dutch/errmsg.sys
/usr/share/mysql/english
/usr/share/mysql/english/errmsg.sys
/usr/share/mysql/estonian
/usr/share/mysql/estonian/errmsg.sys
/usr/share/mysql/french
/usr/share/mysql/french/errmsg.sys
/usr/share/mysql/german
/usr/share/mysql/german/errmsg.sys
/usr/share/mysql/greek
/usr/share/mysql/greek/errmsg.sys
/usr/share/mysql/hungarian
/usr/share/mysql/hungarian/errmsg.sys
/usr/share/mysql/italian
/usr/share/mysql/italian/errmsg.sys
/usr/share/mysql/japanese
/usr/share/mysql/japanese/errmsg.sys
/usr/share/mysql/korean
/usr/share/mysql/korean/errmsg.sys
/usr/share/mysql/norwegian
/usr/share/mysql/norwegian-ny
/usr/share/mysql/norwegian-ny/errmsg.sys
/usr/share/mysql/norwegian/errmsg.sys
/usr/share/mysql/polish
/usr/share/mysql/polish/errmsg.sys
/usr/share/mysql/portuguese
/usr/share/mysql/portuguese/errmsg.sys
/usr/share/mysql/romanian
/usr/share/mysql/romanian/errmsg.sys
/usr/share/mysql/russian
/usr/share/mysql/russian/errmsg.sys
/usr/share/mysql/serbian
/usr/share/mysql/serbian/errmsg.sys
/usr/share/mysql/slovak
/usr/share/mysql/slovak/errmsg.sys
/usr/share/mysql/spanish
/usr/share/mysql/spanish/errmsg.sys
/usr/share/mysql/swedish
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys

[kevin@localhost ~]$ rpm -ql mysql-gui-common-1.1.10-3.fc6
/usr/share/doc/mysql-gui-common-1.1.10
/usr/share/doc/mysql-gui-common-1.1.10/COPYING
/usr/share/doc/mysql-gui-common-1.1.10/README
/usr/share/mysql-gui
/usr/share/mysql-gui/common
/usr/share/mysql-gui/common/16x16_Catalog.png
/usr/share/mysql-gui/common/16x16_Database.png
/usr/share/mysql-gui/common/16x16_Field.png
/usr/share/mysql-gui/common/16x16_KeyColumn.png
/usr/share/mysql-gui/common/16x16_Table.png
/usr/share/mysql-gui/common/16x16_User.png
/usr/share/mysql-gui/common/16x16_Users.png
/usr/share/mysql-gui/common/asset_index.png
/usr/share/mysql-gui/common/asset_index_16x16.png
/usr/share/mysql-gui/common/asset_table.png
/usr/share/mysql-gui/common/asset_table_16x16.png
/usr/share/mysql-gui/common/blob_icon.png
/usr/share/mysql-gui/common/busy.png
/usr/share/mysql-gui/common/checkmark.png
/usr/share/mysql-gui/common/column.png
/usr/share/mysql-gui/common/column_11x11.png
/usr/share/mysql-gui/common/column_fk.png
/usr/share/mysql-gui/common/column_fk_11x11.png
/usr/share/mysql-gui/common/column_pk.png
/usr/share/mysql-gui/common/column_pk_11x11.png
/usr/share/mysql-gui/common/connect_dialog.glade
/usr/share/mysql-gui/common/connect_to_instance.png
/usr/share/mysql-gui/common/datatype_blob.png
/usr/share/mysql-gui/common/datatype_datetime.png
/usr/share/mysql-gui/common/datatype_numeric.png
/usr/share/mysql-gui/common/datatype_spatial.png
/usr/share/mysql-gui/common/datatype_string.png
/usr/share/mysql-gui/common/datatype_userdefined.png
/usr/share/mysql-gui/common/dockpnl_bg.png
/usr/share/mysql-gui/common/dockpnl_bg_logo.png
/usr/share/mysql-gui/common/edit_disabled.png
/usr/share/mysql-gui/common/edit_enabled.png
/usr/share/mysql-gui/common/editor_table_auto_inc.png
/usr/share/mysql-gui/common/editor_table_not_null.png
/usr/share/mysql-gui/common/field_overlay_clear.png
/usr/share/mysql-gui/common/field_overlay_edit.png
/usr/share/mysql-gui/common/field_overlay_load.png
/usr/share/mysql-gui/common/field_overlay_null.png
/usr/share/mysql-gui/common/field_overlay_save.png
/usr/share/mysql-gui/common/field_overlay_view.png
/usr/share/mysql-gui/common/folder_16x16.png
/usr/share/mysql-gui/common/grt_routines_editor.glade
/usr/share/mysql-gui/common/grt_schema_editor.glade
/usr/share/mysql-gui/common/grt_table_editor.glade
/usr/share/mysql-gui/common/grt_view_editor.glade
/usr/share/mysql-gui/common/magnify_glass.png
/usr/share/mysql-gui/common/magnify_glass_with_popup.png
/usr/share/mysql-gui/common/messagedlg_confirmation.png
/usr/share/mysql-gui/common/messagedlg_edit.png
/usr/share/mysql-gui/common/messagedlg_error.png
/usr/share/mysql-gui/common/messagedlg_information.png
/usr/share/mysql-gui/common/messagedlg_warning.png
/usr/share/mysql-gui/common/mini_add.png
/usr/share/mysql-gui/common/mini_add_12.png
/usr/share/mysql-gui/common/mini_add_pressed.png
/usr/share/mysql-gui/common/mini_add_pressed_12.png
/usr/share/mysql-gui/common/mini_del.png
/usr/share/mysql-gui/common/mini_del_12.png
/usr/share/mysql-gui/common/mini_del_pressed.png
/usr/share/mysql-gui/common/mini_del_pressed_12.png
/usr/share/mysql-gui/common/mini_error.png
/usr/share/mysql-gui/common/mini_notice.png
/usr/share/mysql-gui/common/mini_warning.png
/usr/share/mysql-gui/common/minus.png
/usr/share/mysql-gui/common/mysql_logo.png
/usr/share/mysql-gui/common/mysqlx_dbm_charsets.xml
/usr/share/mysql-gui/common/mysqlx_dbm_datatypes.xml
/usr/share/mysql-gui/common/myx_schema_16x16.png
/usr/share/mysql-gui/common/myx_schema_sp_16x16.png
/usr/share/mysql-gui/common/myx_schema_table_16x16.png
/usr/share/mysql-gui/common/myx_schema_view_16x16.png
/usr/share/mysql-gui/common/networkhost_16x16.png
/usr/share/mysql-gui/common/options_admin.png
/usr/share/mysql-gui/common/options_bg.png
/usr/share/mysql-gui/common/options_checkbox.png
/usr/share/mysql-gui/common/options_checkbox_checked.png
/usr/share/mysql-gui/common/options_checkbox_xed.png
/usr/share/mysql-gui/common/options_connections.png
/usr/share/mysql-gui/common/options_editors.png
/usr/share/mysql-gui/common/options_general.png
/usr/share/mysql-gui/common/options_querybrowser.png
/usr/share/mysql-gui/common/plus.png
/usr/share/mysql-gui/common/preferences.glade
/usr/share/mysql-gui/common/progress_indicator.gif
/usr/share/mysql-gui/common/sakila.png
/usr/share/mysql-gui/common/schema_32x32.png
/usr/share/mysql-gui/common/sizer_h_left.png
/usr/share/mysql-gui/common/sizer_h_right.png
/usr/share/mysql-gui/common/source_dbconn.png
/usr/share/mysql-gui/common/statusbar_clear.png
/usr/share/mysql-gui/common/tab_close.png
/usr/share/mysql-gui/common/tab_close_normal.png
/usr/share/mysql-gui/common/tab_close_over.png
/usr/share/mysql-gui/common/tab_close_pressed.png
/usr/share/mysql-gui/common/tab_list.png
/usr/share/mysql-gui/common/tab_new.png
/usr/share/mysql-gui/common/table_editor.glade
/usr/share/mysql-gui/common/tabsheet_icon_close.png
/usr/share/mysql-gui/common/tabsheet_icon_close2.png
/usr/share/mysql-gui/common/target_dbconn.png
/usr/share/mysql-gui/common/task_checked.png
/usr/share/mysql-gui/common/task_disabled.png
/usr/share/mysql-gui/common/task_error.png
/usr/share/mysql-gui/common/task_unchecked.png
/usr/share/mysql-gui/common/thread_stop.png
/usr/share/mysql-gui/common/tree_button_box.png
/usr/share/mysql-gui/common/tree_button_closed.png
/usr/share/mysql-gui/common/tree_button_open.png
/usr/share/mysql-gui/common/user_icon.png
/usr/share/mysql-gui/common/xgrtsh_about.png
/usr/share/mysql-gui/doc

[kevin@localhost ~]$ rpm -ql mysql-devel-5.0.27-1.fc6
/usr/include/mysql
/usr/include/mysql/chardefs.h
/usr/include/mysql/errmsg.h
/usr/include/mysql/history.h
/usr/include/mysql/keycache.h
/usr/include/mysql/keymaps.h
/usr/include/mysql/m_ctype.h
/usr/include/mysql/m_string.h
/usr/include/mysql/my_alloc.h
/usr/include/mysql/my_config.h
/usr/include/mysql/my_config_x86_64.h
/usr/include/mysql/my_dbug.h
/usr/include/mysql/my_dir.h
/usr/include/mysql/my_getopt.h
/usr/include/mysql/my_global.h
/usr/include/mysql/my_list.h
/usr/include/mysql/my_net.h
/usr/include/mysql/my_no_pthread.h
/usr/include/mysql/my_pthread.h
/usr/include/mysql/my_semaphore.h
/usr/include/mysql/my_sys.h
/usr/include/mysql/my_xml.h
/usr/include/mysql/mysql.h
/usr/include/mysql/mysql_com.h
/usr/include/mysql/mysql_embed.h
/usr/include/mysql/mysql_time.h
/usr/include/mysql/mysql_version.h
/usr/include/mysql/mysqld_ername.h
/usr/include/mysql/mysqld_error.h
/usr/include/mysql/raid.h
/usr/include/mysql/readline.h
/usr/include/mysql/rlmbutil.h
/usr/include/mysql/rlprivate.h
/usr/include/mysql/rlshell.h
/usr/include/mysql/rltypedefs.h
/usr/include/mysql/sql_common.h
/usr/include/mysql/sql_state.h
/usr/include/mysql/sslopt-case.h
/usr/include/mysql/sslopt-longopts.h
/usr/include/mysql/sslopt-vars.h
/usr/include/mysql/tilde.h
/usr/include/mysql/typelib.h
/usr/include/mysql/xmalloc.h
/usr/lib64/mysql
/usr/lib64/mysql/libdbug.a
/usr/lib64/mysql/libheap.a
/usr/lib64/mysql/libmyisam.a
/usr/lib64/mysql/libmyisammrg.a
/usr/lib64/mysql/libmysqlclient.a
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmystrings.a
/usr/lib64/mysql/libmysys.a
/usr/lib64/mysql/libvio.a
/usr/include/mysql
/usr/include/mysql/chardefs.h
/usr/include/mysql/errmsg.h
/usr/include/mysql/history.h
/usr/include/mysql/keycache.h
/usr/include/mysql/keymaps.h
/usr/include/mysql/m_ctype.h
/usr/include/mysql/m_string.h
/usr/include/mysql/my_alloc.h
/usr/include/mysql/my_config.h
/usr/include/mysql/my_config_i386.h
/usr/include/mysql/my_dbug.h
/usr/include/mysql/my_dir.h
/usr/include/mysql/my_getopt.h
/usr/include/mysql/my_global.h
/usr/include/mysql/my_list.h
/usr/include/mysql/my_net.h
/usr/include/mysql/my_no_pthread.h
/usr/include/mysql/my_pthread.h
/usr/include/mysql/my_semaphore.h
/usr/include/mysql/my_sys.h
/usr/include/mysql/my_xml.h
/usr/include/mysql/mysql.h
/usr/include/mysql/mysql_com.h
/usr/include/mysql/mysql_embed.h
/usr/include/mysql/mysql_time.h
/usr/include/mysql/mysql_version.h
/usr/include/mysql/mysqld_ername.h
/usr/include/mysql/mysqld_error.h
/usr/include/mysql/raid.h
/usr/include/mysql/readline.h
/usr/include/mysql/rlmbutil.h
/usr/include/mysql/rlprivate.h
/usr/include/mysql/rlshell.h
/usr/include/mysql/rltypedefs.h
/usr/include/mysql/sql_common.h
/usr/include/mysql/sql_state.h
/usr/include/mysql/sslopt-case.h
/usr/include/mysql/sslopt-longopts.h
/usr/include/mysql/sslopt-vars.h
/usr/include/mysql/tilde.h
/usr/include/mysql/typelib.h
/usr/include/mysql/xmalloc.h
/usr/lib/mysql
/usr/lib/mysql/libdbug.a
/usr/lib/mysql/libheap.a
/usr/lib/mysql/libmyisam.a
/usr/lib/mysql/libmyisammrg.a
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib/mysql/libmystrings.a
/usr/lib/mysql/libmysys.a
/usr/lib/mysql/libvio.a

[kevin@localhost ~]$ rpm -ql koffice-kexi-driver-mysql-1.6.1-4.fc6
/usr/lib64/kde3/kexidb_mysqldriver.la
/usr/lib64/kde3/kexidb_mysqldriver.so
/usr/lib64/kde3/keximigrate_mysql.la
/usr/lib64/kde3/keximigrate_mysql.so
/usr/share/services/kexidb_mysqldriver.desktop
/usr/share/services/keximigrate_mysql.desktop

[kevin@localhost ~]$ rpm -ql php-mysql-5.1.6-3.3.fc6
/etc/php.d/mysql.ini
/etc/php.d/mysqli.ini
/etc/php.d/pdo_mysql.ini
/usr/lib64/php/modules/mysql.so
/usr/lib64/php/modules/mysqli.so
/usr/lib64/php/modules/pdo_mysql.so

[kevin@localhost ~]$ rpm -ql mysql-server-5.0.27-1.fc6
/etc/rc.d/init.d/mysqld
/usr/bin/innochecksum
/usr/bin/my_print_defaults
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
/usr/bin/myisamlog
/usr/bin/myisampack
/usr/bin/mysql_convert_table_format
/usr/bin/mysql_create_system_tables
/usr/bin/mysql_explain_log
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_fix_privilege_tables
/usr/bin/mysql_install_db
/usr/bin/mysql_secure_installation
/usr/bin/mysql_setpermission
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysql_upgrade
/usr/bin/mysql_upgrade_shell
/usr/bin/mysql_zap
/usr/bin/mysqlbug
/usr/bin/mysqld_multi
/usr/bin/mysqld_safe
/usr/bin/mysqldumpslow
/usr/bin/mysqlhotcopy
/usr/bin/mysqltest
/usr/bin/mysqltestmanager
/usr/bin/mysqltestmanager-pwgen
/usr/bin/mysqltestmanagerc
/usr/bin/perror
/usr/bin/replace
/usr/bin/resolve_stack_dump
/usr/bin/resolveip
/usr/libexec/mysqld
/usr/libexec/mysqlmanager
/usr/share/doc/mysql-server-5.0.27
/usr/share/doc/mysql-server-5.0.27/my-huge.cnf
/usr/share/doc/mysql-server-5.0.27/my-innodb-heavy-4G.cnf
/usr/share/doc/mysql-server-5.0.27/my-large.cnf
/usr/share/doc/mysql-server-5.0.27/my-medium.cnf
/usr/share/doc/mysql-server-5.0.27/my-small.cnf
/usr/share/man/man1/msql2mysql.1.gz
/usr/share/man/man1/myisam_ftdump.1.gz
/usr/share/man/man1/myisamchk.1.gz
/usr/share/man/man1/myisamlog.1.gz
/usr/share/man/man1/myisampack.1.gz
/usr/share/man/man1/mysql.server.1.gz
/usr/share/man/man1/mysql_config.1.gz
/usr/share/man/man1/mysql_explain_log.1.gz
/usr/share/man/man1/mysql_fix_privilege_tables.1.gz
/usr/share/man/man1/mysql_upgrade.1.gz
/usr/share/man/man1/mysql_zap.1.gz
/usr/share/man/man1/mysqlbinlog.1.gz
/usr/share/man/man1/mysqlcheck.1.gz
/usr/share/man/man1/mysqld.1.gz
/usr/share/man/man1/mysqld_multi.1.gz
/usr/share/man/man1/mysqld_safe.1.gz
/usr/share/man/man1/mysqlhotcopy.1.gz
/usr/share/man/man1/mysqlimport.1.gz
/usr/share/man/man1/mysqlman.1.gz
/usr/share/man/man1/mysqlmanager.1.gz
/usr/share/man/man1/perror.1.gz
/usr/share/man/man1/replace.1.gz
/usr/share/man/man1/safe_mysqld.1.gz
/usr/share/man/man8/mysqld.8.gz
/usr/share/man/man8/mysqlmanager.8.gz
/usr/share/mysql
/usr/share/mysql/errmsg.txt
/usr/share/mysql/fill_help_tables.sql
/usr/share/mysql/mysql_fix_privilege_tables.sql
/var/lib/mysql
/var/log/mysqld.log
/var/run/mysqld

[kevin@localhost ~]$ rpm -ql mysqlclient14-4.1.14-4.2.1
/etc/ld.so.conf.d/mysqlclient14-x86_64.conf
/usr/lib64/mysql/libmysqlclient.so.14
/usr/lib64/mysql/libmysqlclient.so.14.0.0
/usr/lib64/mysql/libmysqlclient_r.so.14
/usr/lib64/mysql/libmysqlclient_r.so.14.0.0
/usr/share/doc/mysqlclient14-4.1.14
/usr/share/doc/mysqlclient14-4.1.14/COPYING
/usr/share/doc/mysqlclient14-4.1.14/EXCEPTIONS-CLIENT
/usr/share/doc/mysqlclient14-4.1.14/README

Ok the problem seems that is that in package mysql-devel-5.0.27-1.fc6 there're the two versions of libmysqlclient.so one /usr/lib/mysql/libmysqlclient.so ( 32bit ) and /usr/lib64/mysql/libmysqlclient.so ( 64bits ) with a common header /usr/include/mysql/mysql.h

A bit strange that distribution, moreover mysqlclient-devel packages includes also so|a libraries but in not standard location at all /usr/lib64/mysql4/mysql/libmysqlclient.so i guess that you not need mysqlclient-devel packages at all unless there's some strange dependencies or simbolic links.

So the only way to fix that issue is to introduce in configure a new switch to allow you specify the prefix for mysql library then you will be able to choose between compile with a 32bits ( --with-mysql-lib=/usr/lib/mysql ) or 64bits ( --with-mysql-lib=/usr/lib64/mysql ) but i cannot understand why the fedora maintainer of this package didn't create a /usr/lib64/include/mysql to put there a simbolic link of mysql.h as others distros do.

Please to be sure that that is the problem just change in configure.in the order of mysql libs :
for w in /usr/lib /usr/local/lib /usr/mysql /usr/local/mysql /usr/local/mysql/lib /opt /opt/mysql /usr/lib64; do

by

for w in /usr/lib64 /usr/lib /usr/local/lib /usr/mysql /usr/local/mysql /usr/local/mysql/lib /opt /opt/mysql; do

run
autoconf ; ./configure ; make 

And let me know if works.

-- AngelCarpintero - 16 Jan 2007

Fix record

Succsess Thanks Alot

-- KevinMifflin - 16 Jan 2007

Ok , i've update the configure.in to allow a more flexible way to setup mysql include and lib directory :

In new version there are this options:
--without-mysql : Disable mysql support for motion
--with-mysql-include : Set the path to mysql.h
--with-mysql-lib : Set the path to libmysqlclient.[so|a]

If you don't specify any of the above options configure tries to autodetect headers & libs .

You can grab the configure.in from latest svn version .

-- AngelCarpintero - 16 Jan 2007
Topic revision: r11 - 21 Feb 2008, KennethLavrsen
Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.