php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15112 failed to compile extension modules as a dso
Submitted: 2002-01-19 04:29 UTC Modified: 2002-05-05 00:00 UTC
Votes:4
Avg. Score:4.2 ± 1.3
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:0 (0.0%)
From: tom at minnesota dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.1.1 OS: NetBSD/Alpha-1.5.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tom at minnesota dot com
New email:
PHP Version: OS:

 

 [2002-01-19 04:29 UTC] tom at minnesota dot com
# NetBSD/Alpha 1.5.2 PHP-4.1.1
#
# Building the CGI
export LDFLAGS="-Wl,-R/usr/lib -L/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,--export-dynamic -Wl,--whole-archive -Wl,-lgcc -Wl,--no-whole-archive"
./configure \
--prefix=/usr/local_install/php-4.1.1 \
--with-config-file-path=/usr/local/etc \
--with-regex=system \
--with-gettext=shared,/usr/pkg \
--with-pgsql=shared,/usr/local \
--with-mysql=shared,/usr/pkg \
--with-pcre-regex \
--with-gd=shared,/usr/local \
--with-jpeg-dir=shared,/usr/pkg \
--with-png-dir=shared,/usr/pkg \
--with-xpm-dir=shared,/usr/pkg \
--with-ttf=shared,/usr/pkg \
--with-freetype-dir=shared,/usr/pkg \
--with-zlib-dir=/usr \
--enable-gd-native-ttf \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-sockets=shared \
--enable-xml=shared \
--enable-trans-sid \
--enable-discard-path \
--enable-force-cgi-redirect \
--enable-memory-limit \
--enable-track-vars \
--without-t1lib \
--disable-static \
--enable-shared 

Compiles fine and all that, but the modules aren't in *.so format, instead:

# ls -l /usr/local_install/php-4.1.1/lib/php/20010901
total 1291
-rw-r--r--  1 root  wheel  312754 Jan 19 03:25 gd.a
-rw-r--r--  1 root  wheel   42044 Jan 19 03:25 gettext.a
-rw-r--r--  1 root  wheel  169096 Jan 19 03:25 mysql.a
-rw-r--r--  1 root  wheel  263840 Jan 19 03:25 pcre.a
-rw-r--r--  1 root  wheel  181726 Jan 19 03:25 pgsql.a
-rw-r--r--  1 root  wheel  174484 Jan 19 03:25 sockets.a
-rw-r--r--  1 root  wheel   49260 Jan 19 03:25 sysvsem.a
-rw-r--r--  1 root  wheel   57342 Jan 19 03:25 sysvshm.a
#

Seems like libtool failed somewhere?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-28 09:57 UTC] adi at adis dot on dot ca
Seeing the same problems with php-4.1.2
 [2002-03-09 13:20 UTC] sniper@php.net
Could you please try latest CVS snapshot from http://snaps.php.net/ ?

 [2002-03-11 16:19 UTC] adi at adis dot on dot ca
Build php using latest snapshot: php4-200203111200.tar.gz
It's now building shared extensions fine. However, httpd refuses to run and exits without any error messages when attempting to run it.
 [2002-04-04 07:27 UTC] sniper@php.net
Could you please try PHP 4.2.0RC2 from http://www.php.net/~derick/ and if it fails too, try
debugging the crash with gdb. (configure with --enable-debug!)

 [2002-05-05 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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".
 [2012-03-10 16:24 UTC] ircmaxell@php.net
Automatic comment from SVN on behalf of ircmaxell
Revision: http://svn.php.net/viewvc/?view=revision&revision=324081
Log: list the missing security option constants

--
Provided by anonymous #15112 ()

courtesy Thomas Weinert
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC