Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: justauser on December 30, 2012, 02:54:38 PM

Title: php looking for odbc 1 and 2 is what is installed
Post by: justauser 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?
Title: Re: php looking for odbc 1 and 2 is what is installed
Post by: Yleisajattelija 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.
Title: Re: php looking for odbc 1 and 2 is what is installed
Post by: Rich 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.