From owner-freebsd-apache@freebsd.org Tue Nov 10 20:47:20 2015 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E113DA2BA30 for ; Tue, 10 Nov 2015 20:47:20 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BD6FF1376 for ; Tue, 10 Nov 2015 20:47:20 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id BBDB8A2BA2F; Tue, 10 Nov 2015 20:47:20 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A17E9A2BA2E for ; Tue, 10 Nov 2015 20:47:20 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3563E1375 for ; Tue, 10 Nov 2015 20:47:20 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by wmec201 with SMTP id c201so153019993wme.0 for ; Tue, 10 Nov 2015 12:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XNeCJWHeSzkzgVLRqPBEDw1UtRIGIW8ilvdOAY0wjqM=; b=qC8Urw8t9VHodgDnRsXoa5IzQUo4TW3FU6Duo0P52p+AFS6Ni+z8IHSi+TzNFsMuC0 7VXLQuQ/UX6LkhseKKy0/M0vYNm52A0Qeh+UlxHLHh3EVuyhTvcJtW9Mso9OW+RVs6uY UEzT+FkCQezvqMi0VbPd6OOx7+BS48jgapwRUCjvSbP1VTV2wJCHou+8Gp78mm1wqCQH q9uHszeN50OYlJ9E2QxsUQvD4W6w/lclflrlUsAbLgG2Ez2JecW6oX3ufUtWcNJ9CF8i w0YVu5u6OCkJ6JGM7AvbGFej3bzYBAur0fnzOPX1L1eB46VUMImcu/8F9XcU70g4hi5Z +RlA== MIME-Version: 1.0 X-Received: by 10.28.134.205 with SMTP id i196mr32687606wmd.17.1447188437578; Tue, 10 Nov 2015 12:47:17 -0800 (PST) Received: by 10.28.2.194 with HTTP; Tue, 10 Nov 2015 12:47:17 -0800 (PST) In-Reply-To: <564242D1.2040205@cello.com> References: <563CD535.4000208@cello.com> <564242D1.2040205@cello.com> Date: Tue, 10 Nov 2015 21:47:17 +0100 Message-ID: Subject: Re: www/mod_auth_pgsql2 should be disabled for apache24 From: Andreas Nilsson To: Steve Dickinson Cc: "Philip M. Gollucci" , "apache@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 20:47:21 -0000 That is good to know. I reported it mainly because I was concerned with another module, which had the exact same "undefined symbol" problem. Although, I solved it by going with mod_authn_dbd. Might be worth considering. Best regards Andreas On Tue, Nov 10, 2015 at 8:17 PM, Steve Dickinson wrote: > Yes, we run Apache 2.4.x and need this module in our setup. It works fine > run-time with this modification. > > > On 11/6/2015 3:07 PM, Philip M. Gollucci wrote: > >> Does it actually work runtime in the NULL case? >> >> On Fri, Nov 6, 2015 at 11:28 AM, Steve Dickinson < >> steve.dickinson@cello.com> >> wrote: >> >> I worked around this by doing the following: >>> >>> wget >>> >>> http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/mod_auth_pgsql-2.0.3.tar.gz >>> gunzip *.gz >>> tar -xvf *tar >>> >>> apply patch code below to mod_auth_pgsql.c >>> < apr_array_header_t *reqs_arr = (apr_array_header_t *) >>> ap_requires(r); >>> --- >>> >>>> apr_array_header_t *reqs_arr = >>>> #if AP_SERVER_MAJORVERSION_NUMBER > 2 || >>>> >>> AP_SERVER_MINORVERSION_NUMBER >= 3 >>> >>>> NULL; >>>> #else >>>> (apr_array_header_t *) ap_requires(self->request_rec); >>>> #endif >>>> >>> 1064c1069 >>> < r->connection->remote_ip); >>> --- >>> >>>> r->connection->client_ip); >>>> >>> >>> root@server: /usr/local/sbin/apxs -i -a -c -I /usr/local/lib -L >>> /usr/local/lib -lpq mod_auth_pgsql.c >>> root@server: chmod 755 /usr/local/libexec/apache24/mod_auth_pgsql.so >>> >>> On 11/6/2015 11:17 AM, Andreas Nilsson wrote: >>> >>> Hello, >>>> >>>> I found out that www/mod_auth_pgsql2 does not play well with apache24: >>>> >>>> httpd: Syntax error on line 534 of /usr/local/etc/apache24/httpd.conf: >>>> Syntax error on line 3 of /usr/local/etc/apache24/Includes/my-ssl.conf: >>>> Cannot load libexec/apache24/mod_auth_pgsql.so into server: >>>> /usr/local/libexec/apache24/mod_auth_pgsql.so: Undefined symbol >>>> "ap_requires" >>>> >>>> Since ap_requires was removed for ap24 there is no need to build it for >>>> ap24. >>>> >>>> Best regards >>>> Andreas >>>> _______________________________________________ >>>> freebsd-apache@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-apache >>>> To unsubscribe, send any mail to " >>>> freebsd-apache-unsubscribe@freebsd.org" >>>> >>>> -- >>> Steve Dickinson >>> Senior Web Services Developer >>> Cello Software >>> 2941 Fairview Park Drive >>> Falls Church, Va 22042 >>> Phone: 703-226-2245 >>> steve.dickinson@cello.com >>> >>> _______________________________________________ >>> freebsd-apache@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-apache >>> To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org >>> " >>> >>> >> >> > -- > Steve Dickinson > Senior Web Services Developer > Cello Software > 2941 Fairview Park Drive > Falls Church, Va 22042 > Phone: 703-226-2245 > steve.dickinson@cello.com > >