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

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=avcljpTdr1CDQ/NP
rihgICMtp2PO6G7y+cpsBGjVLQ4bYTDYAOIhM2wuS10Qnq6Lkx6KTzRmcCroqSPK
rfS160ijFzGZDYcg6GTbfxyd3UOtk5Ksy6+A34WDWjgSOhUqLSDJD1Vjr/bRGtUX
odGfA+RFtpaLIMcOhI7xnPR7LyM=
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=JpcgT5LU+IyOygHknugoE7
G0uvY=; b=ZdZ3x6FKOp188z1GUNfI/DIvwE3iAYPcIC1SwTKzd9Bi7Jh89c81Fx
6xMVxLjlsGojtZeJV1DDECjS77krwAz4GtibteGc+01p4rYDwIii6VBguSqehcsD
9Seqd1jXC3SjuBYpK6rD/G0UPl7tWZzpHWq46HsJMEAYCtfum1B6s=
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: No, score=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=libThing.a, lpopt.dll, libpopt-common, libpopt
X-HELO: mail-wr0-f171.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ns/NotX4ENilOWFAqIxSur+6g1sdM5dxwfcRBlg350o=; b=D1CSJUOQT3uGBqqAIP4fgfXwJyVq7BSicbKvvjjz5SZo0KM8SC5gGeUO1dDdo5l284 5uExjEgxSubZ3D7JaJoLT5yBpcckcTOZZHNra+RrBXgV1/lRMkWCBfPfqRMoO+6d06d3 JpLN/rW1P4k+5/zNqBG6JUP1wEuJ/iSyaPePt/gOnVTlUS3Tx3s2aIQxBpTlArSn+/vu jzORxUEk9CxhPbgfqdLTdW8DmJlJIIQ8C4eQ9Iurtu7oEWSsh934Qz8y88gePBNQM4Ok 2ufacQ8wC/QK2zFtPTNBcSLZAjXwmfkkiSTYziL7ni1GNBHqEisX/aFSOvPz9K0i1Faz KiTQ==
X-Gm-Message-State: AKGB3mIDMjtOL0hOFue3nKvVMSxbnaf/cCM2jMnTmEDgfZ75OurCEgrE 3qhYd1XHU2yZ5AxtZaUQHVV/sA==
X-Google-Smtp-Source: ACJfBotd21A6obqo06TSMOjChjgHQVNECxv9YY5e++92TEIUM0x7vSzzVTdpXbKOcxeZLWICY3/TyQ==
X-Received: by 10.223.169.163 with SMTP id b32mr10539826wrd.208.1515437019834; Mon, 08 Jan 2018 10:43:39 -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>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <eb173e6b-e555-6bbe-b7ef-c47dcfd3c24e@gmail.com>
Date: Mon, 8 Jan 2018 19:43:30 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <b0618068-98fd-c7f3-bdae-ac007e34ccc0@isotek.co.uk>
X-IsSubscribed: yes

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

--
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