ID: 44102 User updated by: admin at relax-info dot com Reported By: admin at relax-info dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: MAC OS X Leopard 10.5.2 -PHP Version: 5.2.5 +PHP Version: 5.2.6RC3-dev New Comment:
Thank you for answer! I was successfully recompiled PHP5 (with --enable-static) to lastets (PHP Version 5.2.6RC3-dev). Then I run search for "libphp*"... and I see result: - libphp5.module.in - libphp5.so - libphp5.bundle But I do not found libphp.dylib or libphp5.dylib or libphp.a or libphp5.a. Ok... I run compile SQL Relay now: .... _console errors_ ... ld: library not found for -lphp collect2: ld returned 1 exit status make[4]: *** [libsql_relay.la] Error 1 Hmm, then I copy libphp5.so to /usr/lib/libphp.a and try to compile SQLRelay: ... _console error_ ... ld: warning in /usr/lib/libphp.a, file is not of required architecture Undefined symbols: "_convert_to_double", referenced from: What now? Previous Comments: ------------------------------------------------------------------------ [2008-03-11 22:28:05] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-03-03 17:53:56] admin at relax-info dot com Also, then I run searh for "libphp*" on my file system. Search result: ./sapi/apache_hooks/ libphp5.module.in ./sapi/apache/ libphp5.module.in ./libs/ libphp5.bundle libphp5.so ------------------------------------------------------------------------ [2008-03-03 17:43:27] admin at relax-info dot com Hmm, the linker of libraries in MAC OS X search for libx.dylib or libx.a in the library search path. But when I finished compile process with "- -enable-static", I do not found libphp.dylib or libphp5.dylib or libphp.a or libphp5.a. Then SQLRelay can't compile because "dl" could not found PHP5 libraries. P.S: Mac OS X ld manual: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ ld.1.html ------------------------------------------------------------------------ [2008-02-13 16:50:31] [EMAIL PROTECTED] Exactly what does this has to do with PHP? Your log is for something else than building PHP, AFAICT. You should propably be asking support from the sql relay folks.. ------------------------------------------------------------------------ [2008-02-11 22:18:56] admin at relax-info dot com Description: ------------ After PHP compilation the libphp.a are not present on MAC OS X Reproduce code: --------------- The PHP configure options: /configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs2=/usr/sbin/apxs --with-curl --with-gd --enable-exif --enable-cli --enable-zip --with-jpeg-dir=/usr/src/libjpeg --with-zlib=/usr --with-config-file-path=/etc --with-openssl --with-xmlrpc --with-xsl=/usr --without-pear --with-mysql=/usr/local/mysql --with-mysql-sock=/var/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --disable-ipv6 Expected result: ---------------- Compile SQL Relay as "Additional Modules" Actual result: -------------- first try errors : ld: library not found for -lphp collect2: ld returned 1 exit status make[4]: *** [libsql_relay.la] Error 1 Full log: http://relax-info.com/data/file/Installing_sql_relay.txt ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44102&edit=1