Date: 10/12/01
- Next message: Kris Erickson: "[PHP-DB] MSSQL 2000 under win 2000 IIS5 random mssql_connect issues..."
- Previous message: Daniel Ems: "[PHP-DB] Interbase Prepared Query!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Anyone have any success compiling PHP 4.0.6 under the recently released OS X
10.1? I'm hitting the "/usr/bin/ld: -undefined error must be used when
-twolevel_namespace is in effect" problem. I've gotten around it with
Apache and Postgres, but no joy with PHP.
I've tried passing in LDFLAGS="-flat_namespace" in every way I can think to
no avail. And sometimes, it looks like it's using it, but I still get:
Making all in .
/bin/sh /Users/marczak/Desktop/Download/php-4.0.6/libtool --silent
--mode=compile cc -I. -I/Users/marczak/Desktop/Download/php-4.0.6/
-I/Users/marczak/Desktop/Download/php-4.0.6/main
-I/Users/marczak/Desktop/Download/php-4.0.6 -I/usr/include/httpd
-I/Users/marczak/Desktop/Download/php-4.0.6/Zend
-I/Users/marczak/Desktop/Download/php-4.0.6/ext/mysql/libmysql
-I/Users/marczak/Desktop/Download/php-4.0.6/ext/xml/expat/xmltok
-I/Users/marczak/Desktop/Download/php-4.0.6/ext/xml/expat/xmlparse
-I/Users/marczak/Desktop/Download/php-4.0.6/TSRM -traditional-cpp -DDARWIN
-DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
stub.c
/bin/sh /Users/marczak/Desktop/Download/php-4.0.6/libtool --silent
--mode=link cc -I. -I/Users/marczak/Desktop/Download/php-4.0.6/
-I/Users/marczak/Desktop/Download/php-4.0.6/main
-I/Users/marczak/Desktop/Download/php-4.0.6 -I/usr/include/httpd
-I/Users/marczak/Desktop/Download/php-4.0.6/Zend
-I/Users/marczak/Desktop/Download/php-4.0.6/ext/mysql/libmysql
-I/Users/marczak/Desktop/Download/php-4.0.6/ext/xml/expat/xmltok
-I/Users/marczak/Desktop/Download/php-4.0.6/ext/xml/expat/xmlparse
-I/Users/marczak/Desktop/Download/php-4.0.6/TSRM -traditional-cpp -DDARWIN
-DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2
-flat_namespace -o libphp4.la -rpath
/Users/marczak/Desktop/Download/php-4.0.6/libs -avoid-version
-flat_namespace stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/ftp/libftp.la ext/mysql/libmysql.la
ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lm
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libZend.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libsapi.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libmain.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libregex.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libftp.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libmysql.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libpcre.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libposix.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libsession.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libstandard.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libxml.al
/Users/marczak/Desktop/Download/php-4.0.6/.libs/libphp4.lax/libtsrm.al
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in
effect
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1
Thoughts? Suggestions? Thanks!
-- Ed Marczak marczak <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Kris Erickson: "[PHP-DB] MSSQL 2000 under win 2000 IIS5 random mssql_connect issues..."
- Previous message: Daniel Ems: "[PHP-DB] Interbase Prepared Query!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

