Add libv4l2 to the pkg-config in order not to fail linking ffmpeg to nvmpi.so on the environments that doesn't support linking shared libs "like a chain"#78
Open
kazuki0824 wants to merge 4 commits intojocover:masterfrom
Conversation
…ly dependent on v4l2 function and lacking it can cause an issue on linking.
Replace v4l2 definition with pkg-config-based search
HunterAP23
added a commit
to HunterAP23/jetson-ffmpeg
that referenced
this pull request
May 4, 2021
Author
|
@jocover is it checked? |
|
when i merged this pr, |
…824/jetson-ffmpeg into resolve-missing-dep-on-pkgconfig
Author
|
@xia-chu Thank you for filing it. Can you find libv4l2's pkg-config file manually? I bet pkg-config isn't configured properly.
Next, please try a recently committed new one. |
No, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Ubuntu the linker refers to rpath location by default. But when other environments like openembedded+bitbake or something like this, it is not. Adding libv4l2 to the Requires in pkg-config is essential since the program is slightly dependent on v4l2 function and lacking it can cause an issue on linking.