List:General Discussion« Previous MessageNext Message »
From:Sinisa Date:July 26 1999 8:32pm
Subject:Re: installing MyODBC problems....
View as plain text  
Sanjeeb K Bhuyan writes:
 > Hi Tim,
 >    Thanx for the help..i really,really appreciate it. I took u'r
 > advice and created a lib directory..it went further this time,but i then got
 > another ....
 > in the iodbc directory,when i do a make....
 > 
 > 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/tars/myodbc-2.50.24/lib\" -c misc.c
 > gcc -O -fPIC  -I. -DDLDAPI_SVR4_DLFCN  -DVERSION=\"1.0.1\"   -c itrace.c
 > Generating iODBC driver manager --> /export/home/tars/myodbc-2.50.24/lib/iodbc.so
 > ld -G -L/export/home/tars/myodbc-2.50.24/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/tars/myodbc-2.50.24/lib/iodbc.so -ldl -lsocket -lnsl
 > if [ ! -f /export/home/tars/myodbc-2.50.24/lib/iodbc.ini ]; then cp  iodbc.UNX 
/export/home/tars/myodbc-2.50.24/lib/iodbc.ini; fi
 > ar r /export/home/tars/myodbc-2.50.24/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/tars/myodbc-2.50.24/lib/libiodbc.a
 > cp isql.h    /export/home/tars/myodbc-2.50.24/include/
 > cp isqlext.h /export/home/tars/myodbc-2.50.24/include/
 > cp odbc_types.h /export/home/tars/myodbc-2.50.24/include/
 > cp odbc_funcs.h /export/home/tars/myodbc-2.50.24/include/
 > 
 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 > 
 > Don't forget tu update /export/home/tars/myodbc-2.50.24/lib/iodbc.ini with your conf
 > 
 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 > 
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c catalog.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c connect.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c execute.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c info.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c myodbc.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c options.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c prepare.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c results.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c transact.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c utility.c
 > gcc  -D_UNIX_ -O -fPIC  -I/export/home/mysql-3.22.25/include
-I/export/home/tars/myodbc-2.50.24/include -I/export/home/mysql-3.22.25 -I../iODBC-2.12
-DDLDAPI_SVR4_DLFCN    -c dll.c
 > ar r /export/home/mysql-3.22.25/client/.libs/mysql/libmyodbc_mysql.a catalog.o
connect.o execute.o info.o myodbc.o options.o prepare.o results.o transact.o utility.o
dll.o
 > ranlib /export/home/mysql-3.22.25/client/.libs/mysql/libmyodbc_mysql.a
 > gcc -G -L/export/home/mysql-3.22.25/client/.libs/mysql catalog.o connect.o execute.o
info.o myodbc.o options.o prepare.o results.o transact.o utility.o dll.o  -o
/export/home/mysql-3.22.25/client/.libs/mysql/libmyodbc_mysql.so -ldl -lsocket -lnsl
-lmysqlclient -lmysys -lmystrings -ldbug -lm -lgcc
/export/home/mysql-3.22.25/client/.libs/mysql/libmysqlclient.a
 > /usr/local/sparc-sun-solaris2.7/bin/ld: cannot open -lmysys: No such file or
directory
 > collect2: ld returned 1 exit status
 > make[1]: *** [dll] Error 1
 > make: *** [all] Error 2
 > 
 >                      Ok,in /usr/local/sparc-sun-solaris2.7/bin/ there is
 > a file called ld but no directory called ld. also
 > if i do a "which ld" for the system i get /usr/local/bin/ld
 > which should be the ld i use.
 > 
 >                now its unable to find mysys,right? I have a mysys directory--
 > export/home/mysql-3.22.25/mysys/ which contains a bunch of .c files 
 >                   what do i do now?meanwhile myODBC still gives me
 > catalog.c errors.....
 > 
 > 
 > 

Hi!

For some reason mysys library in MySQL was not built. 

Please try to rebuild MySQL so that you could rebuilt it.


Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+



Thread
MySQL and Apache; compiling Apache with the auth_mysql moduleJonathan18 Mar
  • Re: installing MyODBC problems....Thimble Smith26 Jul
RE: MySQL and Apache; compiling Apache with the auth_mysql modulePatrik Forsberg18 Mar
  • Re: installing MyODBC problems....()27 Jul
    • Re: installing MyODBC problems....Thimble Smith27 Jul