lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

installation error on mysql

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
analyser
Initiate


Joined: 28 Feb 2006
Posts: 1

PostPosted: Tue Feb 28, 2006 10:14 am    Post subject: installation error on mysql Reply with quote

hi , i have suse 9.2 and am having some troble ./configure
and stop 'configure: error: MySQL libraries not found. Use --with-mysql-lib-dir=<path>" but i have mysql install

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for rrdtool... /usr/bin/rrdtool
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable -Wall... no
checking for dlopen in -ldl... yes
checking for compress in -lz... yes
checking for pthread_create in -lpthread... yes
checking for main in -lstdc++... yes
checking for xmlParseFile in -lxml2... yes
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
configure: error: MySQL libraries not found. Use --with-mysql-lib-dir=<path>

doing this one also is making the same ./configure --with-mysql-lib-dir=/usr/local/mysql/lib/mysql/

mysql> status
--------------
mysql Ver 12.22 Distrib 4.0.21, for suse-linux (i686)

Connection id: 3
Current database:
Current user: root@localhost
SSL: Not in use
Current pager: less
Using outfile: ''
Server version: 4.0.21
Protocol version: 10
Connection: Localhost via UNIX socket
Client characterset: latin1
Server characterset: latin1
UNIX socket: /var/lib/mysql/mysql.sock
Uptime: 16 min 28 sec
can u guys help me Razz
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Tue Feb 28, 2006 2:33 pm    Post subject: Reply with quote

Try running configure specifying the path just to your base mysql dir, like this:

Code:
./configure --with-mysql-lib-dir=/usr/local/mysql


-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group