Advertisement
Guest User

Untitled

a guest
Aug 7th, 2013
2,508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. How to use lastest librtmp with openELEC
  2. This came to me all of a sudden and now I feel stupid lol.
  3.  
  4. SSH to your RPi in windows use putty in host field type ipaddressofrpi the password is openelec.
  5.  
  6. 1. First make a folder for library's we want to supersede openELEC's default path:
  7. Code:
  8. mkdir /storage/lib
  9. 2. Then create a new file called .profile in /storage
  10. Code:
  11. nano /storage/.profile
  12. 3. Now paste or type this into the new file:
  13. Code:
  14. export LD_LIBRARY_PATH=/storage/lib:$LD_LIBRARY_PATH
  15. 4. Save the file with CTRL+o press enter to say yes, then exit nano with CTRL+x
  16.  
  17. 5. Download the lastest librtmp.so.0 from http://www.mediafire.com/?x4cvp5hl4m9xr
  18. (librtmp - Always with KSV's latest patch(es) such as redirects) (RedPenguin's "Repo")
  19. Updated often if you have trouble.
  20.  
  21. 6. Copy the file to /storage/lib using either winscp or samba \\openelec place it in downloads then use XBMC file manager to move it to /storage/lib/
  22.  
  23. 7. Execute these two commands in SSH:
  24. Code:
  25. chmod 755 /storage/lib/librtmp.so.0
  26.  
  27. ln -s /storage/lib/librtmp.so.0 /storage/lib/librtmp.so
  28. 8. Reboot openELEC.
  29.  
  30. Enjoy!
  31.  
  32. -
  33. ALWAYS EXECUTE THE COMMANDS EXACTLY AS THEY APPEAR IN THE "code:" BOXES!
  34.  
  35. To test if /storage/lib supersedes /usr/lib and /lib execute this command in SSH:
  36. Code:
  37. echo $LD_LIBRARY_PATH
  38. The very first you see in this long string should be: /storage/lib
  39.  
  40. You can also use this to "replace" other updated libs. But always remember if something acts up weird that you are using the library's in /storage/lib before the ones that came with openELEC.
  41.  
  42. To disable /storage/libs from being used rename /storage/.profile
  43. Code:
  44. mv /storage/.profile /storage/profile.bak
  45. To enable it again rename it back again:
  46. Code:
  47. mv /storage/.profile.bak /storage/.profile
  48. Remember to reboot between either disable or enable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement