[freetds] missing libtdsodbc.so
JWOLGAST at healthplus.org
Thu Apr 5 20:26:09 EDT 2007
** Proprietary **
ok, I verified that the header file was located in /usr/local/include
/usr/local/include (p3k) <prod2> ll sql*
-rw-r--r-- 1 root sys 31945 Apr 4 17:04 sql.h
-rw-r--r-- 1 root sys 1114 Apr 4 19:24 sqldb.h
-rw-r--r-- 1 root sys 78462 Apr 4 17:04 sqlext.h
-rw-r--r-- 1 root sys 1137 Apr 4 19:24 sqlfront.h
-rw-r--r-- 1 root sys 11202 Apr 4 17:04 sqltypes.h
-rw-r--r-- 1 root sys 21671 Apr 4 17:04 sqlucode.h
/usr/local/include (p3k) <prod2>
I did ./configure --with-unixodbc=/usr/local then make then your find command and this is what I got:
[PRODUX]:/home/jwolgast/freetds-0.64 ->find . -name libtdsodbc.so
Now I uploaded and unpacked the tar file in my home directory, could that be causing any problems???
NOTICE: This communication may contain privileged or other confidential information. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information. Also, please indicate to the sender that you have received this communication in error, and delete the copy you received. Thank you.
>>> "James K. Lowden" <jklowden at freetds.org> 4/5/2007 7:35 PM >>>
JENNI WOLGAST wrote:
> So then I started looking for libtdsodbc.so and found that it didn't
> exist anywhere on my system. That's when I tried re-installing each part
> several more times including trying to use the /usr/local/unixODBC and
> /usr/local/freetds folders as installation destinations but nothing so
> far has produced a libtdsodbc.so file I can point to in odbc.ini...
OK, you seem to really want ODBC, so let me try to help you get there.
Where are the unixODBC header files installed? You should find e.g.
sqlext.h somewhere. I'll guess it's in /usr/local/include for the sake of
illustration. It's probably somewhere else, because if it were there,
FreeTDS should have found it automatically.
Normally, when you say
the script will find your unixodbc installation and build libtdsodbc.so
automatically. When it's not clever enough to do that, you say
$ ./configure --with-unixodbc=/usr/local
This tells the configure script to look in /usr/local/include for the
header files and in /usr/local/lib for libraries.
After you run configure as above,
should produce the file:
$ find . -name libtdsodbc.so
(Note that the .libs directory is ordinarly not displayed by ls(1).)
Then "make install" and you're on your way.
> Thanks for your help by the way!!!
Not at all. We all begin at the beginning.
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
More information about the FreeTDS