Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: duane on April 21, 2015, 01:45:49 PM
-
I don't see libiodbc.tcz as an available install with TC 4 or 5. I need to connect to an MSSQL db. Any suggestions?
-
Perhaps you could use ODBC.
-
Not sure what you mean "perhaps you could use ODBC"
I'm using SQLAPI lib and it depends on libiodbc (or similar) to connect to an MSSQL database server using ODBC.
I've found source for libiodbc and built it on TC5 and installed it. We're testing it now.
This library was previously available and I was wondering if there were plans to add it back.
-
libiodbc is available in the tc-4.x repo - if it works with tc-5.x/tc-6.x it can be copied into those repos.
..or alternately you could submit the libiodbc you just compiled as an extension?
-
Thanks. I will test the one that I've built and if it works I can submit it. I will also try the one from the TC4 repo.
-
I have used the libiodbc.tcz from TC4 in TC5 and it seems ok.
-
libiodbc from tc-4.x depends on libpng12, which is outdated - it can be copied to the tc-5.x/6.x repos, but it would be preferable to use the one that you built, which hopefully depends on libpng16?
-
I was not able to get that one to work. There was some issue with glibc. I didn't have time to look at that but will revisit it when I do.
But are you sure about the libpng12? I don't think that's installed on my controller. I see a dependency on GTK2 that I assume is for the ui configuration tool that comes with this. But I only see libpng16 on my controller.
-
$ ldd /tmp/image/usr/local/lib/libdrvproxy.so | grep libpng12
libpng12.so.0 => not found
$ ldd /tmp/image/usr/local/lib/libiodbcadm.so | grep libpng12
libpng12.so.0 => not found
libiodbc copied to the 5.x/6.x repos, but please update if you can.
-
Ok, Thanks for the follow up.