Re: libdvdcss/solaris

Bj|rn Englund <[email protected]> Wed, 17 Aug 2005 12:34:22 +0200
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Wed Aug 10 2005, Carl Vogel wrote:

> Greetings,

Hi.

> I'm just exploring ogle on a sunblade150 for which I don't
> have root access.
> 
> It was possible to install ogle in my own account, and it worked
> pretty well on the first dvd I tried, but the second produced

The first dvd probably wasn't scrambled with css.

> a window with some information, and then disappeared with the
> following feedback:
> 
> ./bin/ogle
> libdvdread: Encrypted DVD support unavailable.

This message tells that ogle can't find libdvdcss

> I looked through the mail archive and saw something about lbdvdcss,
> so I tried to install that in a sister directory to ogle-0.9.2, and
> then copied  lbdvdcss .a, .la, .so, .so.2 and .so.2.0.8 into 
> ogle-0.9.2/lib/ogle
Unfortunately that dir isn't part of the search path for libdvdcss.so...

You should be able to set LD_LIBRARY_PATH to point to the lib dir where
you installed libdvdcss.  Example (if you installed the libdvdcss libraries in /home/mydir/libdvdcss/lib):
tcsh:
setenv LD_LIBRARY_PATH /home/mydir/libdvdcss/lib
ogle ...

sh:
LD_LIBRARY_PATH=/home/mydir/libdvdcss/lib
export LD_LIBRARY_PATH
ogle ...

or maybe an easier aproach when you install in your own directory is
to tell libdvdread at compile time where to find and link libdvdcss.
When you configure libdvdread you should do this:
./configure --with-libdvdcss=/home/mydir/libdvdcss
if you installed libdvdcss with --prefix=/home/mydir/libdvdcss.

Also as you are compiling ogle yourself you might want to use
the latest cvs version available as tar.gz at:
www.dtek.chalmers.se/~dvd/dist/ogle-0.9.2-cvs.tar.gz
www.dtek.chalmers.se/~dvd/dist/ogle_gui-0.9.2-cvs.tar.gz
(these haven't been tested much on solaris though, so feel free to report
any problems)

Hope this helps,
/Bj|rn