Skip to content

[Build] .pc file asks for -lonnxruntime but onnxruntime.a isn't installed #23959

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

Open
yurivict opened this issue Mar 9, 2025 · 2 comments
Open
Labels
build build issues; typically submitted using template

Comments

@yurivict
Copy link
Contributor

yurivict commented Mar 9, 2025

Describe the issue

Here is what pkg-config prints:

$ pkg-config --cflags --libs libonnxruntime
-I/usr/local/include/onnxruntime -L/usr/local/lib -lonnxruntime

Here is the list of libraries that onnxruntime installs:

lib/libonnxruntime_common.a
lib/libonnxruntime_flatbuffers.a
lib/libonnxruntime_framework.a
lib/libonnxruntime_graph.a
lib/libonnxruntime_lora.a
lib/libonnxruntime_mlas.a
lib/libonnxruntime_optimizer.a
lib/libonnxruntime_providers.a
lib/libonnxruntime_providers_shared.so
lib/libonnxruntime_session.a
lib/libonnxruntime_util.a

Version: 1.21.0

Urgency

No response

Target platform

FreeBSD 14.2

Build script

n/a

Error / output

n/a

Visual Studio Version

No response

GCC / Compiler Version

No response

@yurivict yurivict added the build build issues; typically submitted using template label Mar 9, 2025
@yurivict yurivict changed the title [Build] .pc file asks for -lonnxruntime but onnxruntime.so isn't installed [Build] .pc file asks for -lonnxruntime but onnxruntime.a isn't installed Mar 9, 2025
Copy link
Contributor

github-actions bot commented Apr 9, 2025

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Apr 9, 2025
@yurivict
Copy link
Contributor Author

yurivict commented Apr 9, 2025

not stale

@github-actions github-actions bot removed the stale issues that have not been addressed in a while; categorized by a bot label Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template
Projects
None yet
Development

No branches or pull requests

1 participant