configuring vlc-0.9.8a on fedora 10 fails

*nix specific usage questions
rumpumpel1
Blank Cone
Blank Cone
Posts: 19
Joined: 14 Dec 2008 22:49

configuring vlc-0.9.8a on fedora 10 fails

Postby rumpumpel1 » 14 Dec 2008 23:10

configuring vlc-0.9.8a on fedora 10 fails with:

configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.


but:
[root@router vlc-0.9.8a]# ls -al /usr/local/lib/libavcodec*
-rw-r--r-- 1 root root 22919012 2008-12-07 11:38 /usr/local/lib/libavcodec.a
lrwxrwxrwx 1 root root 20 2008-12-07 11:38 /usr/local/lib/libavcodec.so -> libavcodec.so.52.6.0
lrwxrwxrwx 1 root root 20 2008-12-07 11:38 /usr/local/lib/libavcodec.so.52 -> libavcodec.so.52.6.0
-rwxr-xr-x 1 root root 4911588 2008-12-07 11:38 /usr/local/lib/libavcodec.so.52.6.0

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: configuring vlc-0.9.8a on fedora 10 fails

Postby thannoy » 15 Dec 2008 00:52

Maybe "/usr/local/lib/" isn't listed in paths searched by ld (have a look to the next paragraph). I think it is regarding symlinks you have but in case.
Also, have you the -dev packages, are the header files reachable?
You should look what configure wrote about it to config.log file. It is a big file but many interesting things are logged there.

A)
You can try:
1: "sudo ldconfig -v|grep local"
If it shows you /usr/local/lib/, you can retry the configure. Else, try to add this path to ld:
Add a .conf file in /etc/ld.so.conf.d/ (roughly), for example "local_lib.conf", containing just the line "/usr/local/lib/" and re-run 1:.

regards.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: configuring vlc-0.9.8a on fedora 10 fails

Postby xtophe » 15 Dec 2008 11:40

configure uses pkg-config to search for the libs. So read the man page of pkg-config and set PKG_CONFIG_PATH to where the libavcdec.pc are
Xtophe


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests