RE: libdvdread-0.9.4: can't linking against libdvdcss

"Gansser, Martin" <[email protected]>
Newsgroups gmane.comp.video.ogle.devel,gmane.comp.video.ogle.user
Message-ID <78224A6821F87A4D8023B133E5B1140B493C54@srvmxellwangen2.ratc-de.com>
> Hi,
>  
> I compiled ogle-0.9.1 successfully on hpux 11.00, but the
> playback of Encrypted DVD's fails with: Encrypted DVD support 
> unavailable
>  
> I used libdvdcss-1.2.4 and libdvdread-0.9.4
>  
> the configure script fails with:
> 
> checking whether the linker (/usr/ccs/bin/ld) supports shared 
> libraries... yes
> checking how to hardcode library paths into programs... relink
> checking whether stripping libraries is possible... no
> checking dynamic linker characteristics... hpux11.00 dld.sl
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking for dvdcss_interface_2 in -ldvdcss... no      <<<< NO
> configure: error: You need libdvdcss.so.2 or later
> gmake: *** No targets specified and no makefile found.  Stop.
> mzfem_root:/users/mgansser/GNU/libdvdread-0.9.4
> 
> # ll /usr/local/lib/libdvdcss.*
> -rw-r--r--    1 root     sys         50846 Feb  7 08:43 
> /usr/local/lib/libdvdcss.a
> -rwxr-xr-x    1 root     sys           718 Feb  7 08:43 
> /usr/local/lib/libdvdcss.la
> lrwxrwxrwx    1 root     sys            16 Feb  7 08:43 
> /usr/local/lib/libdvdcss.sl -> libdvdcss.sl.2.4
> lrwxrwxrwx    1 root     sys            16 Feb  7 08:43 
> /usr/local/lib/libdvdcss.sl.2 -> libdvdcss.sl.2.4
> -r-xr-xr-x    1 root     sys         61440 Feb  7 08:43 
> /usr/local/lib/libdvdcss.sl.2.4
> mzfem_root:/users/mgansser/GNU/libdvdread-0.9.4 #
> 
> 
> symbol table of libdvdcss.a shows the following:
> 
> # nm -v /usr/local/lib/libdvdcss.a |grep dvdcss_interface_2
> #40000000 D dvdcss_interface_2
> 


I found a temporary solution for configure:

diff -Naur configure.orig configure
--- configure.orig      2003-03-14 14:15:25.000000000 +0100
+++ configure   2003-03-14 15:28:28.000000000 +0100
@@ -7800,7 +7800,7 @@
 fi
 echo "$as_me:$LINENO: result: $ac_cv_lib_dvdcss_dvdcss_interface_2" >&5
 echo "${ECHO_T}$ac_cv_lib_dvdcss_dvdcss_interface_2" >&6
-if test $ac_cv_lib_dvdcss_dvdcss_interface_2 = yes; then
+if test $ac_cv_lib_dvdcss_dvdcss_interface_2 = no; then
    CSS_LIBS="-L$dvdcss_path/lib -R$dvdcss_path/lib -ldvdcss"
          CSS_CFLAGS=-I$dvdcss_path/include
 else

libdvdreaad-0.9.4 compiles now fine and ogle-0.9.1 works with encrypted DVD`s
in the GUI mode.

Is there an official Solution. ? 

Developer/Maintainer please answer !

Regards  Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.