bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in ltdl


From: Boobal
Subject: Re: Error in ltdl
Date: Fri, 14 Aug 2009 03:15:29 -0700 (PDT)

Hello Ralf,
 
I have already linked with ldl only....
I got the linking error while linking with the libodbc.a 
I got the error such as 
/usr/local/lib/libodbc.a(SQLConnect.o): In function `odbc_dlclose'  

I installed unixODBC as follows
tar -xzvf unixODBC-2.2.15pre.tar.gz
cd unixODBC-2.2.15pre
./configure --enable-static=yes --enable-threads=yes --enable-gui=no
make
make install (as root user)

This installs /usr/local/lib/libodbc.a
but I got the error while linking with this libodbc.a

In my Makefile 'LDFLAGS' options are as follows:

LDFLAGS = -ldl -lrt

Linking...
/usr/local/lib/libodbc.a(SQLConnect.o): In function `odbc_dlclose':
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:912: undefined reference
to `lt_dlclose'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:897: undefined reference
to `lt_dlclose'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:892: undefined reference
to `lt_dlclose'
/usr/local/lib/libodbc.a(SQLConnect.o): In function `odbc_dlopen':
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:814: undefined reference
to `lt_dlopen'
/usr/local/lib/libodbc.a(SQLConnect.o): In function `__connect_part_two':
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:2322: undefined reference
to `lt_dlsym'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:2305: undefined reference
to `lt_dlerror'
/usr/local/lib/libodbc.a(SQLConnect.o): In function `__connect_part_one':
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1086: undefined reference
to `lt_dlinit'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1122: undefined reference
to `lt_dlsym'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1126: undefined reference
to `lt_dlsym'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1179: undefined reference
to `lt_dlsym'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1200: undefined reference
to `lt_dlsym'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1161: undefined reference
to `lt_dlsym'
/..//unixODBC-2.2.15pre/DriverManager/SQLConnect.c:1101: undefined reference
to `lt_dlerror'
/usr/local/lib/libodbc.a(_SQLDriverConnectPrompt.o): In function
`_SQLDriverConnectPrompt':
/..//unixODBC-2.2.15pre/odbcinst/_SQLDriverConnectPrompt.c:17: undefined
reference to `lt_dlinit'
/..//unixODBC-2.2.15pre/odbcinst/_SQLDriverConnectPrompt.c:34: undefined
reference to `lt_dlopen'
/..//unixODBC-2.2.15pre/odbcinst/_SQLDriverConnectPrompt.c:63: undefined
reference to `lt_dlsym'
/..//unixODBC-2.2.15pre/odbcinst/_SQLDriverConnectPrompt.c:59: undefined
reference to `lt_dlopen'
/usr/local/lib/libodbc.a(SQLManageDataSources.o): In function
`SQLManageDataSources':
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:141: undefined
reference to `lt_dlinit'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:151: undefined
reference to `lt_dlopen'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:155: undefined
reference to `lt_dlsym'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:163: undefined
reference to `lt_dlerror'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:166: undefined
reference to `lt_dlopen'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:171: undefined
reference to `lt_dlsym'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:175: undefined
reference to `lt_dlerror'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:159: undefined
reference to `lt_dlerror'
/..//unixODBC-2.2.15pre/odbcinst/SQLManageDataSources.c:178: undefined
reference to `lt_dlerror'
/usr/local/lib/libodbc.a(SQLCreateDataSource.o): In function
`SQLCreateDataSource':
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:194: undefined
reference to `lt_dlinit'
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:204: undefined
reference to `lt_dlopen'
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:208: undefined
reference to `lt_dlsym'
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:218: undefined
reference to `lt_dlopen'
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:222: undefined
reference to `lt_dlsym'
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:226: undefined
reference to `lt_dlerror'
/..//unixODBC-2.2.15pre/odbcinst/SQLCreateDataSource.c:212: undefined
reference to `lt_dlerror'
collect2: ld returned 1 exit status
make: *** [StoreGrid] Error 1
*** Exited with status: 2 ***

-- 
View this message in context: 
http://www.nabble.com/Error-in-ltdl-tp24789477p24969424.html
Sent from the Gnu - Libtool - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]