[unixODBC-dev] ODBCConfig: undefined symbol: iniElement

Nick Gorham nick at lurcher.org
Fri Nov 11 11:09:28 GMT 2005


Brent Pinkney wrote:
> Hi,
> 
> I am installing unixODBC on gentoo 2005.1.
> 
> After installing the qt-unixODBC and unixODBC packages, when I try to execute 
> ODBCConfig I am rewareded with:
> 
> ODBCConfig: symbol lookup error: /usr/lib/libodbcinstQ.so.1: undefined symbol: 
> iniElement
> 
> Can anyone assist me ?
> 
> Thanks
> 
> Brent Pinkney
> _______________________________________________
> unixODBC-dev mailing list
> unixODBC-dev at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-dev

Hi,

Normally I would suggest that you try the 2.2.12 snapshot that fixes 
this problem. However there are build issues on gentoo at the moment. So 
maybe a simple solution would be to apply the fix to 2.2.11.

Unpack your 2.2.11 distribution, edit odbcinstQ/Makefile.in and look for 
the following lines (from line 213)



@QT_TRUE at libodbcinstQ_la_LIBADD = @X_LDFLAGS@ \
@QT_TRUE@   @QT_LDFLAGS@ \
@QT_TRUE@   @USER_LDFLAGS@ \
@QT_TRUE@   @LIB_QT@ \
@QT_TRUE@   ../odbcinst/libodbcinst.la \
@QT_TRUE@   ../extras/libodbcextraslc.la \
@QT_TRUE@   ../DriverManager/libodbc.la


@QT_TRUE at libodbcinstQ_la_DEPENDENCIES = \
@QT_TRUE@   ../odbcinst/libodbcinst.la \
@QT_TRUE@   ../extras/libodbcextraslc.la \
@QT_TRUE@   ../DriverManager/libodbc.la

Change to

@QT_TRUE at libodbcinstQ_la_LIBADD = @X_LDFLAGS@ \
@QT_TRUE@   @QT_LDFLAGS@ \
@QT_TRUE@   @USER_LDFLAGS@ \
@QT_TRUE@   @LIB_QT@ \
@QT_TRUE@    ../ini/libinilc.la \
@QT_TRUE@   ../odbcinst/libodbcinst.la \
@QT_TRUE@   ../extras/libodbcextraslc.la \
@QT_TRUE@   ../DriverManager/libodbc.la


@QT_TRUE at libodbcinstQ_la_DEPENDENCIES = \
@QT_TRUE@    ../ini/libinilc.la \
@QT_TRUE@   ../odbcinst/libodbcinst.la \
@QT_TRUE@   ../extras/libodbcextraslc.la \
@QT_TRUE@   ../DriverManager/libodbc.la


then configure and build as before.

-- 
Nick





More information about the unixODBC-dev mailing list