Skip to content

brew-installed colgrep on Linux uses system libraries instead of brew-provided #68

@sergei-dyshel

Description

@sergei-dyshel

After installing colgrep with

brew install lightonai/tap/colgrep

I get the following errors when trying to run it:

$ colgrep init
colgrep: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
$ ldd /home/linuxbrew/.linuxbrew/bin/colgrep
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libc.so.6: version `GLIBC_2.30' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
/home/linuxbrew/.linuxbrew/bin/colgrep: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /home/linuxbrew/.linuxbrew/bin/colgrep)
        linux-vdso.so.1 (0x00007ffe265bd000)
        libssl.so.3 => not found
        libcrypto.so.3 => not found
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7199d44000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7199a04000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7199657000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f719d8eb000)

When listing Homebrew formula I do see that it depends on glibc

$ brew info lightonai/tap/colgrep
==> lightonai/tap/colgrep ✔: stable 1.1.1
Semantic code search powered by ColBERT
https://github.com/lightonai/next-plaid
Installed
/home/linuxbrew/.linuxbrew/Cellar/colgrep/1.1.1 (6 files, 62.4MB) *
  Built from source on 2026-04-02 at 07:35:05
From: https://github.com/lightonai/homebrew-tap/blob/HEAD/Formula/colgrep.rb
License: MIT
==> Dependencies
Required: gcc ✔, glibc ✔

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions