[arch-general] imagemagick and calibre have problems with libtool in testing

Myra Nelson myra.nelson at hughes.net
Fri Sep 9 18:24:54 EDT 2011


On Fri, Sep 9, 2011 at 16:10, Gaetan Bisson <bisson at archlinux.org> wrote:
> [2011-09-09 15:58:07 -0500] Myra Nelson:
>> I'm running testing repositories and building my own packages, after I
>> upgraded libtool last night calibre would not start. Did crtl + alt +
>> F1 to read the error message and found this -- imagemagick cannot load
>> libltdl.so.7. This prevented calibre from running.
>>
>> Solution was to rebuild imagemagick against the new libltdl
>> installation then rebuilt calibre (possibly and unneeded step but did
>> it anyway). Everything works fine now.
>
> imagemagick-6.7.2.1-1 works just fine with libltdl-2.4-5 here; the
> latter provides /usr/lib/libltdl.so.7 as expected... Are you sure you
> had libltdl installed? What is your architecture?
>
> --
> Gaetan
>

Yes libltdl was installed. I had just built the lastest version of
libtool which is now a split package libltdl-2.4-5-x86_64.pkg.tar.xz
and libtool-2.4-5-x86_64.pkg.tar.xz and locate libltdl.so.7 produced
(and still does) /usr/lib/libltdl.a /usr/lib/libltdl.so
/usr/lib/libltdl.so.7
/usr/lib/libltdl.so.7.3.0. Prior to installing those packages
everything worked fine.  I'm not complaining, bitching, griping,
xxxxx, I simply rebuilt imagemagick and calibre and everything now
works fine.  What didn't work was running calibre after doing the new
installion of libltdl without rebuilding imagemagick against the new
libltdl installation. I'm just trying to pass on information in case
some one else ran into the same problem. Hell I don't know, I may have
something misconfigured on my system that gives me wierd errors. I
just try to fix it and keep going and occassionally put something back
into the community especially when I running the testing repos.

Myra

pacman.log
[2011-09-09 01:38] Running 'pacman -Uf --config
/home/myra/pacman_maint/pacman.conf --cachedir /var/cache/pacman/pkg
--dbpath /var/lib/pacman libtool-2.4-5-x86_64.pkg.tar.xz
libltdl-2.4-5-x86_64.pkg.tar.xz'  -- yes I'm anal
[2011-09-09 01:38] installed libltdl (2.4-5)
[2011-09-09 01:39] upgraded libtool (2.4-4 -> 2.4-5)

Architecture:
  Linux gandalf 3.0-pf #1 SMP PREEMPT Fri Sep 2 12:15:13 CDT 2011
x86_64 AMD Phenom(tm) 8450 Triple-Core Processor AuthenticAMD
GNU/Linux
  CFLAGS="-march=amdfam10 -m64 -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"  -- The -m64 probably
isn't necessary.
  CXXFLAGS="-march=amdfam10 -m64 -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
  LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"

Build process that corrected my problem.

cd arch_svn/packages
svn update imagemagick libtool
cd libtool/trunk
makepkg
pacman -Uf libtool-2.4-5-x86_64.pkg.tar.xz libltdl-2.4-5-x86_64.pkg.tar.xz

cd ../../../community/calibre/trunk
makepkg
pacman -Uf  calibre-0.8.17-1-x86_64.pkg.tar.xz

pacman -Qi gcc
Name           : gcc
Version        : 4.6.1-4

pacman -Qi libltdl
Name           : libltdl
Version        : 2.4-5

pacman -Qi imagemagick  -- when I rebuilt imagemagick I built the
latest version from their website.
Name           : imagemagick
Version        : 6.7.2.3-1

-- 
Life's fun when your sick and psychotic!


More information about the arch-general mailing list