-
Notifications
You must be signed in to change notification settings - Fork 577
Configure fails to find four ld functions on Cygwin because it doesn't want libm or libcygwin #15449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @dcollinsnGreetings, On Cygwin 2.5: $ uname -a Configure with: $ ./Configure -Dusedevel -Duselongdouble -des Complains that: *** You requested the use of long doubles but you do not seem to have At least two libraries on my system provide sqrtl: libm and libcygwin. And in fact, configure has even already used this function. This test appears at Configure line 10345: : Before committing on uselongdouble, see whether that looks sane. And that test passed: Checking if your long double math functions work right... Quite some time before Configure line 16436: sqrtl() NOT found. In fact, the problem seems to be that libm is not included here: Extracting names from the following files for later perusal: Because hints/cygwin removed it from libswanted on account of it being a symlink to libcygwin.a. It's not, but even if it was, that isn't helpful because libcygwin.a /also/ isn't in libswanted. I added it, and Configure now is happy. I suspect that isn't the /right/ fix, though. After all, a previous test in Configure has successfully linked against some library that provides sqrtl - how did that test work, if configure isn't aware of any lib that provides sqrtl? -- %% perl -V when forced to use -lcygwin $ ./perl -Ilib -V Characteristics of this binary (from libperl): |
Migrated from rt.perl.org#128637 (status was 'new')
Searchable as RT128637$
The text was updated successfully, but these errors were encountered: