#44102 [Opn]: Problem with compiling SQL Relay & PHP
ID: 44102
User updated by: admin at relax-info dot com
Reported By: admin at relax-info dot com
Status: Open
Bug Type: Compile Failure
Operating System: MAC OS X Leopard 10.5.2
PHP Version: 5.2.5
New Comment:
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
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-21 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[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)