From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: DiTAA error under Ubuntu Date: Tue, 11 Aug 2009 13:40:12 -0400 Message-ID: <10676.1250012412@alphaville.usa.hp.com> References: <87eiriwf8u.fsf@mundaneum.com> <10452.1250011855@alphaville.usa.hp.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MavM7-0000FM-8h for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 13:41:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MavM0-00008Y-Qc for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 13:41:49 -0400 Received: from [199.232.76.173] (port=51545 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MavM0-000086-J5 for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 13:41:44 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:19968) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MavM0-0007LA-5J for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 13:41:44 -0400 In-Reply-To: Message from Nick Dokos of "Tue, 11 Aug 2009 13:30:55 EDT." <10452.1250011855@alphaville.usa.hp.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: =?utf-8?Q?S=C3=A9bastien_Vauban?= , emacs-orgmode@gnu.org Nick Dokos wrote: > =?utf-8?Q?S=C3=A9bastien_Vauban?= wrote: > > > I'm trying to use the DiTAA tool for making easy graphics in a couple of > > minutes. > > > > Though, I've this error when exporting to LaTeX: > > > > --8<---------------cut here---------------start------------->8--- > > [sva@mundaneum] ...texmf/tex/latex>java -jar /home/sva/Downloads/emacs/site= > > -lisp/org-mode/contrib/scripts/ditaa.jar /tmp/org-ditaa13182XLS archi.png > > > > DiTAA version 0.6b, Copyright (C) 2004 Efstathios Sideris > > > > Using options:=20 > > Reading file: /tmp/org-ditaa13182XLS > > Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load libra= > > ry: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so > > ... > > From a quick look at synaptic, it seemed `openjdk-6-jre-lib' would be the most > likely candidate package to contain libmawt.so, but it wasn't there. > However, the headless package has it: > > ,---- > | $ dpkg --contents openjdk-6-jre-headless_6b11-2ubuntu2.1_i386.deb | grep awt > | -rw-r--r-- root/root 18232 2009-01-30 18:43 ./usr/lib/jvm/java-6-openjdk/jre/lib/i386/headless/libmawt.so > | -rw-r--r-- root/root 554920 2009-01-30 18:43 ./usr/lib/jvm/java-6-openjdk/jre/lib/i386/libawt.so > | -rw-r--r-- root/root 3008 2009-01-30 18:43 ./usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjawt.so > `---- > ... and I should have continued: you probably have headless already, since the library depends on it; in which case, a cunningly placed symlink should do the trick. Nick