php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3619 libtool doesn't pass library options (-l, -L) to the compiler
Submitted: 2000-02-25 09:11 UTC Modified: 2000-06-28 15:01 UTC
From: adam at albedo dot art dot pl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 4 Patch Level 1 OS: NetBSD 1.4T (current)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adam at albedo dot art dot pl
New email:
PHP Version: OS:

 

 [2000-02-25 09:11 UTC] adam at albedo dot art dot pl
libtool doesn't pass library options (-l, -L) to the compiler when linking the final library;
I use the following flags to configure PHP4:
--with-regex=system --without-gd --with-zlib
--with-yp --with-filepro
--with-config-file-path=${PREFIX}/etc
--with-exec-dir=${PREFIX}/libexec/php3 
--enable-track-vars --enable-force-cgi-redirect
--enable-discard-path --enable-memory-limit
--disable-pear --disable-debug --disable-rpath
--with-apxs=${LOCALBASE}/sbin/apxs
--with-pgsql=${LOCALBASE}/pgsql
(LOCALBASE and PREFIX environment variables are set)

Here is the output of libtool (I removed --silent option):
cc -shared  -Wl,--rpath -Wl,/usr/pkgsrc/www/php4-apache/work/php-4.0b4pl1/libs  
main.lo internal_functions.lo snprintf.lo php_sprintf.lo configuration-parser.lo
 configuration-scanner.lo safe_mode.lo fopen-wrappers.lo php_realpath.lo alloca.
lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlca
t.lo mergesort.lo reentrancy.lo php_variables.lo -Wl,--whole-archive Zend/.libs/
libZend.al sapi/apache/.libs/libsapi.al ext/db/.libs/libdb.al ext/filepro/.libs/
libfilepro.al ext/pcre/.libs/libpcre.al ext/pgsql/.libs/libpgsql.al ext/posix/.l
ibs/libposix.al ext/session/.libs/libsession.al ext/standard/.libs/libstandard.a
l ext/yp/.libs/libyp.al ext/zlib/.libs/libzlib.al -Wl,--no-whole-archive -Wl,-soname -Wl,libphp4.so.0 -o .libs/libphp4.so.0.0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-29 07:23 UTC] sas at cvs dot php dot net
What does your libphp4.la file contain?
 [2000-06-28 15:01 UTC] andi at cvs dot php dot net
There have been a lot of changes in the build system since then.
Please try PHP 4.0.1 which will be released tomorrow and open a new bug report if the problem persists.
Thanks!
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 13:00:01 2026 UTC