I haven't run into that with DrRacket under xubuntu, but two things to check:<div><br></div><div>- if you do a 'sudo apt-get install -s libjpeg'... what is the response?</div><div>- cd into /usr/lib and do 'ls -l *.jpeg*' and see what you get; mine (under xubuntu) looks like:</div>
<div><br></div><div><div>bill@cheese:/usr/lib$ ls -l *jpeg*</div><div>-rw-r--r-- 1 root root 223014 2010-05-09 12:24 libjpeg.a</div><div>-rw-r--r-- 1 root root 941 2010-05-09 12:24 <a href="http://libjpeg.la">libjpeg.la</a></div>
<div>lrwxrwxrwx 1 root root 17 2011-11-17 13:07 libjpeg.so -> libjpeg.so.62.0.0</div><div>lrwxrwxrwx 1 root root 17 2011-03-11 07:23 libjpeg.so.62 -> libjpeg.so.62.0.0</div><div>-rw-r--r-- 1 root root 146032 2010-05-09 12:24 libjpeg.so.62.0.0</div>
<div>lrwxrwxrwx 1 root root 16 2011-04-04 22:13 libjpeg.so.8 -> libjpeg.so.8.0.2</div><div>-rw-r--r-- 1 root root 231640 2010-05-20 19:52 libjpeg.so.8.0.2</div><div>-rw-r--r-- 1 root root 132632 2009-04-30 02:24 <a href="http://libopenjpeg-2.1.3.0.so">libopenjpeg-2.1.3.0.so</a></div>
<div>lrwxrwxrwx 1 root root 22 2011-04-09 11:57 libopenjpeg.so.2 -> <a href="http://libopenjpeg-2.1.3.0.so">libopenjpeg-2.1.3.0.so</a></div><div><br></div><div>If you have libjpeg installed (check the first step), then it's very likely your symlinks under /usr/lib are screwy for some reason... if that's the case fixing without breaking other stuff is the trick (my guess is you'll just need to do 'sudo ln -s ./libjpeg.so.62.0.0 ./libjpeg.so.62' in that directory, but that's just a guess.... I've never fully understood the logic behind how library versioned / named-linked are supposed to work, but tinkering around will either lead you to success or an unusable system... :-) </div>
<br><div class="gmail_quote">On Sun, Feb 19, 2012 at 10:44 AM, rrandom <span dir="ltr"><<a href="mailto:emanonhere@gmail.com">emanonhere@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i can't run drracket in xubuntu 12.04.<br>
when i typed drracket in terminal,this message showed:<br>
<br>
rrandom@rrandom-ThinkPad-Edge:~$ drracket<br>
ffi-lib: couldn't open "libjpeg.so.62" (libjpeg.so.62: cannot open<br>
shared object file: No such file or directory)<br>
<br>
=== context ===<br>
/usr/share/racket/collects/racket/draw/unsafe/jpeg.rkt: [running body]<br>
/usr/share/racket/collects/racket/draw/private/bitmap.rkt: [traversing<br>
imports]<br>
/usr/share/racket/collects/racket/draw/private/dc.rkt: [traversing imports]<br>
/usr/share/racket/collects/racket/draw/private/svg-dc.rkt: [traversing<br>
imports]<br>
/usr/share/racket/collects/racket/draw.rkt: [traversing imports]<br>
/usr/share/racket/collects/mred/private/kernel.rkt: [traversing imports]<br>
/usr/share/racket/collects/mred/private/const.rkt: [traversing imports]<br>
/usr/share/racket/collects/mred/private/check.rkt: [traversing imports]<br>
/usr/share/racket/collects/mred/private/mred.rkt: [traversing imports]<br>
/usr/share/racket/collects/mred/mred.rkt: [traversing imports]<br>
/usr/share/racket/collects/mred/main.rkt: [traversing imports]<br>
/usr/share/racket/collects/racket/gui/base.rkt: [traversing imports]<br>
/usr/share/racket/collects/drracket/drracket.rkt: [traversing imports]<br>
<br>
<br>
can anybody help me?<br>
<br>
<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>