Hi :) I was getting this type of errors when building an arm images with Xorg: CC xftswap.lo CC xftxlfd.lo CCLD libXft.la /usr/lib/libfreetype.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make[3]: *** [libXft.la] Error 1 I was able to correct the problem adding this line to the package definition file xlib_libXfont.mk: XLIB_LIBXFONT_CONF_ENV = FREETYPE_LIBS=$(STAGING_DIR)/usr/lib and also to xlib_libXft.mk: XLIB_LIBXFT_CONF_ENV = FREETYPE_LIBS=$(STAGING_DIR)/usr/lib Thanks a lot for this great piece of software.
Sorry, I cannot reproduce it here. Please provide some more details: - What is your exact .config? - Do you have freetype development headers/libs on your host? - libXft uses pkg-config to find freetype, and freetype depends on host-pkg-config, so that should be fine. Could you please attach your output/build/xlib_libXft-2.1.14/config.log file? Thanks.
Created attachment 3878 [details] .config file of the buildroot
Created attachment 3884 [details] config.log of the xlib_libXfont package
Created attachment 3890 [details] config.log of the xlib_libXft package
Sorry for the lack of details in the first mail. I'm attaching the .config file. For building i'm using a work station with debian squeeze and i have the development files of libfreetype installed: turin@cronos:~$ dpkg -l libfreetype6-dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-============================-============================-======================================================================== ii libfreetype6-dev 2.4.4-1~bpo60+1 FreeType 2 font engine, development files I'm also attaching the config.log files of libXft and libXfont packages. Thanks.
Hello, I was getting similar errors with other packages and i start investigating in other direction when i found the LD_LIBRARY_PATH pointing at /usr/lib . Pointing that env variable to /home/turin/proyectos/mini2440/buildroot/buildroot-2011.11/output/host/usr/lib made the building process without errors. My computer is still compilling, so when it finish y will try to restart the building with a clean LD_LIBRARY_PATH variable to see if this was the problem. Thanks :)
(In reply to comment #6) > I was getting similar errors with other packages and i start investigating in > other direction when i found the LD_LIBRARY_PATH pointing at /usr/lib . > Pointing that env variable to > /home/turin/proyectos/mini2440/buildroot/buildroot-2011.11/output/host/usr/lib > made the building process without errors. My computer is still compilling, so > when it finish y will try to restart the building with a clean LD_LIBRARY_PATH > variable to see if this was the problem. LD_LIBRARY_PATH can indeed screw up stuff. Normally it shouldn't be needed for a location like /usr/lib, so I suggest you delete rather than pointing to your buildroot dir (we already use rpath, so it shouldn't be needed for buildroot either).
Hi, Ok, setting LD_LIBRARY_PATH to none solves the problems. I,m sorry for the inconveniences. Maybe a note in the FAQ about this would be fine. Thanks for everything :)
User has said that the problem was solved, and was on his side. Closing the bug.