Skip to content

glog linker issue while running cachebench #413

@guptask

Description

@guptask

Describe the bug
I'm hitting a glog linker issue when I try to run latest cachebench (commit #c5dd692) :

Meta_CacheLib$ ./opt/bin/cachebench --help 
./opt/bin/cachebench: error while loading shared libraries: libglog.so.0: cannot open shared object file: No such file or directory

Meta_CacheLib$ ldd opt/bin/cachebench 
        libglog.so.0 => not found

To Reproduce

  1. git clone https://github.com/facebook/CacheLib Meta_CacheLib

  2. cd Meta_CacheLib

  3. git checkout c5dd692 (last commit # with a successful build on server - https://github.com/facebook/CacheLib/actions/runs/17023393838)

  4. Change the following:

Meta_CacheLib$ git diff
diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py
@@ -452,7 +452,7 @@ class InstallSysDepsCmd(ProjectCmdBase):
-                cmd_argss.append(["pip", "install", "pex"])
+                cmd_argss.append(["pipx", "install", "pex"])
  1. sudo ./build/fbcode_builder/getdeps.py install-system-deps --recursive cachelib

  2. mkdir opt

  3. python3 ./build/fbcode_builder/getdeps.py --allow-system-packages build cachelib --install-dir ~/Meta_CacheLib/opt/

Expected behavior
Show the argument options for cachebench

Desktop (please complete the following information):

  • OS: Ubuntu 24.04 LTS (6.14.0-27-generic)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions