Score:1

Why does libm-2.x.so not install on 22.04 with `build-essential`?

nf flag

This is mostly a curiosity, since I ended up ultimately using libm.so.6 in my app, but

I just noticed that on ubuntu 22.04, the shared library version of libm does not appear to be installed in the build-essential package. Is this intentional? Is this particular version no longer supported? Can a libm-2.x.so be installed directly (via apt, e.g.)?

To recreate:

The following dockerfile

FROM ubuntu:22.04
RUN apt-get update && apt-get install -y build-essential
CMD cd /usr/lib && find -type f -name libm-*

produces the following output:

$ docker run libmtest
./x86_64-linux-gnu/libm-2.35.a                  

whereas if we switch the base image to ubuntu:20.04, we see the .so is found as expected

$ docker run libmtest                                                                                       
./x86_64-linux-gnu/libm-2.31.so                                                                                                                             
./x86_64-linux-gnu/libm-2.31.a
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.