php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32637 No libphp5.so is created when using --with-mysql option
Submitted: 2005-04-08 19:22 UTC Modified: 2005-04-11 18:00 UTC
From: Anand dot Murugesan at eds dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 5CVS-2005-04-08 (dev) OS: Solaris 10 / Sparc
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Anand dot Murugesan at eds dot com
New email:
PHP Version: OS:

 

 [2005-04-08 19:22 UTC] Anand dot Murugesan at eds dot com
Description:
------------
libphp5.so dosen't get create when using --with-mysql option. Without which it gets created. I see no errors during configure or make.

here is the output from >make install

#make install
Installing PHP SAPI module:       cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR           - already installed: 1.3.5
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] XML_RPC        - already installed: 1.2.2
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
Installing PDO headers:          /usr/local/include/php/ext/pdo/


  I have tried it several times with the same result. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-09 02:39 UTC] sniper@php.net
What Operating system? What configure line? What GCC??
READ THIS: http://bugs.php.net/how-to-report.php
 [2005-04-09 04:30 UTC] Anand dot Murugesan at eds dot com
Solaris 10 sparcv9
-----------------------------------------------
Configure Line -

./configure --with-mysql=<DIR> --with-apsx2=<BASEDIR>/bin/apsx

-----------------------------------------------
gcc version 3.4.2

Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas --enable-shared --disable-libgcj
Thread model: posix
 [2005-04-09 09:31 UTC] sniper@php.net
Please try using this CVS snapshot:

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


 [2005-04-09 17:38 UTC] Anand dot Murugesan at eds dot com
Nope no luck on the CVS-latest for unix either. I saw it mentiones aspx2 a experimental, should I try and use a different option to configure?

Thanks.
 [2005-04-10 21:31 UTC] sniper@php.net
No, the --with-apxs2 is correct option to use with Apache2.
What does it say during configure for the apxs2 config?
What MPM does your apache2 use? Do you really HAVE Apache2 installed?? 


 [2005-04-11 01:38 UTC] Anand dot Murugesan at eds dot com
I didn't add anything specific, I just picked the default other than --enable-so option. Here is the httpd -l output....

Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c


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

I do get these error messges on the latest build......

configure: warning: You will need re2c 0.94 or later if you want to regenerate PHP parsers.
configure: warning: You will need flex 2.5.4 if you want to regenerate Zend/PHP lexical parsers.
./configure: !: not found

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

And there is no mention of apxs2 or apache in the "configure" output.... Can those warnings have something to do with it?


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

Hehehe.... Yeah I do have apache2 installed.....

Server version: Apache/2.0.53
Server built:   Apr  9 2005 01:48:51
 [2005-04-11 02:08 UTC] sniper@php.net
In what part of the configure output is that "./configure: !: not found"  ?? (paste 5 lines before, 5 lines after)


 [2005-04-11 02:30 UTC] Anand dot Murugesan at eds dot com
When I configure with --with-apxs and point it to the apache1.33 this check is done....

checking for chosen SAPI module... apache


  which is not done with apxs2.....
 [2005-04-11 02:35 UTC] Anand dot Murugesan at eds dot com
Here you go....


checking ODBC v3 driver for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 driver for PDO... yes
checking for PDO includes... /usr/share/src/php5-200504091430/ext
checking size of char *... (cached) 4
./configure: !: not found
checking for usleep... (cached) yes
checking for nanosleep... (cached) no
checking for time.h... (cached) yes
 [2005-04-11 02:40 UTC] Anand dot Murugesan at eds dot com
Never mind my previous comment about apxs not in configure...

 It does seem to do the  check....

checking for Apache 2.0 handler-module support via DSO through APXS... yes
 [2005-04-11 03:51 UTC] Anand dot Murugesan at eds dot com
The newest - newest tar ball work. Thanks Guy.....
 [2005-04-11 18:00 UTC] sniper@php.net
Apparently something which seemed totally unrelated fixed this.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 18:00:02 2025 UTC