Hello,
I'm trying to get the Openlink ODBC drivers working so I can connect
to an MS-SQL DB. The openlink test program is able to connect to the
SQL server and run a query, but my apache (1.3.9), php (3.0.14) combo
is not working well. I've followed the directions in the php install
doc, replacing their mysql statement with an "openlink-dir" statement
with the path to the openlink drivers, libs, and SDK. The compile
works fine and does not produce any errors.
The problem is that whenever I hit a test page that just does an
"odbc_connect", I get an empty document and this in the apache
error_log:
[Mon Feb 7 15:05:20 2000] [notice] Apache/1.3.9 (Unix) PHP/3.0.14 configured -- resuming normal operations
/usr/libexec/ld-elf.so.1: /usr/local/openlink/lib/oplodbc.so.1.0: Undefined symbol "pthread_mutex_lock"
If I give an incorrect uname or password in my odbc_connect call, I get
an error displayed by the odbc driver telling me so, only when it actually
tries to connect to the remote end does it give the above error...
Now I have other things running on this box (FreeBSD 3.4 Release) that use
pthreads (ie: mysql) and have calls to "pthread_mutex_lock", so what's
happening?
Any FreeBSD folks want to take a stab at this? I'm concurrently working
with OLink support on this, but they seem a bit baffled...
Thanks,
Charles