[PlanetCCRMA] OpenMusic error: can't find -lgtk-canvas on Red Hat 8

Gregory D. Weber gdweber@indiana.edu
Tue Mar 16 16:46:02 2004


Today I installed OpenMusic from PlanetCCRMA on a Red Hat 8 system;
apt-get installed the packages omlinux, clg, and gtk-canvas.
Trying to run omlinux, I get an error message about not being
able to find -lgtk-canvas [= libgtk-canvas, I think].  

Usually, "missing" newly installed libraries are cured by editing
/etc/ld.so.conf and rerunning ldconfig.  However, after doing that,
omlinux still refused to start, with the same error message.


Here's my /etc/ld.so.conf:

[root@chopin gtk-2.0]# cat /etc/ld.so.conf
# File: chopin:/etc/ld.so.conf
# Changes (gdw):
# 3/11/2004 added /usr/lib/gtk-canvas/lib
# 12/30/02 added /usr/local/lib

[root@chopin gtk-2.0]#


And this seems to show the library is cached:
[root@chopin gtk-2.0]# ldconfig -p | grep libgtk-canvas
     libgtk-canvas.so.1 (libc6) => /usr/lib/gtk-canvas/lib/libgtk-canvas.so.1
[root@chopin gtk-2.0]#


But here's what omlinux does:

[gdweber@chopin gdweber]$ omlinux

"                           OpenMusic 4.7.1.beta for Linux
" Copyright (C) 1997-2003 by IRCAM-Centre Georges Pompidou, Paris, France."
" For help, please post to mailing list openmusic@ircam.fr"
" For bug reports, please refer to http://sourceforge.net/projects/ircam-openmusic"
; Loading #p"/usr/lib/cmucl/lib/cl-gtk/cl-gtk.x86f".
;;; Running /usr/bin/ld...

Error in function LOAD-FOREIGN:  /usr/bin/ld failed:
/usr/bin/ld: cannot find -lgtk-canvas

   [Condition of type SIMPLE-ERROR]

  0: [CONTINUE] Return NIL from load of "/usr/lib/cmucl/lib/cl-gtk/cl-gtk.x86f".  1: [ABORT   ] Skip remaining initializations.

Debug  (type H for help)

(LOAD-FOREIGN "/usr/lib/cmucl/lib/cl-gtk/cl-gtk.o"
              ("-lc" "-L/usr/lib" "-L/usr/X11R6/lib" "-lgtk" "-lgdk" ...)
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:  target:code/foreign.lisp.


Finally, here is my system information and the rpm versions installed:

[gdweber@chopin gdweber]$ uname -a
Linux chopin 2.4.24-1.ll.rh80.ccrma #1 Tue Jan 6 20:24:13 PST 2004 i686 
athlon i386 GNU/Linux
[gdweber@chopin gdweber]$ rpm -q omlinux clg gtk-canvas
[gdweber@chopin gdweber]$

Gregory D. Weber
Associate Professor of Computer Science, Indiana University East
2325 Chester Boulevard, Richmond, Indiana 47374-1289, U.S.A.
Telephone: (765) 973-8420
WWW:       http://mypage.iu.edu/~gdweber/