tree/branch: poky/master commit 381c4b69c7e8b452f4d3de2f8214e6e5f6a9abe7 Test Env: Fedora release 17 (Beefy Miracle) Linux version 3.6.6-1.fc17.x86_64 (mockbuild@) (gcc version 4.7.2 20120921(Red Hat 4.7.2-2) (GCC) ) #1 SMP Mon Nov 5 21:59:35 UTC 2012 *problem running bitbake as the following sequence: $bitbake tiff-native $bitbake ghostscript-native >>error log<< libjpeg.so.8, needed by libtiff.so, not found libtiff.so: undefined reference to `jpeg_set_defaults@LIBJPEG_8.0' collect2: error: ld returned 1 exit status ... *analysis 1. Running bitbake tiff-native, the libtiff and libjpeg are populated to the staging native directories. 2. If the host doesn't install libjpeg, the configure of ghostscript-native tests the existance of libtiff which is located at staging directory but libjpeg is not found by configure. 3. Even though we could modify configure to let ghostscript-native link to libjpeg which is only located at the staging native directories, but it still can't load the lib when you run the mkromfs which is created by ghostscript-native. The mkromfs needs libtiff and libjpeg to compile ghostscript. That means "bitbake ghostscript" is failed. *resolution Modify the configure of ghostscript-native, explicity disable libtiff.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ea2a7ae8c62f52f55419e169cc8fd24e823a61c8
change "/usr/lib64/libjpeg.so.62.0.0" to "/usr/lib64/libjpeg.so.62.0.0.bak" on fedora17 x86_64 host,then run "bitbake tiff-native;bitbake ghostscript-native",no error found with git master branch:90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a