All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH fbdirect] Font handling in directfb requires libbz2
Date: Thu,  9 Feb 2012 12:40:39 -0500	[thread overview]
Message-ID: <1328809239-12021-1-git-send-email-twoerner@gmail.com> (raw)

From: Trevor Woerner <twoerner@gmail.com>

One of the libraries which is built by directfb, libidirectfbfont_ft2.so,
requires libbz2:

        libdirect-1.4.so.6 => /usr/lib/libdirect-1.4.so.6 (0x40107000)
        libdirectfb-1.4.so.6 => /usr/lib/libdirectfb-1.4.so.6 (0x40123000)
        libfusion-1.4.so.6 => /usr/lib/libfusion-1.4.so.6 (0x401c6000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40003000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x401fb000)
        libm.so.6 => /lib/libm.so.6 (0x4026d000)
        libdl.so.2 => /lib/libdl.so.2 (0x40047000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4007c000)
        libc.so.6 => /lib/libc.so.6 (0x402e0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40052000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x400ae000)
        /lib/ld-2.9.so (0x400e1000)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 package/directfb/directfb.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Although this dependency is necessary this patch is still not complete but
I'm not sure how to fix it. When I try to fun a fbdirect demo on my device
it still complains because the demo is looking to link to libbz2.so.1 and
that link is not created by default:

# df_dok
...
(!) Direct/Interface: Unable to dlopen `/usr/lib/directfb-1.4-6/interfaces/IDirectFBFont/libidirectfbfont_ft2.so'!
    --> libbz2.so.1: cannot open shared object file: No such file or directory

# ls -l /usr/lib/libbz2*
lrwxrwxrwx    1 root     root            15 Feb  9 16:32 /usr/lib/libbz2.so -> libbz2.so.1.0.4
lrwxrwxrwx    1 root     root            15 Feb  9 16:32 /usr/lib/libbz2.so.1.0 -> libbz2.so.1.0.4
-rwxr-xr-x    1 root     root         58064 Feb  9 16:34 /usr/lib/libbz2.so.1.0.4

So something still needs to be tweaked to create the /usr/lib/libbz2.so.1
link.

diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 977d272..8fd8d5e 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -23,7 +23,7 @@ DIRECTFB_CONF_OPT = \
 	--disable-video4linux2 \
 	--without-tools
 
-DIRECTFB_DEPENDENCIES = freetype zlib
+DIRECTFB_DEPENDENCIES = freetype zlib bzip2
 
 ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
 DIRECTFB_CONF_OPT += --enable-multi --enable-fusion
-- 
1.7.9.GIT

                 reply	other threads:[~2012-02-09 17:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1328809239-12021-1-git-send-email-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.