Menu

#50 "Could not find libid3tag" when cross compiling

v1.0 (example)
open
nobody
None
5
2016-10-01
2016-09-08
No

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.

Discussion

  • Shrimpkin

    Shrimpkin - 2016-09-16

    Try using '--enable-static'?

     
  • Vincenzo Vigilante

    yes, I tried, no effect.
    I also tried to add -static to LDFLAGS, but I still can't get it working.

     
  • Shrimpkin

    Shrimpkin - 2016-10-01

    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.

     

Log in to post a comment.