Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
error in running configure and compile of myodbc

error in running configure and compile of myodbc

2006-03-08       - By Iyer, Venkatesh

 Back

I am trying to run configure with the following options.
./configure --prefix=/home/viyer/mysqlconnect/mysql-odbc --with-iodbc=/vobs
/securities/SECURITIES_EPS_COMMON/Source/Database/libodbcxx0_2_3 --with-mysql
-path=/app/mySql-4 (See http://Sql-4.ora-code.com).1/mysql-4 (See http://sql-4.ora-code.com).1.13  --with-unixODBC-includes=/vobs/securities
/SECURITIES_EPS_COMMON/Source/Database/Test/CacheTests/cppclient/thirdparty
/unixODBC/include  --without-qt_includes --disable-gui --disable-test  --without
-samples --with-unixODBC=/vobs/securities/SECURITIES_EPS_COMMON/Source/Database
/Test/CacheTests/cppclient/thirdparty/unixODBC

The issue I am facing is that the script fails as it fails to find the library
libltdl. I removed entry for this library from the configure scipt and I was
able to run the script successfully.
But when I tried to run make, it gave the following  error while compiling
catalog.c
/bin/bash ../libtool --tag=CC --mode=compile /sw/workshop6u2/SUNWspro/bin/cc
-DHAVE_CONFIG_H -I. -I. -I.   -I/vobs/securities/SECURITIES_EPS_COMMON/Source
/Database/Test/CacheTests/cppclient/thirdparty/unixODBC/include  -O -DDBUG_OFF  
-I/app/mySql-4 (See http://Sql-4.ora-code.com).1/mysql-4 (See http://sql-4.ora-code.com).1.13/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v8
-c -o catalog.lo catalog.c
/sw/workshop6u2/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -I/vobs/securities
/SECURITIES_EPS_COMMON/Source/Database/Test/CacheTests/cppclient/thirdparty
/unixODBC/include -O -DDBUG_OFF -I/app/mySql-4 (See http://Sql-4.ora-code.com).1/mysql-4 (See http://sql-4.ora-code.com).1.13/include -Xa
-xstrconst -mt -D_FORTEC_ -xarch=v8 -c catalog.c  -KPIC -DPIC -o .libs/catalog.o
"./myodbc3.h", line 101: cannot find include file: <ltdl.h>
"catalog.c", line 91: warning: argument #1 is incompatible with prototype:
       prototype: pointer to const char : "/usr/include/iso/string_iso.h",
line 70
       argument : pointer to unsigned char
"catalog.c", line 92: warning: argument #1 is incompatible with prototype:
       prototype: pointer to char : "/app/mySql-4 (See http://Sql-4.ora-code.com).1/mysql-4 (See http://sql-4.ora-code.com).1.13/include/m
_string.h", line 173
       argument : pointer to unsigned char
"catalog.c", line 92: warning: argument #2 is incompatible with prototype:
       prototype: pointer to const char : "/app/mySql-4 (See http://Sql-4.ora-code.com).1/mysql-4 (See http://sql-4.ora-code.com).1.13/include
/m_string.h", line 173
       argument : pointer to unsigned char
................
..............

It is unable to find the header file ltdl.h.
My question is on the solaris 2.8, from which path I can get this file and
library. If not available what are my options. Can I download it from another
location. Can I disable the use of this header and libary in configure, if it
is not required.

Your insights will be highly appreciated.

Thanks,
Venky




==============================================================================
Please access the attached hyperlink for an important electronic communications
disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:    http://lists.mysql.com/myodbc?unsub=mysql@(protected)