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

[ddi] Load libX11.so.6 instead of libX11.so #184

Merged
merged 1 commit into from
Aug 13, 2018

Conversation

jonrecker
Copy link
Contributor

libX11.so is a linker name so it is not available if the
libX11-dev package is not installed. As a result, attempting to
render to screen with X server will fail (e.g. sample_decode -r)

This fix changes the code to dlopen the actual library name
instead: libX11.so.6

The same patch has been applied to MediaSDK samples:
Intel-Media-SDK/MediaSDK#210

And a similar issue was addressed in media-driver:
#150

libX11.so is a linker name so it is not available if the
libX11-dev package is not installed. As a result, attempting to
render to screen with X server will fail (e.g. sample_decode -r)

This fix changes the code to dlopen the actual library name
instead: libX11.so.6

The same patch has been applied to MediaSDK samples:
Intel-Media-SDK/MediaSDK#210

And a similar issue was addressed in media-driver:
intel#150
@XinfengZhang
Copy link
Contributor

hi @jonrecker I am not sure whether it is correct. but on my machine , /usr/lib/libX11.so -> libX11.so.6.3.0
/usr/lib64/libX11.so.6 -> libX11.so.6.3.0. you mean that if libX11-dev is not installed. libX11.so is not available, but libX11.so.6 is available?

@jonrecker
Copy link
Contributor Author

jonrecker commented Aug 8, 2018 via email

@intel-mediadev intel-mediadev merged commit c4e5f3f into intel:master Aug 13, 2018
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

Successfully merging this pull request may close these issues.

None yet

3 participants