PHPmac (http://www.phpmac.com/) has some excellent articles on the subject. If all else fails, you can also grab a pre-compiled binary at http://www.entropy.ch/software/macosx/php/.

On Mon Nov 4, 2002 5:12:38 PM, Kristopher Yates 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
--
Adam Atlas

"640K of computer memory ought to be enough for anybody." - Bill Gates, 1981

(2001: What? Did I say 640K? I meant 640MB.)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to