[Home]

Summary:ASTERISK-11847: All mysql related addons can't be installed on FEDORA CORE 8 x86_64
Reporter:alexis.gingras (alexis101)Labels:
Date Opened:2008-04-14 16:28:58Date Closed:2011-06-07 14:07:56
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) config.log
( 1) config.log
Description:the configure script of asterisk-addons don't realize that mysql-client and it's library are installed.

****** ADDITIONAL INFORMATION ******

Output of ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for uname... /bin/uname
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... gawk
checking for GNU make... make
checking for awk... /bin/awk
checking for grep... /bin/grep
checking for basename... /bin/basename
checking for dirname... /usr/bin/dirname
checking for sh... /bin/sh
checking for ln... /bin/ln
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
checking for asterisk.h... yes
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts

              .$$$$$$$$$$$$$$$=..
           .$7$7..          .7$$7:.
         .$$:.                 ,$7.7
       .$7.     7$$$$           .$$77
    ..$$.       $$$$$            .$$$7
   ..7$   .?.   $$$$$   .?.       7$$$.
  $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
.777.   .$$$$$$77$$$77$$$$$7.      $$$,
$$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7
$$$       .7$$$$$$$$$$$$$$$$      :$$$.
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.
$$$        $$$   7$$$7  .$$$    .$$$.
$$$$             $$$$7         .$$$.
7$$$7            7$$$$        7$$$
$$$$$                        $$$
 $$$$7.                       $$  (TM)
  $$$$$$$.           .7$$$$$$  $$
    $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
      $$$$$$$$$$$$$$$$.

configure: Package configured for:
configure: OS type  : Linux
configure: Host CPU : x86_64
output of ldconfig -v | grep mysql :
/usr/lib/mysql:
       libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
       libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
/usr/lib64/mysql:
       libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
       libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
Comments:By: Jason Parker (jparker) 2008-04-14 17:28:38

Do you have the appropriate development packages installed?

By: alexis.gingras (alexis101) 2008-04-16 11:18:14

Do you have a list of the dev package needed? But I do think I have all of them. I  Have mysql-dev

By: Tilghman Lesher (tilghman) 2008-04-16 12:49:53

Please upload the output of:

rpm -qa |grep -i mysql

and

yum search mysql

By: alexis.gingras (alexis101) 2008-04-16 13:19:41

rpm -qa |grep -i mysql :

php-mysql-5.2.4-3
mysql-devel-5.0.45-6.fc8
mysql-connector-odbc-3.51.14r248-2.fc8
mysql-5.0.45-6.fc8
mysql-libs-5.0.45-6.fc8
mysql-gui-common-5.0r12-4.fc8
mysql++-2.3.2-2.fc8
perl-DBD-MySQL-4.005-2.fc8.1
mysql-query-browser-5.0r12-4.fc8
mysql++-2.3.2-2.fc8
mysql-server-5.0.45-6.fc8
mysql-libs-5.0.45-6.fc8
mysql-devel-5.0.45-6.fc8

yum search mysql:



fedora                    100% |=========================| 2.1 kB    00:00
updates                   100% |=========================| 2.3 kB    00:00
mysql-gui-common.x86_64 : Common data shared among the MySQL GUI Suites
pdns-backend-mysql.x86_64 : MySQL backend for pdns
mysql-devel.x86_64 : Files for development of MySQL applications
mysql-gui-tools.x86_64 : GUI tools to manage mysql Databases
moomps.x86_64 : Powerful modular monitoring service
rekall.i386 : A KDE database front-end application
bytefx-data-mysql.x86_64 : MySQL database connectivity for Mono
mytop.noarch : A top clone for MySQL
phpMyAdmin.noarch : Web based MySQL browser written in php
innotop.noarch : A MySQL and InnoDB monitor program
cacti.noarch : An rrd based graphing tool
mysql-gui-tools.x86_64 : GUI tools to manage mysql Databases
snort.x86_64 : Intrusion detection system
pam_mysql.x86_64 : PAM module for auth UNIX users using MySQL data base
knetworkmanager-devel.i386 : Common data shared among the MySQL GUI Suites
gpsdrive.i386 : A GPS based navigation tool
libgda-mysql-devel.x86_64 : MySQL provider for libgda pkgconfig file
qt4-mysql.x86_64 : MySQL driver for Qt's SQL classes
mysql++-devel.x86_64 : MySQL++ developer files (headers, examples, etc.)
perl-DBD-Mock.noarch : Mock database driver for testing
qt4-mysql.x86_64 : MySQL driver for Qt's SQL classes
perl-DateTime-Format-MySQL.noarch : Parse and format MySQL dates and times
mysql-libs.i386 : The shared libraries required for MySQL clients
mysql++-devel.i386 : MySQL++ developer files (headers, examples, etc.)
php-pear-MDB2-Driver-mysql.noarch : MySQL MDB2 driver
rekall-mysql.x86_64 : Rekall MySQL driver
mysql-devel.i386 : Files for development of MySQL applications
roundcubemail.noarch : Round Cube Webmail is a browser-based multilingual IMAP client
php-pdo.x86_64 : A database access abstraction module for PHP applications
mantis.noarch : Web-based bugtracking system
lighttpd-mod_mysql_vhost.x86_64 : Virtual host module for lighttpd that uses a MySQL database
dbmail-mysql.x86_64 : The DBMail mail storage system
unixODBC.x86_64 : A complete ODBC driver manager for Linux
ulogd-mysql.x86_64 : MySQL output plugin for ulogd
knetworkmanager-devel.x86_64 : Common data shared among the MySQL GUI Suites
mysql-libs.x86_64 : The shared libraries required for MySQL clients
mysql-server.x86_64 : The MySQL server and related files
mysql-test.x86_64 : The test suite distributed with MySQL
freeradius-mysql.x86_64 : MySQL bindings for freeradius
mysql-server.x86_64 : The MySQL server and related files
php-pear-MDB2-Driver-mysqli.noarch : MySQL Improved MDB2 driver
php-pdo.x86_64 : A database access abstraction module for PHP applications
php-mysql.x86_64 : A module for PHP applications that use MySQL databases
libpreludedb-mysql.x86_64 : Plugin to use prelude with a mysql database
qt-MySQL.x86_64 : MySQL drivers for Qt's SQL classes.
mysql-devel.x86_64 : Files for development of MySQL applications
mysql-libs.x86_64 : The shared libraries required for MySQL clients
lighttpd-mod_mysql_vhost.x86_64 : Virtual host module for lighttpd that uses a MySQL database
mysql-libs.i386 : The shared libraries required for MySQL clients
mysql-bench.x86_64 : MySQL benchmark scripts and data
snort.x86_64 : Intrusion detection system
pam_mysql.i386 : PAM module for auth UNIX users using MySQL data base
php-mysql.x86_64 : A module for PHP applications that use MySQL databases
mysql-connector-odbc.x86_64 : ODBC driver for MySQL
mysql-devel.i386 : Files for development of MySQL applications
mysql-query-browser.x86_64 : A graphical tool for handling MySQL queries
mysql.x86_64 : MySQL client programs and shared libraries
rubygem-rails.noarch : Web-application framework
rsyslog.x86_64 : Enhanced system logging and kernel message trapping daemons
mysql-libs.i386 : The shared libraries required for MySQL clients
qt-MySQL.x86_64 : MySQL drivers for Qt's SQL classes.
mysql-administrator.x86_64 : GUI tools to manage mysql Databases
mantis.noarch : Web-based bugtracking system
gnokii-smsd-mysql.x86_64 : MySQL support for Gnokii SMS daemon
libgda-mysql.x86_64 : MySQL provider for libgda
unixODBC.x86_64 : A complete ODBC driver manager for Linux
mysql-server.x86_64 : The MySQL server and related files
moodss.x86_64 : Powerful modular monitoring graphical application
mysql-bench.x86_64 : MySQL benchmark scripts and data
gallery2.noarch : Customizable photo gallery web site
bacula-director-common.x86_64 : Common Bacula Director files
snort-bloat.x86_64 : Snort with Flexible Response
unixODBC.x86_64 : A complete ODBC driver manager for Linux
snort-mysql.x86_64 : Snort with Flexible Response
openser.x86_64 : Open Source SIP Server
ruby-mysql.x86_64 : A Ruby interface to MySQL
bacula-storage-mysql.x86_64 : MySQL Bacula storage daemon files
mysql-connector-odbc.x86_64 : ODBC driver for MySQL
mysql.x86_64 : MySQL client programs and shared libraries
rsyslog.x86_64 : Enhanced system logging and kernel message trapping daemons
perl-DBD-Mock.noarch : Mock database driver for testing
libdbi-dbd-mysql.x86_64 : MySQL plugin for libdbi
bugzilla.noarch : Bug tracking system
mod_auth_mysql.x86_64 : Basic authentication for the Apache web server using a MySQL database
gallery2.noarch : Customizable photo gallery web site
proftpd-mysql.x86_64 : Module to add MySQL support to the ProFTPD FTP server
perl-DBD-MySQL.x86_64 : A MySQL interface for perl
perl-Text-TabularDisplay.noarch : Display text in formatted table output
pyicq-t-mysql.noarch : MySQL backend for ICQ transport
mysql++.i386 : C++ wrapper for the MySQL C API
perl-Time-Piece-MySQL.noarch : MySQL-specific methods for Time::Piece
ulogd-mysql.x86_64 : MySQL output plugin for ulogd
rsyslog-mysql.x86_64 : MySQL support for rsyslog
libpreludedb-mysql.x86_64 : Plugin to use prelude with a mysql database
koffice-kexi-driver-mysql.x86_64 : mysql-driver for kexi
cacti.noarch : An rrd based graphing tool
perl-DBD-MySQL.x86_64 : A MySQL interface for perl
mysql-gui-common.x86_64 : Common data shared among the MySQL GUI Suites
rsyslog.x86_64 : Enhanced system logging and kernel message trapping daemons
bugzilla.noarch : Bug tracking system
mysql++-manuals.x86_64 : MySQL++ user and reference manuals
openser-mysql.x86_64 : MySQL Storage Support for the OpenSER
unixODBC.i386 : A complete ODBC driver manager for Linux
callweaver-mysql.x86_64 : MySQL support for CallWeaver
dbmail.x86_64 : The DBMail mail storage system
mysql++.x86_64 : C++ wrapper for the MySQL C API
gnokii-smsd-mysql.x86_64 : MySQL support for Gnokii SMS daemon
mysql.x86_64 : MySQL client programs and shared libraries
mysql++.i386 : C++ wrapper for the MySQL C API
dovecot-mysql.x86_64 : MySQL backend for dovecot
knetworkmanager-devel.i386 : Common data shared among the MySQL GUI Suites
php-pear-MDB2-Driver-mysql.noarch : MySQL MDB2 driver
snort-mysql.x86_64 : Snort with Flexible Response
mysql-administrator.x86_64 : GUI tools to manage mysql Databases
libnss-mysql.i386 : NSS library for MySQL
unixODBC.i386 : A complete ODBC driver manager for Linux
Io-language-mysql.x86_64 : Io mysql bindings
showimg-mysql.x86_64 : MySQL plugin for the Showimg image database
python-sqlobject.noarch : SQLObject -Object-Relational Manager, aka database wrapper
LinLog.x86_64 : A ham radio logbook for Linux
bacula-director-mysql.x86_64 : Bacula Director with MySQL database support
mysql++.x86_64 : C++ wrapper for the MySQL C API
koffice-kexi-driver-mysql.x86_64 : mysql-driver for kexi
rsyslog-mysql.x86_64 : MySQL support for rsyslog
mysql-connector-java.x86_64 : Official JDBC driver for MySQL
mysql-test.x86_64 : The test suite distributed with MySQL
mysql-libs.x86_64 : The shared libraries required for MySQL clients
dbmail-mysql.x86_64 : The DBMail mail storage system
rekall.x86_64 : A KDE database front-end application
phpMyAdmin.noarch : Web based MySQL browser written in php
knetworkmanager-devel.x86_64 : Common data shared among the MySQL GUI Suites
apr-util-mysql.x86_64 : APR utility library MySQL DBD driver
libgda-mysql-devel.i386 : MySQL provider for libgda pkgconfig file
dbmail.x86_64 : The DBMail mail storage system
perl-Class-DBI-mysql.noarch : Extensions to Class::DBI for MySQL
innotop.noarch : A MySQL and InnoDB monitor program
perl-DBIx-DBSchema.noarch : Database-independent schema objects
limph.noarch : A PHP5-compatible network host/service poller with web interface
php-pear-MDB2-Driver-mysqli.noarch : MySQL Improved MDB2 driver
mysql-gui-common.x86_64 : Common data shared among the MySQL GUI Suites
mysql-query-browser.x86_64 : A graphical tool for handling MySQL queries
roundcubemail.noarch : Round Cube Webmail is a browser-based multilingual IMAP client
python-openid.noarch : Python OpenID libraries
snort-mysql+flexresp.x86_64 : Snort with Flexible Response
bytefx-data-mysql.x86_64 : MySQL database connectivity for Mono
phpMyAdmin.noarch : Web based MySQL browser written in php
dovecot-mysql.x86_64 : MySQL backend for dovecot
nagios-plugins-mysql.x86_64 : Nagios Plugin - check_mysql
mysql-devel.i386 : Files for development of MySQL applications
perl-DBIx-DBSchema.noarch : Database-independent schema objects
libnss-mysql.x86_64 : NSS library for MySQL
mysql-devel.x86_64 : Files for development of MySQL applications
ser-mysql.x86_64 : MySQL Storage Support for the SIP Express Router
mysql-query-browser.x86_64 : A graphical tool for handling MySQL queries
MySQL-python.x86_64 : An interface to MySQL
nagios-plugins-mysql.x86_64 : Nagios Plugin - check_mysql
rekall-mysql.i386 : Rekall MySQL driver
snort-mysql+flexresp.x86_64 : Snort with Flexible Response
snort-bloat.x86_64 : Snort with Flexible Response
bibus.noarch : Bibliographic and reference management software
pyicq-t-mysql.noarch : MySQL backend for ICQ transport
pure-ftpd.x86_64 : Lightweight, fast and secure FTP server
mysql-proxy.x86_64 : A proxy for the MySQL Client/Server protocol
gpsdrive.x86_64 : A GPS based navigation tool
python-sqlobject.noarch : SQLObject -Object-Relational Manager, aka database wrapper

By: Tilghman Lesher (tilghman) 2008-04-16 13:45:26

That's very odd.  Your rpm database has duplicates.  Are you sure that your rpm database isn't corrupt in some way?

By: alexis.gingras (alexis101) 2008-04-16 13:48:32

No, The duplicate it's because yum install libraries in 64 and 32 bits



By: Tilghman Lesher (tilghman) 2008-04-16 15:07:18

Yeah, that might be the problem anyway.  Our detection routines are typically looking for a single instance, and when it sees 0 or 2, it says you don't have it.

By: Donny Kavanagh (donnyk) 2008-04-16 22:24:49

This is what i have, and all the mysql stuff compiles fine.

[root@TRN-ASTX-GTW1 asterisk-addons-1.4.3]# yum list installed|grep mysql
mysql.x86_64                             4.1.20-2.RHEL4.1.0.1   installed      
mysql-devel.x86_64                       4.1.20-2.RHEL4.1.0.1   installed      
php-mysql.x86_64                         4.3.9-3.22.5           installed      
[root@TRN-ASTX-GTW1 asterisk-addons-1.4.3]#

By: Donny Kavanagh (donnyk) 2008-04-16 22:26:30

Also yum wont duplicate unless something you install requires the 32bit libs.

By: alexis.gingras (alexis101) 2008-04-17 11:27:31

Ok I just remove the i386 libs. And I still have the same error :
yum list installed|grep mysql
mysql.x86_64                             5.0.45-6.fc8           installed
mysql++.x86_64                           2.3.2-2.fc8            installed
mysql-connector-odbc.x86_64              3.51.14r248-2.fc8      installed
mysql-devel.x86_64                       5.0.45-6.fc8           installed
mysql-gui-common.x86_64                  5.0r12-4.fc8           installed
mysql-libs.x86_64                        5.0.45-6.fc8           installed
mysql-query-browser.x86_64               5.0r12-4.fc8           installed
mysql-server.x86_64                      5.0.45-6.fc8           installed
php-mysql.x86_64                         5.2.4-3                installed

./configure
...
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
...

By: Jason Parker (jparker) 2008-04-25 14:55:47

Please attach config.log, so we can see why it's failing.

By: Tilghman Lesher (tilghman) 2008-06-03 17:26:00

alexis101: if you'd like to continue this report, then we need the config.log, as Qwell requested.

By: Tilghman Lesher (tilghman) 2008-06-24 13:55:03

Okay, this config log contradicts your original report.  You said that the configure does not detect the mysql library, though it clearly does.

What is the exact problem that you are reporting?

By: Tilghman Lesher (tilghman) 2008-07-14 16:57:05

No response from reporter.