Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-17-2003, 04:29 AM   #1
LQ Newbie
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Question nothing I compile (xine, transcode, avifile, etc) can see the installed xvid codec

I have been using Linux for quite some time, so I am not a complete newbie. I am having trouble getting various programs to recognize the xvid codecs that are installed. I have installed the latest version of the xvidcore libraries (xvidcore-1.0.0-beta2) and have made sure that the install directory (/usr/local/lib) is in the file (and ran ldconfig) When I try to ./configure programs such as Xine (1.0rc2), avifile (0.7.38), or transcode (0.6.11) they all continue to flag xvid as not being found (see exact errors below). I am running a standard install of Slackware 9.1 with the 2.4.22 kernel. I have successfully installed many other programs and codecs but xvid continues to give me problems. I have scored the internet for refrences to possible bugs in the xvid source that might cause this type of problem but have seen nothing. Am I missing something? Did I do everything right? I have ran thru the install proccess several times and nothing I change seems to work. Even using flags such as --with-xvid="/usr/local/lib" changes nothing... here are the errors I get:

avifile-0.7-0.7.38 ./configure:
checking for xvid_init in -lxvidcore... no
configure: warning: Could not run XviD test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding XviD or finding the wrong
*** version of XviD. If it is not finding XviD, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
--- Sources to build XviD xvidcore library can be found at

avifile-0.7-0.7.38 config.log:
configure:12294: checking for xvid.h
configure:12304: gcc -E -Wall -Wno-unused conftest.c >/dev/null 2>conftest.out
configure:12331: checking for xvid_init in -lxvidcore
configure:12371: gcc -o conftest -g -O0 -mcpu=i586 -march=i586 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pi
pe -Wall -Wno-unused conftest.c -lnsl -ldl -lxvidcore 1>&5
configure: In function `main':
configure:12353: `XVID_INIT_PARAM' undeclared (first use in this function)
configure:12353: (Each undeclared identifier is reported only once
configure:12353: for each function it appears in.)
configure:12353: syntax error before "xinit"
configure:12356: `xinit' undeclared (first use in this function)
configure:12357: warning: implicit declaration of function `xvid_init'
configure:12359: `API_VERSION' undeclared (first use in this function)
configure: failed program was:
#line 12344 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <xvid.h>

int main ()
system("touch conf.xvidtest");

xinit.cpu_flags = 0;
xvid_init(NULL, 0, &xinit, NULL);

if (xinit.api_version == API_VERSION) {
return 0;
} else {
printf("Header file and library are out of sync. Header file supports\n"
"version %d.%d API and shared library supports version %d.%d API.\n",
xinit.api_version >> 16, xinit.api_version & 0xFFFF);
return 1;
configure:12412: gcc -o conftest -g -O0 -mcpu=i586 -march=i586 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pi
pe -Wall -Wno-unused conftest.c -lnsl -ldl -lxvidcore 1>&5

The errors are the same for xine and transcode... it's like they just don't see the (or or libxvidcore.a files...

If anyone has any ideas of what might be going wrong, or can at least help me understand the problem better, please respond. I have been racking my brain against this one for many days!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xine suddenly not finding xVid codec....why? R00ts Debian 10 01-10-2009 02:07 PM
transcode - xvid - dvdrip help voodoochild117 Linux - Software 2 01-01-2007 01:42 PM
xvid installed successfully but xine ... g-string 3 Linux - Software 2 08-16-2005 11:32 AM
XVID codec help please deepdark SUSE / openSUSE 9 01-10-2005 04:28 PM
mencoder / xvid codec voodoochild117 Linux - Software 1 06-25-2004 03:00 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration