"Could not find libid3tag" when cross compiling
Brought to you by:
jmaggard
Hello,
I was just trying to cross-compile the package but i get this message
[...] checking for jpeg_set_defaults in -ljpeg... yes checking for exif_data_new_from_file in -lexif... no checking for exif_data_new_from_file in -lexif... no checking for id3_file_open in -lid3tag... no checking for id3_file_open in -lid3tag... no configure: error: Could not find libid3tag
I crosscompiled the id3tag and the exif libraries and i run the ./configure script with LDFLAGS -L <correct path="" to="" .a="" libraries="">
I wrote a test main.c that uses the id3_file_open function and it cross-compiles and links correctly against the same lib. I think it means that the .a file contains the required function. Why can't the configure script see it?
I'm quite skilled with C, but I'm a n00b with autoconf.
Thank you for your help.
Try using '--enable-static'?
yes, I tried, no effect.
I also tried to add -static to LDFLAGS, but I still can't get it working.
Are you able to cross-compile using shared libraries? Try checking with a forum for your target platform for more help.
The last time I had to cross-compile, I used Aboriginal Linux. It allows for compiling in an emulator.