Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 95478 invoked from network); 6 Nov 2010 18:22:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Nov 2010 18:22:12 -0000 Received: (qmail 99867 invoked by uid 500); 6 Nov 2010 18:22:43 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 99772 invoked by uid 500); 6 Nov 2010 18:22:43 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 99757 invoked by uid 99); 6 Nov 2010 18:22:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 18:22:43 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dean.w.parshall@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-yx0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 18:22:34 +0000 Received: by yxt3 with SMTP id 3so2812952yxt.30 for ; Sat, 06 Nov 2010 11:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=aoysfyGINzseJF+jG9AYTTGgb/znUJ5LSxHv2P5C7p4=; b=eZXqREfEsXZArE1P3C26Ud8M0cUFd2S2dEzL9f44c+MnbZ3dRK8+lpKnAIcYfW1CMO b3b83lOXwRUiS9HzN1kc3NnhFqzSRjQtG0ntl8yG5MminiFExUdDt3c+k9VW7oXKwSOk BULaTSRDMJRCwkXQ8sAqXPCmO78MZtCwLcxcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=pU+Xdnffo3ALczfg/xgn43KLaoMGKabPRRHd/4H0mc2v3WFZk8DTqA5ic5W7SP/wdc 6AtdopXkVbvhTHpSs9G5kjCNo0C20AluhWD+raBmtmkEDxUawKTSWr/q9ydNY0180i+n zaamPqpiyMbjT9dOurhnqp/X2w+MwW5XPZJfM= Received: by 10.91.18.33 with SMTP id v33mr3095092agi.153.1289067732567; Sat, 06 Nov 2010 11:22:12 -0700 (PDT) Received: from [192.168.0.2] (97-114-90-186.spkn.qwest.net [97.114.90.186]) by mx.google.com with ESMTPS id n28sm2063005yha.16.2010.11.06.11.22.10 (version=SSLv3 cipher=RC4-MD5); Sat, 06 Nov 2010 11:22:11 -0700 (PDT) Subject: Re: [daemon] jsvc: error while loading shared libraries: libcap.so.1 From: Dean To: Commons Users List In-Reply-To: References: <1289061957.2291.22.camel@Chronos> Content-Type: text/plain; charset="UTF-8" Date: Sat, 06 Nov 2010 11:22:07 -0700 Message-ID: <1289067727.2291.23.camel@Chronos> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org as far as I understand you *should be able to just ship the built library with your code and it should be okay. ~Dean On Sun, 2010-11-07 at 01:46 +0800, Prashant Bhat wrote: > Hi Dean, > > Thanks a lot for your help. After installing autoconf, I could build it > successfully. As ./jsvc is working now, I'll try to use it with my > application. > > But if I distribute my application with this, will it work in other systems > as well, i.e 1) in other ubuntu systems without having to build again 2) > in other distros like fedora, etc. I mean, can I use one common script to > run it on any linux based os? > > Best Regards, > Prashant > > On Sun, Nov 7, 2010 at 12:45 AM, Dean wrote: > > > afaik you'll have to roll it yourself, at least according to Apache's > > site. please try "sudo apt-get install autoconf" > > and if it installs correctly, do "which autoconf" to make sure it is in > > your path, then you should be good. my system installs 2.67 by default > > which should be sufficient to your needs. The site says you need 2.57 or > > better. You can check with "autoconf -V" (-V is unix standard for > > version) Please let me know you got it working or still need > > assistance. > > > > I'm working through some cpp practice exercizes today so i'll be at the > > kby all day :) > > > > ~Dean > > On Sat, 2010-11-06 at 17:50 +0800, Prashant Bhat wrote: > > > Hi, > > > > > > I'd like to make my application run as a service both on windows and > > Ubuntu. > > > So I'm trying to use apache-daemon 1.0.4 linux binary release [1]. > > > > > > I'm using Ubuntu-10.04. When I execute ./jsvc , it stops with an error > > > message like this: > > > './jsvc: error while loading shared libraries: libcap.so.1: cannot open > > > shared object file: No such file or directory' > > > > > > Then I tried to steps to build from source. But that failed as well, for > > the > > > following command. > > > $ sh support/buildconf.sh > > > support/buildconf.sh: 33: autoconf: not found > > > support/buildconf.sh: cannot generate configure script > > > > > > Are there any other libraries to include? Any ideas/suggestions to solve > > > this? > > > > > > Thanks, > > > Prashant > > > > > > [1] > > > > > http://www.apache.org/dist/commons/daemon/binaries/1.0.4/linux/commons-daemon-1.0.4-bin-linux-i586.tar.gz > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > > For additional commands, e-mail: user-help@commons.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org