Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 94899 invoked from network); 5 Jul 2010 17:01:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jul 2010 17:01:49 -0000 Received: (qmail 55661 invoked by uid 500); 5 Jul 2010 17:01:48 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 55518 invoked by uid 500); 5 Jul 2010 17:01:47 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 55511 invoked by uid 99); 5 Jul 2010 17:01:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 17:01:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of scarleton@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qw0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 17:01:40 +0000 Received: by qwa26 with SMTP id 26so2391635qwa.37 for ; Mon, 05 Jul 2010 10:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=A0qfxq8tksVlaftB3CaDBru0khakW4XOPpYi/nmy6mo=; b=YEt03D3jaZDyUD2TaC/HeY5oPe41az0kYcYi2T4tMKhFO4gt8kSRkRWlux4qcwcs+J IwE6pMCbOmjj+1P9P/OuJDdtnNgSw/aGCzGXwGY5kx9hj4PzYgvWeguf6w0ot/kP//Sd XIImOoec70lKGxQBDJPhag6vXUeKIN/fT/wQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=s9uedSThgzKqpMr2nckk2jRAs/mKFv2M6dk/0NuA6pcRq8v+wG9MBvPpH9H1G9ntLs searC5SuugLDihpyG6IJBsIuaENZFOeCrGg5jaqnoy51aXO1ucg/UppYY//YAhN/eUm+ Pne5Zbd/7w/88yJuVy9DzP6jvu7B4ZWSQE2Vg= MIME-Version: 1.0 Received: by 10.224.96.78 with SMTP id g14mr1633529qan.133.1278349229944; Mon, 05 Jul 2010 10:00:29 -0700 (PDT) Sender: scarleton@gmail.com Received: by 10.229.85.20 with HTTP; Mon, 5 Jul 2010 10:00:29 -0700 (PDT) Date: Mon, 5 Jul 2010 13:00:29 -0400 X-Google-Sender-Auth: m0ZyLi10ZknM8PaTjWDUGDJuGKA Message-ID: Subject: Understanding apu_dso_load From: Sam Carleton To: dev@apr.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Ok, I have succeeded in getting apr_dbd_sqlite3.c to compile with the correct runtime, now it is time to use it. Today I am going to be using it on Windows, later on Unix, so I need to understand how to load it in both worlds... It looks like the mod_dbd calls apu_dso_load() to load the driver. In looking at the code, it appears that the non win32 platforms need to have the compiler macro APU_DSO_LIBDIR set. This leads to two questions: 1: On the win32 machines, where does the system look for the drivers? In the enviornment path? 2: In the non win32 world, I cannot hard code paths, is there some other option to tell apu_dso_load() where to look for the drivers? Sam