Replies: 3 comments 8 replies
-
Seems like a problem with
? |
Beta Was this translation helpful? Give feedback.
-
I was finally able to get util-linux to build with |
Beta Was this translation helpful? Give feedback.
-
Hi, I encountered this issue on an Ubuntu 16.04 machine, and I could reproduce in plain Ubuntu 16.04 image in docker. Note that I could build util-linux without error from source on Ubuntu 20.04 image, which also has old glibc and therefore brew's glibc should be used. I think this will reproduce build error: docker run --rm -ti ubuntu:16.04 bash
apt update
apt install -y build-essential curl git
useradd -m linuxbrew
su linuxbrew
cd ~
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(.linuxbrew/bin/brew shellenv)"
brew install glibc gcc
brew install gettext pkg-config # (dependencies of util-linux)
brew install -s --debug util-linux from Logs/util-linux/02.make
from Logs/util-linux/02.make.cc
I couldn't find any problem on libsqlite3.so.
sqlite3 works:
|
Beta Was this translation helpful? Give feedback.
-
Additional Info
Output of
brew config
Output of
brew doctor
Yes, it's messy. I don't control this system, don't have root.
Description of issue
util-linux
fails to build.The end of
Homebrew/Logs/util-linux/02.make
shows these errors:A bit of googling suggests that one must link the math library with
-lm
, but I'm clueless about build chains. Can that be fixed in theutil-linux
formula? Or upstream? Or at least manually when brew builds it?Beta Was this translation helpful? Give feedback.
All reactions