From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to