# ./df_andi
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.15 Phase 1.5.2 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2010 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------
(*) DirectFB/Core: Single Application Core. (2012-04-01 09:00)
(!) Direct/Modules: Unable to dlopen `/applications/mipseldir/lib/directfb-1.4-15-pure/systems/libdirectfb_bcmnexus_sys.so'!
--> File not found
(!) [ 595: 0.000] --> Caught signal 11 (at 0x27f8, invalid address) <--
Segmentation fault
那位帮我看看这个问题,DFB是别人公司人移植的,发给我出了问题,一板子中间经了一个公司,他们也不懂,只能我自己慢慢找,明明有那个文件 他怎么说没有呢,是不是环境变量那设置错了,
export LD_LIBRARY_PATH=/usr/local/lib/:/applications/mipseldir/lib:/usr/local/bin/directfb/1.4/:$LD_LIBRARY_PATH
export DFBARGS=module-dir=/applications/mipseldir/lib/directfb-1.4-15-pure
directfbrc:
system=bcmnexus
madv-remove
no-cursor-automation
smooth-upscale
smooth-downscale
bg-color=0
res=720p
bcmnexus-ir-protocol=CirNec
bcmnexus-ir-keycodes=cirnec
wm=default
------解决方案--------------------
建议把/applications/mipseldir这个的目录mount到/usr/local/下, dfb一般要求编译和运行时的目录相同,可能需要直接读取/usr/local/lib目录找库资源.