Re: Compiling on Mac OS X
| From: | Andrei Zmievski | Date: | Tue, 26 Oct 2004 03:53:46 +0000 |
| Subject: | Re: Compiling on Mac OS X | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5161@lists.php.net to get a copy of this message | ||
libtool upgrade helped. But now there's another issue. The library that it compiled is 'php_gtk.so', but the PHP_SHLIB_SUFFIX seems to be defined to 'dylib', so the tests/hello.php can't run. I manually renamed it to php-gtk.dylib, and got this:
Warning: dl(): Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so' - dlcompat: dyld: php Undefined symbols:
_OnUpdateString
_core_globals
_executor_globals
_sapi_globals
in /Users/andrei/cvs/php-gtk-1.0.1/test/hello.php on line 5
Looks like some symbol export problem.. Argh.
-Andrei
On Oct 25, 2004, at 8:01 PM, Andrei Zmievski wrote:
Ok, so who here has managed to compile php-gtk on Mac OS X? Since I am a relative newcomer to this OS, I need some help. ;-) I've installed glibtool via Fink and I am getting this error during the configuration process: loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed -Andrei -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php