OSX compile problem (TSRM libs)

From: Date: Mon, 04 Nov 2002 21:59:25 +0000
Subject: OSX compile problem (TSRM libs)
Groups: php.general 
Request: Send a blank email to php-general+get-122712@lists.php.net to get a copy of this message
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 I have done this countless times on i386 boxes under RedHat and FreeBSD. Unfortunately, I have never encountered this problem before, as this is my first attempt on OSX. 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

« previous php.general (#122712) next »