Re: 4.2.3 compile problem on OSX
| From: | Dale Schell | Date: | Wed, 06 Nov 2002 06:53:11 +0000 |
| Subject: | Re: 4.2.3 compile problem on OSX | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122946@lists.php.net to get a copy of this message | ||
I had the same problems with 4.2.3. I was able to successfully compile
4.3.0-pre1 with little problems.
Dale
On 11/4/02 4:12 PM, "Kristopher Yates" <kris@grinz.com> wrote:
> Hello,
>
> I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone
> else had this problem (see below)?
>
>
> ./configure --with-apxs=/usr/sbin/apxs
> make
>
> ld: multiple definitions of symbol _virtual_stat
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat
> in sectio
> n (__TEXT,__text)
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat
> in sectio
> n (__TEXT,__text)
> ld: multiple definitions of symbol _virtual_unlink
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_unlink
> in sect
> ion (__TEXT,__text)
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_unlink
> in sect
> ion (__TEXT,__text)
> ld: multiple definitions of symbol _virtual_utime
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_utime
> in secti
> on (__TEXT,__text)
> TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_utime
> in secti
> on (__TEXT,__text)
> /usr/bin/libtool: internal link edit command failed
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] Error 1
>
> Forgive my ignorance but HUH? WTF?
>
> I have done this countless times on i386 boxes under RedHat and FreeBSD.
> Unfortunately, I have never encountered this problem before.
>
> Just FYI, before attempting to compile/install PHP, I successfully
> compiled/installed Apache 1.3.27,
> which seems to work as expected. I also upgraded to the latest Apple
> Developers Kit, and related update
> patches.
>
> Any ideas?
>
> Thanks,
>
> Kris
>