MySQL Forums
Forum List  »  Connector/ODBC

Link error under RHEL5?
Posted by: Leonard Chadwell
Date: September 17, 2008 10:07AM

I'm updating our software's build for Red Hat Enterprise 5 to use MySQL 5 over ODBC.

During the linking stage, when linking in libmyodbc5.so, I get the following errors:

/usr/lib/libmyodbc5.so: undefined reference to 'SQLWriteDSNToIniW'
/usr/lib/libmyodbc5.so: undefined reference to 'SQLWritePrivateProfileStringW'
/usr/lib/libmyodbc5.so: undefined reference to 'SQLRemoveDSNFromIniW'
/usr/lib/libmyodbc5.so: undefined reference to 'SQLValidDSNW'
/usr/lib/libmyodbc5.so: undefined reference to 'SQLPostInstallerErrorW'

But I've been able to find VERY little reference to where these functions reside anywhere.

When I link instead with libmyodbc3.so (MyODBC/Connector 3.51), I don't get any of these errors.

What's going on?

Options: ReplyQuote


Subject
Written By
Posted
Link error under RHEL5?
September 17, 2008 10:07AM
September 18, 2008 08:17AM


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.