WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: php looking for odbc 1 and 2 is what is installed  (Read 1848 times)

Offline justauser

  • Newbie
  • *
  • Posts: 17
php looking for odbc 1 and 2 is what is installed
« on: December 30, 2012, 02:54:38 PM »
I am on the latest tce and I installed php.  When I run a php --version I get an error saying it is looking for  libodbc.so.1  All that is installed is libodbc.so.2  Any ideas?

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: php looking for odbc 1 and 2 is what is installed
« Reply #1 on: December 30, 2012, 03:36:07 PM »
There seems to be systematic problem with these shared libraries on TC.

For temporary fix you can try to place those "not found libs" to /usr/lib directory.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: php looking for odbc 1 and 2 is what is installed
« Reply #2 on: December 30, 2012, 04:45:56 PM »
Hi justauser
Try this for a temporary fix:
Code: [Select]
ln -sf usr/local/lib/libodbc.so.2 usr/local/lib/libodbc.so.1Then send a PM to robc to make him aware of the problem.