On Dec 12, 2007 3:55 AM, Pedro Aguilar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This could help you to solve this issue that is somewhat normal when
> cross-compiling:
> - Set the env variables LD_LIBRARY_PATH and LD_RUN_PATH to the lib
> directory of your target. Set the PKG_CONFIG_PATH to the lib/pkgconfig
> directory of your target too.
>
> - An alternative and dirty way is to edit the makefiles and substitute
> the /usr/lib path for the correct one.
>
> Regards,
> --
> Pedro Aguilar
>
Hi,
Thanks a lot for the help! I could compile it now, but I have run into
another problem which appears to be related.
When i try to run any of the examples that uses freetype, for example,
the df_window sample, I get this error on the target:
(!) Direct/Interface: Unable to dlopen
`/path/lib/directfb-1.1-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so'!
-->
/path/lib/directfb-1.1-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so:
undefined symbol: FT_Init_FreeType
df_window.c <114>:
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font)]:
No (suitable) implementation found!
I tried to check whether the freetype shared object dependency has
been linked into libidirectfbfont_ft2.so with ldd, but it appears to
not be linked
libdirect-1.1.so.0 => /path/lib/libdirect-1.1.so.0 (0x4000c000)
libdirectfb-1.1.so.0 => /path/lib/libdirectfb-1.1.so.0 (0x40028000)
libz.so.1 => /usr/lib/libz.so.1 (0x400d1000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x400e9000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x400f4000)
libc.so.6 => /lib/tls/libc.so.6 (0x4010e000)
libfusion-1.1.so.0 => /path/lib/libfusion-1.1.so.0 (0x4021a000)
/lib/ld-linux.so.3 (0x2a000000)
I don't see a freetype2.so entry anywhere.
Do I have to change some settings to link ft2?
---
Srikanth Nori
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users