#1353: ./configure with ffmpeg x86_64 - problem, with workaround
---------------------+------------------------------------------------------
Reporter: geep999 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: 6.4.1 RCs
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
I have a bug and workaround for grass 6.4.1 ./configure with ffmpeg on
Slackware 13.37 x86_64
{{{
checking whether to use FFMPEG...
yes
checking for location of FFMPEG includes... /usr/include/libpostproc
/usr/include/libswscale /usr/include/libavcodec
/usr/include/libavdevice /usr/include/libavfilter
/usr/include/libavformat /usr/include/libavutil
checking for avcodec.h... yes
checking for avformat.h... yes
checking for swscale.h... yes
checking for location of FFMPEG library... /usr/lib64
checking for av_free in -lavutil... yes
checking for avcodec_init in -lavcodec... yes
checking for av_set_parameters in -lavformat... no
checking for av_set_parameters in -lavformat... no
configure: error: *** Unable to locate FFMPEG library.
}}}
This happens because ./configure is looking for:
/usr/lib64/libavcodec.so /usr/lib64/libavformat.so /usr/lib64/libavutil.so
But on my 64bit Slackware 13.37 they are installed in:
/usr/lib64/libavcodec64.so /usr/lib64/libavformat64.so
/usr/lib64/libavutil64.so
Making soft links cures the problem, but perhaps ./configure could be
upgraded.
#1353: ./configure with ffmpeg x86_64 - problem, with workaround
---------------------+------------------------------------------------------
Reporter: geep999 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: 6.4.1 RCs
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by glynn):
Replying to [ticket:1353 geep999]:
> This happens because ./configure is looking for:
> /usr/lib64/libavcodec.so /usr/lib64/libavformat.so
/usr/lib64/libavutil.so
>
>
> But on my 64bit Slackware 13.37 they are installed in:
> /usr/lib64/libavcodec64.so /usr/lib64/libavformat64.so
/usr/lib64/libavutil64.so
>
> Making soft links cures the problem, but perhaps ./configure could be
upgraded.
What does:
{{{
pkg-config --libs libavcodec
}}}
say?
If it points to the 64-bit libraries, we could try that. OTOH, if the
64-bit version is a separate package (from pkg-config's perspective), that
doesn't help.
#1353: ./configure with ffmpeg x86_64 - problem, with workaround
---------------------+------------------------------------------------------
Reporter: geep999 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: 6.4.1 RCs
Keywords: | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by geep999):
Replying to [comment:1 glynn]:
> Replying to [ticket:1353 geep999]:
>
> > This happens because ./configure is looking for:
> > /usr/lib64/libavcodec.so /usr/lib64/libavformat.so
/usr/lib64/libavutil.so
> >
> >
> > But on my 64bit Slackware 13.37 they are installed in:
> > /usr/lib64/libavcodec64.so /usr/lib64/libavformat64.so
/usr/lib64/libavutil64.so
> >
> > Making soft links cures the problem, but perhaps ./configure could be
upgraded.
>
> What does:
> {{{
> pkg-config --libs libavcodec
> }}}
> say?
>
> If it points to the 64-bit libraries, we could try that. OTOH, if the
64-bit version is a separate package (from pkg-config's perspective), that
doesn't help.