From: Sanjeeb K Bhuyan Date: July 27 1999 4:35pm Subject: Re: iODBC List-Archive: http://lists.mysql.com/mysql/8527 Message-Id: <199907271635.MAA08300@department-of-alchemy.mit.edu> Hi, It has been really,really frustrating.....I have some questions. *Has anyone ever got iodbc-2.50.22a which is available from the mysql home page,to be installed and configured on Solaris2.7? *if u install iodbc-2.50.22, it installs a directory called myodbc-2.50.22 and a directory called iodbc-2.12 as well. what are these? which one do i need? * In Config.mk,which ODBC am I talking about...please give me the version number,so it would be clear.i'm confused about this part. * So how should the configuration for ODBC look in Config.mk for solaris or Config-solaris.mk..also after editing those 2 files,do i just have to do a "make"? I have installed and configured a mysql source---mysql-3.22.25 Some of the things I have done,all being unsuccessful--- If I set ODBC to iodbc-2.50.22,and set the path appropriately (/export/home/iodbc-2.50.22a), i get the foll. error --- gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c dlf.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c dlproc.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c herr.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c henv.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c hdbc.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c hstmt.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c connect.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c prepare.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c execute.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c result.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c fetch.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c info.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c catalog.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -DFIX_INI_FILE -DDIR_INI_FILE=\"/export/home/iodbc-2.50.22a/lib\" -c misc.c gcc -O -fPIC -I. -DDLDAPI_SVR4_DLFCN -DVERSION=\"1.0.1\" -c itrace.c Generating iODBC driver manager --> /export/home/iodbc-2.50.22a/lib/iodbc.so ld -G -L/export/home/iodbc-2.50.22a/lib dlf.o dlproc.o herr.o henv.o hdbc.o hstmt.o connect.o prepare.o execute.o result.o fetch.o info.o catalog.o misc.o itrace.o -o /export/home/iodbc-2.50.22a/lib/iodbc.so -ldl -lsocket -lnsl if [ ! -f /export/home/iodbc-2.50.22a/lib/iodbc.ini ]; then cp iodbc.UNX /export/home/iodbc-2.50.22a/lib/iodbc.ini; fi ar r /export/home/iodbc-2.50.22a/lib/libiodbc.a dlf.o dlproc.o herr.o henv.o hdbc.o hstmt.o connect.o prepare.o execute.o result.o fetch.o info.o catalog.o misc.o itrace.o ranlib /export/home/iodbc-2.50.22a/lib/libiodbc.a cp isql.h /export/home/iodbc-2.50.22a/include/ cp isqlext.h /export/home/iodbc-2.50.22a/include/ cp odbc_types.h /export/home/iodbc-2.50.22a/include/ cp odbc_funcs.h /export/home/iodbc-2.50.22a/include/ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Don't forget tu update /export/home/iodbc-2.50.22a/lib/iodbc.ini with your conf %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% gcc -D_UNIX_ -O -fPIC -I/usr/local/mysql/include -I/export/home/iodbc-2.50.22a/include -I/usr/local/mysql -I../iODBC-2.12 -DDLDAPI_SVR4_DLFCN -c catalog.c In file included from catalog.c:9: myodbc.h:16: global.h: No such file or directory myodbc.h:17: my_sys.h: No such file or directory myodbc.h:18: mysql.h: No such file or directory myodbc.h:19: my_list.h: No such file or directory myodbc.h:20: m_string.h: No such file or directory make[1]: *** [catalog.o] Error 1 make: *** [all] Error 2 please,please help me!!! --sanjeeb