Bug 15944

Summary: should require the new version of libfribidi
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: abiwordAssignee: Yuri N. Sedunov <aris>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: aris, mike
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 15079    
Bug Blocks:    

Description Ivan Zakharyaschev 2008-06-07 03:09:08 MSD
abiword-2.6.3-alt1
libfribidi-0.10.4-alt3

After I installed a new version of abiword (with apt-get), it has undefined
symbols because the new libfribidi wasn't required by the abiword package.

A way to fix this would be to add versions to symbols in the ABI of libfribidi
and rebuild abiword with it.

$ ldd -r "$(which abiword )"
        linux-gate.so.1 =>  (0xb7fcc000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb7f98000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb7f86000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e9d000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0xb7e86000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7aa8000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb798c000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb78f7000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb78dd000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb78c3000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb789b000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb785f000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb77e4000)
        libz.so.1 => /lib/libz.so.1 (0xb77d0000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb77a6000)
        libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0xb776d000)
        libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0xb7769000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb769e000)
        libm.so.6 => /lib/libm.so.6 (0xb7678000)
        libgnomeprintui-2-2.so.0 => /usr/lib/libgnomeprintui-2-2.so.0 (0xb763a000)
        libgnomeprint-2-2.so.0 => /usr/lib/libgnomeprint-2-2.so.0 (0xb75d4000)
        libenchant.so.1 => /usr/lib/libenchant.so.1 (0xb75cc000)
        libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb75bf000)
        libwv-1.2.so.3 => /usr/lib/libwv-1.2.so.3 (0xb7542000)
        libgsf-1.so.114 => /usr/lib/libgsf-1.so.114 (0xb7510000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb74ed000)
        libpopt.so.0 => /lib/libpopt.so.0 (0xb74e4000)
        libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0xb74df000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73f9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb73ee000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb73d7000)
        libc.so.6 => /lib/libc.so.6 (0xb72af000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb72a7000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb72a4000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb728c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7288000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb727f000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb727a000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7210000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7202000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb71ff000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb71f7000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb71f1000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb71e7000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb71e4000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb71e1000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb71c1000)
        /lib/ld-linux.so.2 (0x80000000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0 (0xb7193000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb717c000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb716b000)
        librt.so.1 => /lib/librt.so.1 (0xb7162000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb715f000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb715a000)
        libdirectfb-1.1.so.0 => /usr/lib/libdirectfb-1.1.so.0 (0xb70ea000)
        libdirect-1.1.so.0 => /usr/lib/libdirect-1.1.so.0 (0xb70d9000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb70b3000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb708a000)
        libgailutil.so.18 => /usr/lib/libgailutil.so.18 (0xb7083000)
        libfusion-1.1.so.0 => /usr/lib/libfusion-1.1.so.0 (0xb707a000)
undefined symbol: fribidi_get_type      (/usr/bin/abiword)
$ rpm -qf "$(which abiword )"
abiword-2.6.3-alt1
$
Comment 1 Ivan Zakharyaschev 2008-06-07 03:18:51 MSD
A solution would be to versionize the symbols in libfribidi and rebuild the
dependent packages with it -- filed as
https://bugzilla.altlinux.org/show_bug.cgi?id=15945 .
Comment 2 Michael Shigorin 2011-01-22 16:38:10 MSK
$ rpm -qRp abiword-2.8.6-alt1.i586.rpm | grep fribidi
libfribidi.so.0 >= set:kikoQDnyg60