WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libiodbc.tcz  (Read 5001 times)

Offline duane

  • Newbie
  • *
  • Posts: 16
libiodbc.tcz
« on: April 21, 2015, 10:45:49 AM »
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?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: libiodbc.tcz
« Reply #1 on: April 21, 2015, 11:00:17 AM »
Perhaps you could use ODBC.

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: libiodbc.tcz
« Reply #2 on: April 23, 2015, 06:07:43 AM »
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.
« Last Edit: April 23, 2015, 06:18:07 AM by duane »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14619
Re: libiodbc.tcz
« Reply #3 on: April 23, 2015, 06:28:21 AM »
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?

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: libiodbc.tcz
« Reply #4 on: April 23, 2015, 06:34:33 AM »
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.

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: libiodbc.tcz
« Reply #5 on: May 06, 2015, 06:10:37 AM »
I have used the libiodbc.tcz from TC4 in TC5 and it seems ok.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14619
Re: libiodbc.tcz
« Reply #6 on: May 06, 2015, 06:25:05 AM »
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?

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: libiodbc.tcz
« Reply #7 on: May 06, 2015, 06:34:49 AM »
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.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14619
Re: libiodbc.tcz
« Reply #8 on: May 06, 2015, 06:46:31 AM »
Code: [Select]
$ 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.

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: libiodbc.tcz
« Reply #9 on: May 06, 2015, 06:53:44 AM »
Ok, Thanks for the follow up.