[unixODBC-support] Missing exported symbol error blocks compiling

Stefan Radman Stefan.Radman at CTBTO.ORG
Mon Dec 17 14:12:04 GMT 2007


Dan is right.
http://www.unixodbc.org/unixODBC-2.2.12.tar.gz
As well as 
ftp://ftp.easysoft.com/pub/unixODBC/unixODBC-2.2.12.tar.gz
Match the MD5 hash Dan sent and contain
unixODBC-2.2.12/odbcinstQ/odbcinstQ.exp:
==============================
QTSQLManageDataSources
QTSQLCreateDataSource
==============================
But calls in unixODBC-2.2.12/odbcinst/SQLCreateDataSource.c:
=== snip =====================
pSQLCreateDataSource = (BOOL (*)(HWND, LPSTR))lt_dlsym( hDLL,
"QTSQLCreateDataSources" );
=== snip =====================
pSQLCreateDataSource = (BOOL (*)(HWND))lt_dlsym( hDLL,
"QTSQLCreateDataSources" );
=== snip =====================

Nick, where did YOU get your 2.2.12 from? ;-)

Stefan

> -----Original Message-----
> From: unixodbc-support-bounces at easysoft.com 
> [mailto:unixodbc-support-bounces at easysoft.com] On Behalf Of 
> Daniel Macks
> Sent: Monday, 17 December, 2007 14:32
> To: Support for the unixODBC project
> Subject: Re: [unixODBC-support] Missing exported symbol error 
> blocks compiling
> 
> On Mon, Dec 17, 2007 at 10:51:56AM +0000, Nick Gorham wrote:
> > Daniel Macks wrote:
> > 
> > >Building unixodbc-2.2.12 on OS X fails in the odbcinstQ subdir
> > >linking:
> > >
> > >nmedit -s .libs/libodbcinstQ-symbols.expsym .libs/libodbcinstQ.so
> > >nmedit: symbols names listed in: 
> .libs/libodbcinstQ-symbols.expsym not in: 
> > >.libs/libodbcinstQ.so
> > >
> > >The exported-symbols list odbcinstQ.exp contains 
> QTSQLCreateDataSource
> > >but /.libs/libodbcinstQ.so calls the symbol 
> "QTSQLCreateDataSources"
> > >(defined in SQLManageDataSources.cpp). The symbol appears to be
> > >accessed in odbcinst/SQLCreateDataSource.c (via lt_dlsym) as the
> > >plural name, so I think the .exp file is wrong.
> > >
> > >dan
> > >
> > > 
> > >
> > Odd, I just took a look in the .exp in 2.2.12 it looks to 
> be plural. 
> > Where did you get your 2.2.12 from?
> 
>  url: ftp://ftp.easysoft.com/pub/beta/unixODBC/unixODBC-2.2.12.tar.gz
>  md5: 9a116aad4059c31d231b626ffdf1869a
> 
> dan
> 
> -- 
> Daniel Macks
> dmacks at netspace.org
> http://www.netspace.org/~dmacks
> 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
> 



More information about the unixODBC-support mailing list