DirectFB example安装的link error.

# ldd df_andi

  linux-gate.so.1 => (0x0075e000)

  libdirectfb-1.3.so.0 => not found

  libfusion-1.3.so.0 => not found

  libdirect-1.3.so.0 => not found

  libpthread.so.0 => /lib/i686/nosegneg/libpthread.so.0 (0x0036d000)

  libc.so.6 => /lib/i686/nosegneg/libc.so.6 (0x001f9000)

  /lib/ld-linux.so.2 (0x001d7000)

国内到各个转载文章里面没有一个解决这个问题的,最后还是到韩国一个网站才看到解决办法:

[root@localhost aaa]# vi /etc/ld.so.conf

/usr/local/lib       (增加这个地址)

include ld.so.conf.d/*.conf

[root@localhost etc]# ldconfig

[출처] DirectFB 설치|작성자 y851004


[출처] DirectFB 설치|작성자 y851004


你可能感兴趣的:(DirectFB example安装的link error.)