libdvdread problem

"need_for_speed" <[email protected]> Fri, 19 Nov 2004 14:32:24 +0100
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Hi all! I'm facing a problem compiling ogle (or any other project that requires
libdvdread):
I'm using Fedora Core 2 on a x86_64 machine and libdvdread-0.9.4 and
libdvdread-devel packages are both installed.

I get the following error from configure:

checking for DVDDiscID in -ldvdread... no
checking for DVDOpen in -ldvdread... no
configure: error: Need libdvdread, install it or specify it's location

the excerpt of config.log referring to this is:

configure:11771: checking for DVDDiscID in -ldvdread
configure:11804: gcc -o conftest -L/usr/local/lib   conftest.c -ldvdread
-L/usr/local/
lib  -lrt >&5
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libdvdread.so:
undefined
reference to `dlclose'
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libdvdread.so:
undefined
reference to `dlopen'
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libdvdread.so:
undefined
reference to `dlsym'
collect2: ld returned 1 exit status
configure:11807: $? = 1
configure: failed program was:
#line 11778 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char DVDDiscID ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
DVDDiscID ();
  ;
  return 0;
}
configure:11824: result: no
configure:11832: checking for DVDOpen in -ldvdread
configure:11865: gcc -o conftest -L/usr/local/lib   conftest.c -ldvdread
-L/usr/local/
lib  -lrt >&5
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libdvdread.so:
undefined
reference to `dlclose'
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libdvdread.so:
undefined
reference to `dlopen'
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libdvdread.so:
undefined
reference to `dlsym'
collect2: ld returned 1 exit status
configure:11868: $? = 1
configure: failed program was:
#line 11839 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char DVDOpen ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
DVDOpen ();
  ;
  return 0;
}
configure:11885: result: no
configure:11892: error: Need libdvdread, install it or specify it's location

Thanks in advance for your help

Emilio




____________________________________________________________
Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it