conan-io / conan-io/training

[Feedback] Conan Essentials - Runtime Linking

Open
#30 3 comments 2 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Python
Stars
63
Forks
38
PR merge metrics
No merged PRs in 30d

Description

I believe the course has not quite correct information about the runtime linking.
In the slide it shows the line that imports `so` file to the `bin` directory and the narrator mentions that by default linker will look into the directory, but it's, in fact, only the default behaviour on Windows, not Linux! For Linux you'd need to point the `LD_LIBRARY_PATH` to the bin directory.

The runtime linking is a hard problem and I believe creating a section on it would be useful to help users on the border between Linux system programming and "user-space" C++ programming with Conan.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the course slide and narration covering runtime linking, especially the `so` file in `bin` and Linux `LD_LIBRARY_PATH` behavior. Confirm the platform distinction and update the material; done means the existing explanation is corrected and the proposed runtime-linking guidance is included.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.