[unixODBC-dev] odbcinst exported symbols

Stefan Radman Stefan.Radman at CTBTO.ORG
Thu Dec 9 22:44:53 GMT 2004


Nick, 

Looking at the odbcinst code I realised that there is no

    -export-symbols @srcdir@/odbcinst.exp

in odbcinst/Makefile
and certainly no odbcinst.exp

Care for a patch? ;-)

Stefan

> -----Original Message-----
> From: unixodbc-dev-bounces at easysoft.com 
> [mailto:unixodbc-dev-bounces at easysoft.com] On Behalf Of Stefan Radman
> Sent: Thursday, December 09, 2004 11:28 PM
> To: Development issues and topics for unixODBC
> Subject: RE: [unixODBC-dev] Problem loading our ODBC driver
> 
> 
> > > Our ODBC driver doesn't have a dependency on libodbcinst.so. 
> It better should if it uses any of the functions of the odbcinst
> interface
> 
> > > "ldd" on MySQL ODBC driver (libodbcmyS.so) and PostgreSQL 
> libodbcmyS.so is the driver SETUP library that does not use/need
> SQLGetPrivateProfileString
> 
> > > (libodbcpsql.so) and neither of them have the dependency on 
> > > libodbcinst.so as well.
> libodbcpsql.so that is included with unixODBC links the 
> odbcinst library
> statically from the unixODBC source tree.
> for whatever (historical) reason ...
> Later versions of the PostgreSQL ODBC driver (psqlodbc-07.03.xxx) do
> have that shared library dependency (psqlodbc_la_LIBADD = -lodbcinst)
> 
> ---
> Stefan
> 
> 
> > -----Original Message-----
> > From: unixodbc-dev-bounces at easysoft.com 
> > [mailto:unixodbc-dev-bounces at easysoft.com] On Behalf Of Nick Gorham
> > Sent: Thursday, December 09, 2004 10:15 PM
> > To: Development issues and topics for unixODBC
> > Subject: Re: [unixODBC-dev] Problem loading our ODBC driver
> > 
> > 
> > Raghavan Gurumurthy wrote:
> > 
> > > Our ODBC driver doesn't have a dependency on 
> libodbcinst.so. I did 
> > > "ldd" on MySQL ODBC driver (libodbcmyS.so) and PostgreSQL 
> > > (libodbcpsql.so) and neither of them have the dependency on 
> > > libodbcinst.so as well. How would I force a dependency 
> from my ODBC 
> > > driver to libodbcinst module?
> > >
> > 
> > cc -o driver *.o -lodbcinst
> > 
> > Or such like.
> > 
> > -- 
> > Nick
> > _______________________________________________
> > unixODBC-dev mailing list
> > unixODBC-dev at easysoft.com
> > http://mail.easysoft.com/mailman/listinfo/unixodbc-dev
> > 
> 
> _______________________________________________
> unixODBC-dev mailing list
> unixODBC-dev at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-dev
> 




More information about the unixODBC-dev mailing list