On 2025-02-10, Chris Angelico via Python-list <python-list@python.org> wrote: > On Tue, 11 Feb 2025 at 04:04, Grant Edwards via Python-list > <python-list@python.org> wrote: >> On 2025-02-09, Left Right via Python-list <python-list@python.org> wrote: >> >>> You need the sources of the OpenSSL library, not the compiled library. >>> On Ubuntu, the packages with sources are typically named xxx-dev [...] >> >> Do the <library>-dev packages on Ubuntu really contain the sources for >> the libraries? > > No they don't, and Mr "Left Right" is talking out his, uhh, "Back". :) > >> I knew they contained the static libraries and the include files >> required to build against the libraries, but I didn't think they >> contained the library sources. > > They contain everything you need to link to the library. That > usually means headers and libraries, and also pkgconfig files to > point to their locations, plus anything else you might need. But no > sources. That's the job of source archives.
Yep, I got curious and ssh'ed into one of the Ubuntu server machines I maintain and looked at the files installed by some of the -dev packages. [Those machines aren't used for development so didn't have many of them.] The -dev packages also contain the man pages for the libraries. It surprised me at first that the man pages weren't installed by the "normal" lib packages. But, if you're not writing/building apps that link with library X, you don't need the man pages for library X. -- Grant -- https://mail.python.org/mailman/listinfo/python-list