This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author RedEyed
Recipients Alex Shpilkin, RedEyed, doko, eryksun, vstinner
Date 2021-02-16.14:04:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613484268.1.0.987041549338.issue42580@roundup.psfhosted.org>
In-reply-to
Content
I mean, find_library relies on gcc linker, when you pass library name to the linker, it automatically ads "lib" prefix to the library
so, when you pass "libc", linker ads "lib" so u have an error with "liblibc" name.

just man ld and see "-l" option:

"
-l namespec
       --library=namespec
           Add the archive or object file specified by namespec to the
           list of files to link.  This option may be used any number of
           times.  If namespec is of the form :filename, ld will search
           the library path for a file called filename, otherwise it
           will search the library path for a file called libnamespec.a.
"

as you can see, you pass not a library name, but a "namespec"
which then transforms to "libnamespec"
History
Date User Action Args
2021-02-16 14:04:28RedEyedsetrecipients: + RedEyed, doko, vstinner, eryksun, Alex Shpilkin
2021-02-16 14:04:28RedEyedsetmessageid: <1613484268.1.0.987041549338.issue42580@roundup.psfhosted.org>
2021-02-16 14:04:28RedEyedlinkissue42580 messages
2021-02-16 14:04:28RedEyedcreate