Re: [PHP4BETA] iodbc crashing while connecting to MSSQL
| From: | Sascha Schumann | Date: | Mon, 22 May 2000 18:04: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-15444@lists.php.net to get a copy of this message | ||
On Fri, 19 May 2000, Dave Goodrich wrote:
> Maybe I'm just not seeing the light here.
>
> The only place I saw that this could be added was under the EXTRA_LIBS area.
>
> LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS)
>
> I changed to this;
>
> LTLIBRARY_LIBADD = -lc_r $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS)
>
> Which causes Apache to dump core when libphp4.so is loaded. What part of
> "add -lc_r to the libs" do I not understand? I should go ahead and learn C
> shouldn't I?
>
> <sheepish>
> Help an old scripter out, can someone hold my hand here?
> </sheepish>
>
> A straight build on Slackware works, no erros and php connects to MSSQL. How
> do I get this compiled with FBSD? I don't believe there is a problem with
> pthreads on Apache 1.3.12 with FBSD 3.2 (nothing on the maillist archives
> I've seen), but until I know I have php compiled correctly with "add -lc_r
> to the libs" I can't be certain.
Configure Apache and PHP with CFLAGS=-pthread. Adding -lc_r will cause
only more problems.
- Sascha