Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Error when runing configure on solaris 8: msg#00115

db.mysql.c++

Subject: RE: Error when runing configure on solaris 8

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@xxxxxxxxxxxxxxx"
#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@xxxxxxxxxxxxxxx
[mailto:plusplus-return-4820-jeff.schweiger=nexgencom.net@xxxxxxxxxxxxxxx]
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=jeff.schweiger@xxxxxxxxxxxxx


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation