Bug #15112: failed to compile extension modules as a dso
| From: | tom at minnesota dot com | Date: | Sat, 19 Jan 2002 09:29:25 +0000 |
| Subject: | Bug #15112: failed to compile extension modules as a dso | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77506@lists.php.net to get a copy of this message | ||
From: tom@minnesota.com
Operating system: NetBSD/Alpha-1.5.2
PHP version: 4.1.1
PHP Bug Type: *Compile Issues
Bug description: failed to compile extension modules as a dso
# 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?
--
Edit bug report at: http://bugs.php.net/?id=15112&edit=1