[Splashy-devel] directfb soname and version not matching

Luis Mondesi lemsx1 at gmail.com
Wed Oct 3 11:49:14 UTC 2007


Hello,

Tim,

Splashy's splashy/scripts/initramfs-tools/hooks/libsplashy.in uses the
following to find libraries inside the libdirectfb modules directory:

for L in $DFB_MODS; do
        I=$(find @DFB_LIBDIR@/ -name $L)
        [ -n "$I" ] || continue
        mkdir -p $DESTDIR$(dirname $I)
        copy_exec $I .`dirname $I`
done

In splashy/configure.ac DFB_LIBDIR is defined as:

DFB_LIBDIR="$(eval  directfb-config --prefix)/lib/directfb-$(eval
directfb-config --version)"
AC_DEFINE([DFB_LIBDIR], [$DFB_LIBDIR], [directfb libdir])
AC_SUBST(DFB_LIBDIR)

This is assuming that the version of directfb-config and the soname will
always match, but this is not the case for newer versions of directfb
(1.0and up).

What can we do to fix this?

Check the error that I get when using the new version of directfb (1.0.1)
from experimental:

Setting up libsplashy1 (0.3.6) ...
Setting up splashy (0.3.6) ...
update-initramfs: Generating /boot/initrd.img-2.6.22-2-686
find: /usr/lib/directfb-1.0.1/: No such file or directory
find: /usr/lib/directfb-1.0.1/: No such file or directory
find: /usr/lib/directfb-1.0.1/: No such file or directory
find: /usr/lib/directfb-1.0.1/: No such file or directory
find: /usr/lib/directfb-1.0.1/: No such file or directory
find: /usr/lib/directfb-1.0.1/: No such file or directory

And this is right! Because the directory is now:

/usr/lib/directfb-1.0-0

-- 
----)(-----
Luis Mondesi
Maestro Debiano

----- START ENCRYPTED BLOCK (Triple-ROT13) ------
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur fbsgjner
jbeyq.
----- END ENCRYPTED BLOCK (Triple-ROT13) ------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20071003/0e634b8d/attachment.htm 


More information about the Splashy-devel mailing list