Re: Error: undefined reference to get_driver_instance
Hi there,
I was wondering if you could help me. I am also getting the error
undefined reference to `_imp___ZN3sql5mysql25get_mysql_driver_instanceEv'
Which I guess means my mysqlcppconn library is not being picked up by eclipse.
In the folder C:\eclipse\lib I have three files:
mysqlcppconn.lib
mysqlcppconn-static.lib
mysqlcppconn.dll
I have linker search path: -LC:\eclipse\lib
and then -lmysqlcppconn
Any idea what I might be doing wrong? What is the .so file you refer to?
Diné
Subject
Views
Written By
Posted
26147
June 03, 2009 09:27AM
19604
June 28, 2009 12:40AM
11924
July 03, 2009 03:18PM
10162
September 17, 2009 10:12AM
10736
September 22, 2009 03:36AM
11921
September 23, 2009 08:01AM
11458
September 23, 2009 04:51PM
7068
September 25, 2009 03:52PM
Re: Error: undefined reference to get_driver_instance
9513
January 15, 2010 05:34AM
6535
February 10, 2010 09:54AM
6641
April 22, 2010 03:01PM
8105
November 17, 2009 06:17AM
15221
February 09, 2010 05:51AM
7998
April 23, 2010 06:15PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.