Hi,
I'm trying to install a recent version of unpaper on my laptop. The version included by wy software manager is an old one (before the fork) and so I'm trying to build it from source.
Unpaper depends on libav which is installed on my machine but apparently some headers are missing. I supposed it was a version problem so I got the latest version of libav, built it successfully and installed it somewhere in my home (using --prefix). This version have the include files needed.
Now I'm back trying to build unpaper using the C_INCLUDE_PATH env var and passing "-L/home/myhome/fakeroot/lib" to the linker. It alwas fails during link time with errors that I don't understand.
It says:
/home/myhome/fakeroot/lib/libavcodec.a(opusdec.o) in function opus_decode_subpacket undefined reference to avresample_is_open
but this function is present in libavresample/avresample.h and the libavresample.a match.
What I'm doing wrong ? Could anyone helps me to pass my buil or indicate me another way to get unpaper working (even though I would like to understand what's wrong with my build
)
PS : If I don't add the -L option to the linker it fails to link but this is logic.