#44102 [Opn->Fbk]: Problem with compiling SQL Relay & PHP
ID: 44102
Updated by: jani@php.net
Reported By: admin at relax-info dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: MAC OS X Leopard 10.5.2
PHP Version: 5.2.5
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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] jani@php.net
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
Thread (10 messages)