Re: [Various] libc/1208: segfault in fclose on fdopen'ed FILE pointer
| From: | sascha at schumann dot cx | Date: | Sun, 18 Jul 1999 22:55:16 +0000 |
| Subject: | Re: [Various] libc/1208: segfault in fclose on fdopen'ed FILE pointer | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2223@lists.php.net to get a copy of this message | ||
On Sun, Jul 18, 1999 at 03:40:42PM -0700, H.J. Lu wrote:
> > ld -Bshareable -o libphp4.so ./mod_php4.o libmodphp4-so.a
> > -L/home/sas/php-4.0b1/ext/pcre/pcrelib -lpcre -L/home/sas/php-4.0b1/regex -lregex -ldb -Llibzend
> > -lzend -Lext -lphpext -L/home/sas/php-4.0b1/ext/pcre/pcrelib -lpcre -L/home/sas/php-4.0b1/regex
> > -lregex -ldb -ldl -lm -lcrypt -lnsl -lresolv
> >
>
> Never, never, never, never call "ld" directly to generate DSO unless
> you know what you are doing. You should use "gcc -shared" instead
> of "ld -Bshareable". Please read
>
> ftp://tsx-11.mit.edu/pub/linux/packages/GCC/elf.ps.gz
>
> Let me know what you get with this change.
You are the man. :-)
I'll tell the Apache people to change the settings for the Linux
platform.
--
Regards,
Sascha Schumann
Consultant