On 01/06/2012 02:29 AM, Enrico Scholz wrote:
Saul Wold<sgw-VuQAYsv1563Yd54FQh9/[email protected]>  writes:

-               f=${D}${libdir}/$i.so
+                f=${D}${base_libdir}/$i.so

this breaks builds because 'ld' does not search ${base_libdir}:

| gcc -shared ... -ltermcap
| /usr/bin/ld: cannot find -ltermcap
| ERROR: Task 216 (virtual:native:.../readline/readline_6.2.bb, do_install) 
failed with exit code '1'
| ERROR: 'virtual:native:.../readline/readline_6.2.bb' failed

Which is why I added:

# tic from the -native build cannot run without setting this explicitly
BUILD_LDFLAGS_virtclass-native += "-Wl,-rpath,${base_libdir}"

to ncurses.inc

Is this not working?

I build-tested this with our -minimal and -sato images, and readline is built as a part of this. Not sure how I could have missed this, unless some host contamination was creeping in.

Scott

--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to