project-navigation
Personal tools

Author Topic: Problem with libxvidcore (solved)  (Read 4507 times)

Offline wulfgang

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Problem with libxvidcore (solved)
« on: February 19, 2010, 07:39:05 pm »
Hello all, having problems with the configure on the dev-build, here's the dump:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking system... UNIX (GNU/Linux)
checking for sed... yes
checking for echo... yes
checking target OS... linux-gnu
checking target CPU... i386
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of int*... 4
checking for rm... yes
checking for mkdir... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking whether AI_NUMERICSERV is declared... yes
checking for setpriority... yes
checking for strncasecmp... yes
checking for stdint.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for library containing dlopen... -ldl
checking for library containing cos... -lm
checking for library containing stricmp... no
checking for library containing strcasecmp... none required
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking for ogg_sync_init in -logg... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VORBIS... yes
checking xvid.h usability... yes
checking xvid.h presence... yes
checking for xvid.h... yes
checking for xvid_decore in -lxvidcore... no
configure: error: You must have libxvidcore!!!    <--- surely one exclamation mark would have done.  :)

Running on OpenSuse 11.2, it's just this one lib. Any help would be great.. Thank you.
« Last Edit: February 19, 2010, 09:03:50 pm by wulfgang »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Problem with libxvidcore
« Reply #1 on: February 19, 2010, 08:08:07 pm »
So the problem is the additional 2 exclamation marks? :)

Seriously, you should install xvid(-core) and/or theora lib + development headers.

-geever

Offline wulfgang

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: Problem with libxvidcore
« Reply #2 on: February 19, 2010, 08:44:16 pm »
Geever - I have installed xvid(core) and the theora lib (development headers etc). It seems to bork at the symbol xvid_decore not being in the library. Is there a particular version of the xvidcore library I need to have?

Offline wulfgang

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: Problem with libxvidcore
« Reply #3 on: February 19, 2010, 09:03:33 pm »
OK - solved, OpenSuse 11.2 version of the library seems to be the problem - removed it and built fresh from the xvid offical site.

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
Re: Problem with libxvidcore (solved)
« Reply #4 on: June 08, 2010, 10:40:55 pm »
I have the same problem on openSuSE 11.2. The end of my ./configure output is
checking xvid.h usability... yes
checking xvid.h presence... yes
checking for xvid.h... yes
checking for xvid_decore in -lxvidcore... no
configure: error: You must have libxvidcore!!!


I uninstalled all pre-packaged *xvid* packages. I built and installed xvid. This seemed OK
  D: /usr/local/lib
  I: /usr/local/lib/libxvidcore.so.4.2
  I: /usr/local/lib/libxvidcore.a
  D: /usr/local/include
  I: /usr/local/include/xvid.h


aha just got it! (I will still post this - it may help someone else).

sudo ln -s /usr/local/lib/libxvidcore.so.4.2 /usr/local/lib/libxvidcore.so

the configure script is missing the so.4.2, so a symlink helps. I did this with my own xvid build, but this may have worked with the packaged version.