List:MySQL++« Previous MessageNext Message »
From:Des Smith Date:June 22 2007 4:24pm
Subject:Cant build mysql++ 2.2.3
View as plain text  
I am building 2.2.3 mysql++. Below is the configure script output and
the contents of the config.log. 

 

****************************************************

 

 

checking whether -lnsl is needed... no

checking for MySQL library directory...
/work/pairg/workspace/mysql/usr/lib/mysql

checking for MySQL include directory...
/work/pairg/workspace/mysql/usr/include/mysql

checking for mysql_store_result in -lmysqlclient... no

configure: error: Could not find working MySQL client library!

 

 

 

 

 

....

 

onfigure:6753: checking for MySQL include directory

configure:6779: result: /work/pairg/workspace/mysql/usr/include/mysql

configure:6786: checking for mysql_store_result in -lmysqlclient

configure:6816: gcc -o conftest -g -O2
-I/work/pairg/workspace/mysql/usr/include/mysql
-L/work/pairg/workspace/mysql/usr/lib/mysql conftest.c -lmysqlclient
-lz  >&5

/usr/bin/ld: skipping incompatible
/work/pairg/workspace/mysql/usr/lib/mysql/libmysqlclient.a when
searching for -lmysqlclient

/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../../libmysqlclient.so when
searching for -lmysqlclient

/usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when
searching for -lmysqlclient

/usr/bin/ld: cannot find -lmysqlclient

collect2: ld returned 1 exit status

configure:6822: $? = 1

 

Why does configure skip the client libraries as incompatible?

 

Thanks.

 

 

 

******************************************************************************
This email and any files transmitted with it may be confidential and are intended solely
for the use of the
individual or entity to whom they are addressed.  If you have received this email in error
then please delete
 it and notify the sender.  Do not make a copy or forward it to anyone.

This footnote also confirms that this email message has been swept for the presence of
computer viruses.

Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors Lane, Dublin 8, Ireland
Directors: B Collins, L Burke (UK), G. Maclachlan (UK). J. Ennis (UK)
Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430

*****************************************************************************

Thread
Cant build mysql++ 2.2.3Des Smith22 Jun
  • Re: Cant build mysql++ 2.2.3Warren Young22 Jun
    • RE: Cant build mysql++ 2.2.3Gregory R \(Gregory\) Gaus22 Jun
      • Re: Cant build mysql++ 2.2.3Warren Young26 Jun
        • RE: Cant build mysql++ 2.2.3Gregory R \(Gregory\) Gaus27 Jun
          • Re: Cant build mysql++ 2.2.3Warren Young27 Jun