I did examine the config.log and I don't understand what the problem could
be. I am unsure of what the error means, and no I have no idea how to
correct it. Like I have said, I use the mysqlclient library all the time in
my C apps.
I have tried the Solaris 8 32 and 64 bit package from the MySQL web site.
The gcc version I am using is 3.4.2.
Again here is the errors I get at the end of the configure run I see this
checking for mysql_store_result in -lmysqlclient ... no
configure: error: could not find working MySQL client library
From the config.log I see these two parts that might have some releivance.
Any idea, or suggestions that I can try would be great
configure:21673: checking for mysql_store_result in -lmysqlclient
configure:21703: gcc -o conftest -g -O2 -I/usr/local/mysql/include
-L/usr/local/mysql/lib conftest.c -lmysqlclient -lz >&5
Undefined first referenced
symbol in file
floor
/usr/local/mysql/lib/libmysqlclient.a(password.o)
getservbyname
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
gethostbyname_r
/usr/local/mysql/lib/libmysqlclient.a(client.o)
socket
/usr/local/mysql/lib/libmysqlclient.a(client.o)
setsockopt
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
connect
/usr/local/mysql/lib/libmysqlclient.a(client.o)
getpeername
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
inet_addr
/usr/local/mysql/lib/libmysqlclient.a(client.o)
inet_ntoa
/usr/local/mysql/lib/libmysqlclient.a(my_net.o)
shutdown
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:21709: $? = 1
configure: failed program was:
| /* confdefs.h. */
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBZ 1
#define HAVE_MEMORY_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRTOL 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ZLIB_H 1
#define PACKAGE "mysql++"
#define PACKAGE_BUGREPORT "plusplus@stripped"
#define PACKAGE_NAME "mysql++"
#define PACKAGE_STRING "mysql++ 2.0.2"
#define PACKAGE_TARNAME "mysql++"
#define PACKAGE_VERSION "2.0.2"
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define VERSION "2.0.2"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1
-----Original Message-----
From: plusplus-return-4820-jeff.schweiger=nexgencom.net@stripped
[mailto:plusplus-return-4820-jeff.schweiger=nexgencom.net@stripped]
On Behalf Of Warren Young
Sent: Friday, August 26, 2005 8:26 AM
To: MySQL++ Mailing List
Subject: Re: Error when runing configure on solaris 8
Jeff Schweiger wrote:
>
> configure: error: Conuld not find working MySQL client library!
Examine config.log to find out why.
> --with-mysql-include=/usr/local/mysql/include
> --with-mysql-lib=/usr/local/mysql/lib
You can combine those two into --with-mysql=/usr/local/mysql
The separate options are only needed when the library and headers are
installed in completely unrelated directory trees.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=1