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

Fix DBus issues with the launcher script and fix LD_LIBRARY_PATH. #103

Merged
merged 2 commits into from Nov 25, 2013
Merged

Fix DBus issues with the launcher script and fix LD_LIBRARY_PATH. #103

merged 2 commits into from Nov 25, 2013

Conversation

skgsergio
Copy link

7f93b61 Fixes DBus issues #59 and #97.
It's an adaptation of the fix proposed by fcarlier in #59.

0e965c1 Fixes an issue with LD_LIBRARY_PATH discovered by @popcornmix.
If you have a bad lib in the current directory it will be included if your LD_LIBRARY_PATH is empty.
This is because LD_LIBRARY_PATH currently resolves to "/opt/vc/lib:/usr/lib/omxplayer:" causing to include the current directory because it ends in ":". This fix avoids to include non-existing LD_LIBRARY_PATH env var.

This fixes are already working on the launcher script I use for my packages.

Uses an adapted version of fcarlier fix.
includes the current directory due the calculated variable ends
with ":". Avoid that not adding LD_LIBRARY_PATH if not set.

Issue discovered by popcornmix who sent me this link:
http://stick.gk2.sk/2009/10/wrong-usage-of-ld_library_path/
popcornmix added a commit that referenced this pull request Nov 25, 2013
Fix DBus issues with the launcher script and fix LD_LIBRARY_PATH.
@popcornmix popcornmix merged commit b644d22 into popcornmix:master Nov 25, 2013
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

2 participants