Can't link to libpopt

Trevor Barton tmb@isotek.co.uk
Mon Jan 8 20:46:00 GMT 2018


On 08/01/2018 19:32, Steven Penny wrote:
>
> You might post an issue here:
>
> http://github.com/cygwinports/popt
>
> but good luck - Yaakov is not keen on fixing these type issues:
>
Nevertheless he fixed my problem, and very quickly too; I was linking 
with -static, removing that meant that -lpopt works as expected without 
having libpopt.a available.  I have no idea why I had -static on the 
linker line, I don't normally use static links and can't remember 
putting it there, I must have done so for some reason at some point though.

I was wondering why I couldn't find any evidence of anyone else having 
this problem on the Internet, I couldn't believe I was the only person 
linking against popt in the world.  Turns out I might be the only idiot 
though :)

Thanks Steven and Yaakov.
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



More information about the Cygwin mailing list