List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:July 26 1999 4:44pm
Subject:Re: installing MyODBC problems....
View as plain text  
Hi.  I don't know anything about iODBC or your specific situation.  But
maybe I can help.

At 12:26, 19990726, Sanjeeb K Bhuyan wrote:
>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
>ld: cannot open output file /export/home/tars/myodbc-2.50.24/lib/iodbc.so: No su
>ch file or directory
>make[1]: *** [/export/home/tars/myodbc-2.50.24/lib/iodbc.so] Error 1
>make: *** [all] Error 2
>
>             It obviously isn't finding iodbc.so,right? well the funny thing
>is off export/home/tars/myodbc-2.50.24 , there isn't a directory
>called lib,nor is there a file "iodbc.so" anywhere on the system!

No, it's not obviously that.  It's trying to CREATE iodbc.so, not FIND
it.  That's why it doesn't exist - it's trying to make it for you!  But
for some reason there isn't a "lib" directory inside myodbc-2.50.24.  I
don't know if myODBC was unpacked incorrectly or if it's a problem in
the myODBC makefiles or what, but maybe if you create a lib directory
(myodbc-2.50.24/lib) and run make again, it'll be able to create the
shared object (.so) file you need.

Once that's done, you'll probably need to install iodbc.so in order to
use it ('make install' might do the trick).  Usually you'd put it into
a system library directory (e.g., /usr/local/lib/libiodbc.so).  I am
not very familiar with Solaris, so you might leave it in /export/home
and then just run ldconfig -m to merge in the directory.  Or you might
need to do something altogether different, in order to get your system
to recognize that you have the iodbc library installed.

Tim
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