Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 33991 invoked from network); 23 Jul 2007 02:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 02:18:40 -0000 Received: (qmail 1940 invoked by uid 500); 23 Jul 2007 02:18:41 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 1920 invoked by uid 500); 23 Jul 2007 02:18:41 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 1911 invoked by uid 99); 23 Jul 2007 02:18:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2007 19:18:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [165.254.4.17] (HELO mcf.com) (165.254.4.17) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2007 19:18:37 -0700 Received: from [165.254.4.10] (165.254.4.10) by mcf.com with ESMTP (EIMS X 3.3.2) for ; Sun, 22 Jul 2007 22:19:14 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <1404e5910707221834o239fea27s557127f7546748bd@mail.gmail.com> References: <20070722133332.GA18864@bastion.lan.sarmacka.net> <46A385C9.90104@rowe-clan.net> <1404e5910707221834o239fea27s557127f7546748bd@mail.gmail.com> Date: Sun, 22 Jul 2007 22:18:15 -0400 To: modules-dev@httpd.apache.org From: Farokh Irani Subject: Re: APXS question Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Checked: Checked by ClamAV on apache.org >On 7/22/07, Farokh Irani wrote: >>/usr/local/apache2/bin/apxs -i -n mod_fancy .libs/mod_fancy.so >>.libs/config.so >>/usr/local/apache2/build/instdso.sh >>SH_LIBTOOL='/usr/local/apache2/build/libtool' .libs/mod_fancy.so >>/usr/local/apache2/modules >>/usr/local/apache2/build/libtool --mode=install cp .libs/mod_fancy.so >>/usr/local/apache2/modules/ >>cp .libs/mod_fancy.so /usr/local/apache2/modules/mod_fancy.so >>Warning! dlname not found in /usr/local/apache2/modules/mod_fancy.so. >>Assuming installing a .so rather than a libtool archive. >>chmod 755 /usr/local/apache2/modules/mod_fancy.so >>/usr/local/apache2/build/instdso.sh >>SH_LIBTOOL='/usr/local/apache2/build/libtool' .libs/config.so >>/usr/local/apache2/modules >>/usr/local/apache2/build/libtool --mode=install cp .libs/config.so >>/usr/local/apache2/modules/ >>cp .libs/config.so /usr/local/apache2/modules/config.so >>Warning! dlname not found in /usr/local/apache2/modules/config.so. >>Assuming installing a .so rather than a libtool archive. > >Was this msg truncated? I didn't see the same error as in the start of >this thread. Hmm. Well, that's the most recent set of errors :) >It does unfortunately look like you're invoking apxs in such a way as >to install two DSO's, not to link two pieces of object code into a >single DSO. I tried to use the .la files (as you mentioned in a different message) as in: apxs -i -n mod_fancy mod_fancy.la config.la Unfortunately, apxs generated two .so files, mod_fancy.so and config.so. It seems that apxs doesn't want to link multiple .la files into one .so as it does if I passed it .cpp files. I think that what I'm going to have to do is to create a single library out of everything and then use apxs to install that. Anyone have thoughts on that? Thanks. -- Farokh ---------------------------------------------------------------------------- MCF Software...simply dependably engineered Developers of ListSTAR http://www.liststar.com/, MacRADIUS http://www.macradius.com/, Address List Sorter http://www.mcfsoftware.com/als/, SimpleText Filter for EIMS http://www.mcfsoftware.com/stf/ and Auto Reply plug-in for EIMS http://www.mcfsoftware.com/ar/.