Skip to content

[Build] Building onnxruntime with version v1.18.2 is successful but gives an error with v1.20.1, cannot understand what I am doing wrong #23150

@SaqibAkram-Doit

Description

@SaqibAkram-Doit

Describe the issue

I am using the following command on a linux machine to build onnxruntime.

 ./build.sh \
  --config=Release \
  --build_shared_lib \
  --disable_ml_ops --build_wheel \
  --include_ops_by_config  <my system path to the .required_operators.config file> \
  --enable_reduced_operator_type_support \
  --skip_tests --parallel --use_xnnpack

When I build with version v1.20.1 it gives the following error and cannot build:

/usr/bin/ld: cannot find -lclog: No such file or directory

But when I build with version v1.18.2, the build is successful. I am not sure what I am doing wrong, need help. Thanks in advance.

Urgency

Not much urgent.

Target platform

CPU

Build script

./build.sh
--config=Release
--build_shared_lib
--disable_ml_ops --build_wheel
--include_ops_by_config <my system path to the .required_operators.config file>
--enable_reduced_operator_type_support
--skip_tests --parallel --use_xnnpack

Error / output

/usr/bin/ld: cannot find -lclog: No such file or directory

Visual Studio Version

No response

GCC / Compiler Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions