Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaoBench Build Error Due to Wrong libcrypto copy #80

Closed
neel-patel-1 opened this issue Mar 16, 2025 · 1 comment
Closed

TaoBench Build Error Due to Wrong libcrypto copy #80

neel-patel-1 opened this issue Mar 16, 2025 · 1 comment

Comments

@neel-patel-1
Copy link

Get the following error when building tao_bench_autoscale. Seems the script is assuming we are using libcrypto.so.1.1 even though libcrypto.so.3 is the one installed in the build-deps/lib directory

make[1]: Leaving directory '/home/nmp83/DCPerf/benchmarks/tao_bench/memtier_client'
~/DCPerf/benchmarks/tao_bench ~/DCPerf/benchmarks/tao_bench ~/DCPerf
~/DCPerf/benchmarks/tao_bench ~/DCPerf
cp: cannot stat 'build-deps/lib/libcrypto.so.1.1': No such file or directory
Traceback (most recent call last):
  File "/home/nmp83/DCPerf/benchpress_cli.py", line 23, in <module>
    invoke_main()  # pragma: no cover
  File "/home/nmp83/DCPerf/benchpress_cli.py", line 19, in invoke_main
    main()
  File "/home/nmp83/DCPerf/benchpress/cli/main.py", line 353, in main
    args.command.run(args, bp.jobs)
  File "/home/nmp83/DCPerf/benchpress/cli/commands/install.py", line 77, in run
    install_benchmark(job.install_script, env=env)
  File "/home/nmp83/DCPerf/benchpress/lib/util.py", line 89, in install_benchmark
    raise Exception(f"Failed to run '{cmd_str}'")
Exception: Failed to run 'bash -x ./packages/tao_bench/install_tao_bench.sh'
facebook-github-bot pushed a commit that referenced this issue Mar 17, 2025
Summary:
Fix TaoBench build and run issues (#67 and #80 on github) on Ubuntu:
- Not to copy `build-deps/lib/libcrypto.so.1.1` to system lib folder
- Before running TaoBench server, export environment variable `LD_LIBRARY_PATH` to benchmarks/tao_bench/build-deps/lib to make sure the server executable links the desired libcrypto library

Reviewed By: ahmadelyoussef

Differential Revision: D71342491

fbshipit-source-id: 0070eb92158ae223a7002777abcb4664c0bf6f24
@excelle08
Copy link
Contributor

Fixed in 5d1f7cf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants