Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 39809 invoked from network); 15 Aug 2007 16:02:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 16:02:56 -0000 Received: (qmail 54363 invoked by uid 500); 15 Aug 2007 16:02:47 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 54351 invoked by uid 500); 15 Aug 2007 16:02:47 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 54340 invoked by uid 99); 15 Aug 2007 16:02:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 09:02:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hartem@gmail.com designates 64.233.162.233 as permitted sender) Received: from [64.233.162.233] (HELO nz-out-0506.google.com) (64.233.162.233) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 16:02:43 +0000 Received: by nz-out-0506.google.com with SMTP id m7so762807nzf for ; Wed, 15 Aug 2007 09:02:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Jc0auw3TpD5NCJ/1s1GI+eX3/6v5qBSNO+UNbGIlpRUj5KXYbI2KkWW2mhFSY6HbxXXSIODLb96IwfNcRXC3/L6KJ6wat+VBmnjjnfHq1S7IuHZC6h+5UpJXT7gapwU9BCQLRaKP1qK3qa5Qcy4ckV+J6NuPaKokzisIVlJT0VU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=oDm8rNUKA0gnHz24XpNfbzC4HtSNoHJKgDGjEFAxV2MNF2AX/AwVeJ2IKt9/HbmTMtEuB/scwdkqdothVCI0krHAmbjkzrKXRs71vJcIdAlVlIZtgVycBlbdJ0ZsAlpND6wLS/XmM6SjzuEcgiem9hFBpIgnOumUTMROzHWMnfU= Received: by 10.115.55.1 with SMTP id h1mr698414wak.1187193741694; Wed, 15 Aug 2007 09:02:21 -0700 (PDT) Received: by 10.115.89.13 with HTTP; Wed, 15 Aug 2007 09:02:21 -0700 (PDT) Message-ID: <7f3529140708150902p33d3667bnc24b21581ec1045a@mail.gmail.com> Date: Wed, 15 Aug 2007 18:02:21 +0200 From: "Artem Harutyunyan" To: modperl@perl.apache.org Subject: Problem with loading dynamic libraries MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_56887_12757011.1187193741672" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_56887_12757011.1187193741672 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have 2 questions: 1) There is a script which uses Authen::SASL::Cyrus module. During the work the module needs to load some external dynamic libraries (.so files). To have correct libraries loaded I set LD_LIBRARY_PATH, this works when running my script with usual (command line) perl. However, when I run the script under apache (with mod_perl) I see that LD_LIBRARY_PATH is ignored (I mean it seems to load the libraries from another location). How can I fix the problem ? 2) I have several installations of perl. How can I find out (and change if necessary) which one is used by mod_perl ? Thanks in advance for help, Artem. PS The apache version is 2.0.55 and mod_perl is 2.0.1 ------=_Part_56887_12757011.1187193741672 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I have 2 questions:

1) There is a script which uses Authen::SASL::Cyrus module. During the work the module needs to load some external dynamic libraries (.so files). To have correct libraries loaded I set LD_LIBRARY_PATH, this works when running my script with usual (command line) perl. However, when I run the script under apache (with mod_perl) I see that LD_LIBRARY_PATH is ignored (I mean it seems to load the libraries from another location). How can I fix the problem ?

2) I have several installations of perl. How can I find out (and change if necessary) which one is used by mod_perl ?

Thanks in advance for help,
Artem.   

PS The apache version is 2.0.55 and mod_perl is 2.0.1
------=_Part_56887_12757011.1187193741672--