ID:               19918
 Comment by:       tamer at redes dot unb dot br
 Reported By:      mad at dactar dot ch
 Status:           Closed
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.00
 PHP Version:      4.3.1
 New Comment:

during a long time searching for an answer for "wheres libphp4.so",
finally I found it in a mistake under the way of I typed "apxs"

I tryied this:
 ./configure --with-pgsql=/usr/local/pgsql 
--with-apx=/usr/local/apache/bin/apx

Wheres the problem?? here:  --with-apx
IS NOT APX, BUT APXS
and ./configure command donīt exist if this is not correct, just runs.

then, now i configured with:
 ./configure --with-pgsql=/usr/local/pgsql 
--with-apxs=/usr/local/apache/bin/apxs
LOOK: apxs apxs apxs , with S S S S in the final

with this, my "make" generated the libphp4.so under .lib directory.

and after , making intall generated this :
(look the 'activating module php4'! great!)
#############################
[EMAIL PROTECTED] php-4.3.2]# make install
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP SAPI module
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
chmod 755 /usr/local/apache/libexec/libphp4.so
cp /usr/local/apache/conf/httpd.conf
/usr/local/apache/conf/httpd.conf.bak
cp /usr/local/apache/conf/httpd.conf.new
/usr/local/apache/conf/httpd.conf
rm /usr/local/apache/conf/httpd.conf.new
Installing shared extensions:    
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR           - already installed: 1.1
[PEAR] DB             - already installed: 1.3
[PEAR] HTTP           - already installed: 1.2
[PEAR] Mail           - already installed: 1.0.1
[PEAR] Net_SMTP       - already installed: 1.0
[PEAR] Net_Socket     - already installed: 1.0.1
[PEAR] XML_Parser     - already installed: 1.0.1
[PEAR] XML_RPC        - already installed: 1.0.4
Installing build environment:     /usr/local/lib/php/build/
Installing header files:          /usr/local/include/php/
Installing helper programs:       /usr/local/bin/
  program: phpize
  program: php-config
  program: phpextdist
[EMAIL PROTECTED] php-4.3.2]# 
#############################
 

My sources:
Redhat 9
apache_1.3.28
mod_ssl-2.8.15-1.3.28
openssl-0.9.7b
php-4.3.2


Previous Comments:
------------------------------------------------------------------------

[2003-04-29 06:18:17] jrdelaney at eircom dot net

Hi All,

I am installing the version of php mentioned by sniper above
(http://snaps.php.net/php4-STABLE-latest.tar.gz

) with apache 1.3.27 on Redhat 7.2
I am compiling them both (no rpms!)

Apache runs fine with the following installation commands:
/configure --enable-module=so --enable-shared=max

make and then make install.


Then I compile PHP as follows:

make clean.
/configure --with-mysql=/usr
--with-axps=/usr/local/apache/bin/axps
make
make install
When I start apache like this:

/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl start
I get the following error:

Syntax error on line 206 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: cannot open shared object file: No such
file or directory
/usr/local/apache/bin/apachectl start: httpd could not be started

This error is resulting because the file libphp4.so is not being
created by the above steps.

Has anyone got any suggestions?
I have already tried the thing with setting build_libtool_libs=yes in
libtool.

Thankyou very much,
James Delaney

------------------------------------------------------------------------

[2003-02-26 15:07:56] mathieu dot carbonneaux at free dot fr

i use  php STABLE-200302141830 on HP-UX 11.11, with Apache 2.0.43

no more probleme with -lcrypt... but with this lib...:

*** Warning: linker path does not have real file for library
-l:libcl.a.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with lib:libcl.a and none of the candidates passed a file format
test
*** using a file magic. Last file checked: /lib/libpthread.1

...
same with:
library -l:librt.sl.

...

same with:
library -l:libnss_dns.1.

...

same with:
library -l:libdld.sl.


...

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

------------------------------------------------------------------------

[2003-02-25 09:09:17] mad at dactar dot ch

Successfully tested with apache 1.3.27 AND apache 2.0.44

Thanks 
@++
JC

------------------------------------------------------------------------

[2003-02-25 02:04:12] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-02-18 22:58:40] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I have added a possible fix for this problem.
Now if crypt() is found in libc, then we don't
force adding of libcrypt anymore.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19918

-- 
Edit this bug report at http://bugs.php.net/?id=19918&edit=1

Reply via email to