Received: (qmail 66455 invoked by uid 501); 15 Mar 2002 00:37:12 -0000 Message-Id: <20020315003712.66454.qmail@apache.org> Date: 15 Mar 2002 00:37:12 -0000 From: Fabio Montoya Reply-To: fm@model-it.com.mx To: submit@bugz.apache.org Subject: Generated libtool(s) broken in Darwin >= 5.3 (Mac OS X >= 10.1.x) for Apache 2.0.32 [Easy Fix] X-Send-Pr-Version: 3.110 >Number: 10186 >Category: config >Synopsis: Generated libtool(s) broken in Darwin >= 5.3 (Mac OS X >= 10.1.x) for Apache 2.0.32 [Easy Fix] >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Mar 14 16:40:00 PST 2002 >Closed-Date: Tue Mar 26 06:12:09 PST 2002 >Last-Modified: Tue Mar 26 06:12:09 PST 2002 >Originator: fm@model-it.com.mx >Release: 2.0.32 >Organization: >Environment: Darwin 5.3 (Mac OS X 10.0.3) Darwin Kernel Version 5.3: Thu Jan 24 22:06:02 PST 2002; root:xnu/xnu-201.19.obj~1/RELEASE_PPC Power Macintosh powerpc >Description: The apache 2.0.32 beta release does not build automatically in Darwin >= 5.3 (Mac OS X >= 10.1.x). Affected files: srclib/apr/libtool srclib/apr-util/xml/expat/libtool >How-To-Repeat: make (will not build complete) >Fix: The correct libtool(s) should contain: # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag="-flat_namespace -undefined warning" Note: Apple introduced some changes in the linker & runtime environment (two-level namespaces), reference: http://developer.apple.com/techpubs/macosx/ReleaseNotes/TwoLevelNamespaces.html >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: jim State-Changed-When: Tue Mar 26 06:12:09 PST 2002 State-Changed-Why: In most cases libtool is generated automatically. There are 2 real solutions if building from CVS. The first is to grab a later version of libtool and place in /usr/local on Darwin. The other is to edit /usr/share/libtool/ltconfig and look for 'allow_undefined_flag' line in the darwin/rhapsody section and change to: allow_undefined_flag='-undefined warning -flat_namespace' >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]