RE: [PHP4BETA] iodbc crashing while connecting to MSSQL
| From: | Andrew Hill | Date: | Fri, 19 May 2000 13:19:18 +0000 |
| Subject: | RE: [PHP4BETA] iodbc crashing while connecting to MSSQL | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15238@lists.php.net to get a copy of this message | ||
Dave,
Check if you got a compile error regarding undefined symbol
pthread_mutex_lock
If you did, adding -lc_r into the libs in the makefile should allow it to
compile without errors. If you still receive the error when running, your
apache build probably doesn't have -pthread support. What version of Apache
are you running, as I know that -pthread support came late into the FreeBSD
builds.
We do not have a non-multi-threaded odbc client, so you need to resolve this
at the apache end.
Hope this helps!
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Technical Support Consultant
OpenLink Software
http://www.openlinksw.com
Universal Database Connectivity Technology Providers
-----Original Message-----
From: Dave Goodrich [mailto:daveg@rblc.com]
Sent: Thursday, May 18, 2000 8:04 PM
To: ahill@openlinksw.com; php4beta@lists.php.net
Subject: Re: [PHP4BETA] iodbc crashing while connecting to MSSQL
Well, I have everything running now. The ODBC admin (web tool) can test
successfully to the MSSQL DB. I recompiled PHP with openlink support and it
compiled cleanly and restarted.
Now when I try to make a connection I get the following in my apache
error_log.
/usr/libexec/ld-elf.so.1: /usr/local/openlink/lib/oplodbc.so.1.0: Undefined
symbol "pthread_mutex_lock"
I've never seen problems with posix threads on any software I've compiled on
FreeBSD. Is this just a lib problem? am I not linking correctly?
Any help would be appreciated.
DAve
--
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net