Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to config xuggler from git source for LD_LIBRARY_PATH for Xuggler.

 
Vishal Srivastav
Ranch Hand
Posts: 46
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried installing and setting up xuggler in ubutnu 12.04 LTS but I am not able to set up the LD_LIBRARY_PATH.

I performed all the steps provided on xuggler build website: http://www.xuggle.com/xuggler/build but all in vain.

I had setup the paths needed in /etc/environment section as follows -


and restarted the system.

I am facing problem in these areas -

In Setting up your Environment section, it has been told to set up a path known as: LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATH. When I did the following: echo $XUGGLE_HOME, I am getting output as /usr/local/xuggle, but when I say echo $LD_LIBRARY_PATH, I get a blank line.

/usr/local/xuggle/lib folder actually does not exists even after successful built. Then why set the LD_LIBRARY_PATH as $XUGGLE_HOME/lib:... ?? Instead I found lib in /usr/local/xuggle/dist/stage/i686-pc-linux-gnu/usr/local/lib.

I also found on at some places that ubuntu does not takes LD_LIBRARY_PATH in /etc/environment, instead it takes it from /etc/ld.so.conf.d/. So I tried setting the above path here and then do sudo ldconfig, but again no success.

I also followed this link: http://linux.101hacks.com/unix/ldconfig/, but still not successful.

Where am I making a mistake? When I try using xuggler in my Java EE Project, I get following error:


Can anyone help me? I can provide more accurate information if needed. Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic