Open Music 4.7.2.beta error: can't find -lart_lgpl_2 (Re: [PlanetCCRMA] OpenMusic error: can't find -lgtk-canvas on Red) Hat 8

Gregory D. Weber gdweber@indiana.edu
Thu Mar 18 08:30:02 2004


The error I reported was for 4.7.1.beta.  I learned of the new
version shortly after posting the message.  However, with 4.7.2.beta,
I encounter similar errors.

Details follow (1, 2, 3).

Fernando Pablo Lopez-Lezcano writes:
 > > 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.
 > 
 > Hmmm, which omlinux version got installed? I just released a newer
 > version of omlinux today and probably it is not yet in the mirrors. If
 > you have omlinux 4.7.1.beta you need to install gtk-canvas-devel and
 > midishare-player-devel...
 > 
 > The new package (4.7.2.beta-1) has this dependency error fixed. 
 > 

1.  These packages are installed:

[gdweber@chopin vm]$ rpm -q omlinux
omlinux-4.7.2.beta-1.rh80.ccrma
[gdweber@chopin vm]$ rpm -q gtk-canvas-devel midishare-player-devel
gtk-canvas-devel-0.1.1-1.rh80.ccrma
midishare-player-devel-2.04-2.rh80.ccrma

 > Caveats: make sure you have /dev/MidiShare, and that it is rw for the
 > user, "mknod /dev/MidiShare c 151 0" otherwise (this is fixed in the
 > latest midishare packages, still in the Planet Edge repository). Plus
 > the midishare kernel module has to be loaded
 > ("/etc/rc.d/init.d/MidiShare start"). 
 > 
 > -- Fernando
 > 
 > 

2.  MidiShare is installed, and the device exists:

[gdweber@chopin vm]$ MidiGetStat
MidiShare version 1.87
0 clients are running
---------------------------
---------------------------
[gdweber@chopin vm]$ ls -l /dev/MidiShare
crw-rw-rw-    1 root     root     151,   0 Feb 29 19:05 /dev/MidiShare

3.  The newer (4.7.2.beta) version of omlinux reports it cannot find 
-lart_lgpl_2.  (This is a different library than the one I reported missing 
in connection with 4.7.1.beta.).  Here is a trace of my session:

[gdweber@chopin vm]$ omlinux
; Loading #p"/usr/lib/openmusic/bootstrap-linux.lisp".

"******************************************************************************" 
"                           OpenMusic 4.7.2.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 -lart_lgpl_2

   [Condition of type SIMPLE-ERROR]

Restarts:
  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"
              :LIBRARIES
              ("-lc" "-L/usr/lib" "-L/usr/X11R6/lib" "-lgtk" "-lgdk" ...)
              :BASE-FILE
              ...)
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/foreign.lisp.
0] 

-- 
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/