FreeBSD 4.3, PHP 4.0.6 & unixODBC -- Undefined Symbol
| From: | Joe Koenig | Date: | Wed, 05 Dec 2001 14:39:33 +0000 |
| Subject: | FreeBSD 4.3, PHP 4.0.6 & unixODBC -- Undefined Symbol | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76721@lists.php.net to get a copy of this message | ||
I had previously attempted to get the Openlink ODBC drivers work with
iodbc and PHP. I was having no luck and turned to easysoft's solution,
which includes unixODBC. I re-configured PHP (removing the config.cache
file) and used --with-unixODBC=path/to/unixODBC instead of
--with-iodbc=/path/to/iodbc. However, when starting Apache, I now get a
'Cannot load /usr/local/libexec/apache/libphp4.so into server:
/usr/local/src/lib/libiodbc.so.3: Undefined symbol
"pthread_mutex_unlock"'. The version of Apache that is installed is
1.3.20. I must not understand something about unixODBC because I didn't
think libiodbc should even be getting loaded. Regardless, does anyone
have a fix? Thanks,
Joe