[developers] updated debian, logon fails

Damir Cavar damir.cavar at gmail.com
Thu Oct 6 03:39:01 CEST 2016


Hi Joshua,

obviously your Allegro CL has a CLIM component (interfacing with X-Windows or other GUI environments), and it requires a PNG-library libpng in a specific version. This lib actually should be part of the Allegro distribution (I do not use Allegro, can't tell), so, most likely, either you have to reinstall Allegro or just set a path to the libs, maybe an environment variable that points to the folder where the libs are.

Best

DC

--
Damir Cavar
http://cavar.me/damir/

> On Oct 5, 2016, at 2:20 PM, Joshua Crowgey <joshua.crowgey at gmail.com> wrote:
> 
> Hi developers,
> 
> Does anyone have any suggestions for debugging?  After updating my
> debian system ("testing"), I see that climxm.so failed at loading
> libpng, upon doing M-x in emacs.
> 
> -----------EMAC-SESSION-OUTPUT--------
> ==============================================================
> Starting image `/home/jcrowgey/ling/logon/lingo/lkb/linux.x86.64/logon'
>  with image (dxl) file
> `/home/jcrowgey/ling/logon/lingo/lkb/linux.x86.64/logon.dxl'
>  with arguments `(-L /home/jcrowgey/ling/logon/dot.clinit.cl -locale
> no_NO.UTF-8)'
>  in directory `nil'
>  on machine `localhost'.
> 
> Warning: Loading sys:climxm.so failed with error:
>         libpng12.so.0: cannot open shared object file: No such file or
> directory.
> International Allegro CL Enterprise Edition
> 8.2 [64-bit Linux (x86-64)] (May 24, 2016 0:22)
> Copyright (C) 1985-2010, Franz Inc., Oakland, CA, USA.  All Rights Reserved.
> 
> This standard runtime copy of Allegro CL was built by:
>   [TC13152] Universitetet i Oslo (IFI)
> 
> An unhandled error occurred during initialization:
> Attempt to call
> #("InitializeMyDrawingAreaQueryGeometry" 139697113496176 0 2 139697113496176
>  8)
> for which the definition has not yet been (or is no longer) loaded.
> 
> -----------------
> 
> I also see in the terminal that emacs was invoked from:
> 
> --------TERMINAL-OUTPUT-----------------
> jcrowgey at quercus:~/ling/lrgc/system$
> (emacs:16800): Gtk-WARNING **: GtkWindow 0xd1c290 is drawn without a
> current allocation. This should not happen.
> 
> (emacs:16800): Gtk-WARNING **: GtkWindow 0xd1c290 is drawn without a
> current allocation. This should not happen.
> 
> (emacs:16800): Gtk-WARNING **: EmacsFixed 0xd20130 is drawn without a
> current allocation. This should not happen.
> 
> (emacs:16800): Gtk-WARNING **: GtkScrollbar 0x339a4e0 is drawn without a
> current allocation. This should not happen.
> 
> (emacs:16800): Gtk-WARNING **: EmacsFixed 0xd20130 is drawn without a
> current allocation. This should not happen.
> 
> (emacs:16800): Gtk-WARNING **: GtkEventBox 0xd20410 is drawn without a
> current allocation. This should not happen.
> 
> (emacs:16800): Gtk-WARNING **: GtkScrollbar 0x339a4e0 is drawn without a
> current allocation. This should not happen.
> -----------------------------------------
> 
> ...and so on for many more GTK objects and memory locations.
> 
> I checked libpng:
> 
> ---------TERMINAL-OUTPUT--------------------
> jcrowgey at quercus:~/ling/logon$ sudo apt-get install libpng
> [sudo] password for jcrowgey:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package libpng
> jcrowgey at quercus:~/ling/logon$ apt-cache search libpng
> fp-units-gfx - Free Pascal - graphics-library units dependency package
> fp-units-gfx-3.0.0 - Free Pascal - graphics-library units
> libpng-dev - PNG library - development (version 1.6)
> libpng-tools - PNG library - tools (version 1.6)
> libpng16-16 - PNG library - runtime (version 1.6)
> libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library
> libpng-sixlegs-java - Sixlegs Java PNG Decoder
> libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder
> libpnglite-dev - lightweight C library for loading and writing PNG images
> libpnglite0 - lightweight C library for loading and writing PNG images
> pngquant - PNG (Portable Network Graphics) image optimising utility
> ruby-oily-png - native mixin to speed up ChunkyPNG
> tkpng - PNG photo image support to Tcl/Tk
> jcrowgey at quercus:~/ling/logon$ sudo apt-get install libpng16-16
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libpng16-16 is already the newest version (1.6.25-1).
> libpng16-16 set to manually installed.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> --------------------------------------------------
> 
> So I'm not sure how I lost the linking to libpng from climxm's perspective.
> 
> Thanks for any insights!
> 
> --
> Joshua Crowgey
> 



More information about the developers mailing list