delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/08/13:53:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=CbP2wFqQx3al09lA
3eClG/WvAxmDbPxThV5F4Yr93y/cNPeAKy2wgzQFExYdy5MN4kjT55fjK4B5uHvd
C6cmEONwbbAFoVyI6AaR3tg5xGBc8FKWXa1E760nXFL6tXqaESScZ6qi4FluEFfj
/b/8RHm0ztZ/m2nPrhGtgy8CQqE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=xskuz6hB9liv8J+47VrCvB
353E8=; b=q+JQ4LE0t/vNB1qPOwJ60X1Ygj8MqR1Ga3Kn2piCWmzT4kTGYJWuDz
4F0vbwERuV36BW1UUIYXd2PKgWfC02hn0F6GL5tFv5cCLVhimq7yRLyN+TyoFRcw
pg9MgK1D6hWCfOGXJ3dp3YIEZ/EJnmbQPDUFl9Up6JSyJ/ZdJTk2A=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=6.2 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,SPAM_BODY,SPF_PASS autolearn=no version=3.3.2 spammy=Views, Wood, Gas, oil
X-HELO: mail-wr0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=nQoqHJ3A5vK0QA+V9jUpv5fl+tpL1QzO8RFIvn4fumg=; b=KKQyxFbPqd/G3noM8PitK0j6LscK4cipOx1u9dw+grF/9Ne+T6VUZgF9phpPAWy5Bs Rtg1wr0WjSb/TxUfQS1cLLMMNRKQAKK7mCFhumHo//yfM3jTPh2s57GL3SCZUZIQ5sgH fID9KM4jFTe5JdDzCoaojgc8gwgmitEYOR/xjiiLT/PA6lNceKhN8FiY9qxuU2gw6EQl MWTAL7C+mbvCKhxTRdxH0ucHkCeDadLlAl3E7oW2hymdBJ5Bpr1Pk42cWZqCZi1G8OtB wNhxmkUJBriMrjkcGczfyYCR9SaF+DJsyKucDGtVPItcWhbB0UqOGFOoOPj4e4mFBCCz YkBg==
X-Gm-Message-State: AKGB3mLS93favF/coioHc6f9J2yrbVAzrODLvWy1NrvDmRpb1rL8wZdB Gg+wt05WQ3XHL0n/MWADOpnakA==
X-Google-Smtp-Source: ACJfBot1HFRLkdIJTYNDU42LShl2HVMc4vGBCtsklxzxYwEy/PfQu3pgWdjvAVFAzj1RE3BdoNgJ9w==
X-Received: by 10.223.195.197 with SMTP id d5mr11432471wrg.86.1515437595049; Mon, 08 Jan 2018 10:53:15 -0800 (PST)
Subject: Re: Can't link to libpopt
To: cygwin AT cygwin DOT com
References: <b0618068-98fd-c7f3-bdae-ac007e34ccc0 AT isotek DOT co DOT uk> <eb173e6b-e555-6bbe-b7ef-c47dcfd3c24e AT gmail DOT com>
From: Trevor Barton <tmb AT isotek DOT co DOT uk>
Message-ID: <53eadc51-bf62-fc00-a316-3c220bee6f8a@isotek.co.uk>
Date: Mon, 8 Jan 2018 18:53:13 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <eb173e6b-e555-6bbe-b7ef-c47dcfd3c24e@gmail.com>
X-IsSubscribed: yes

On 08/01/2018 18:43, Marco Atzeri wrote:
> On 08/01/2018 17:07, Trevor Barton wrote:
>> Hi,
>>
>> I am trying to use libpopt but I can't link to it using -lpopt to gcc 
>> because libpopt.a doesn't exist in /lib or /usr/lib.
>>
>> I have an up-to-date 64 bit installation and I have all of 
>> libpopt-common, libpopt-devel and libpopt0 installed at the current 
>> version 1.16.2.  In my /lib and /usr/lib directories I have 
>> libpopt.dll.a, but no libpopt.a, unlike, for example, libreadline, 
>> which has libreadline.a and libreadline.dll.a.
>>
>> I can link successfully using -lpopt.dll however.  I presume, but 
>> can't seem to find any information, that linking against libThing.a 
>> and libThing.dll.a, where both are available, gives wither a static 
>> or dynamic link?
>>
>> I always used to be able to link against libpopt.a, but I think that 
>> was always in an older 32bit installation, I may never have tried to 
>> build this program in the 64-bit environment.
>>
>> Can anyone give me any pointers please?  Can I generate libpopt.a 
>> somehow?  Or should it really be there and there is an error in the 
>> cygwin package?
>>
>> Cheers,
>> Trevor
>
> install popt-devel
>
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpopt-devel%2Fpopt-devel-1.16-1&grep=libpopt.a 
>

Thanks Marco.  However that's marked as obsolete in the installer and 
replaced by libpopt-devel.  Also the version for that is 1.16.1 I think, 
whereas he current version is 1.16.2.  The 1.16.2 version is empty and 
just shows an obsolete message on cygwin.com ...

https://cygwin.com/packages/x86_64/popt-devel/popt-devel-1.16-2

Trevor

-- 
Isotek Oil and Gas Ltd., 9 Clayton Wood Bank, Leeds, LS16 6QZ, UK.
Tel: +44 (113) 275 1339  Web: www.isotek.co.uk
Views expressed are my own and not necessarily those of Isotek Oil and Gas Ltd.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019