OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: rcm on June 16, 2004, 12:25:48 pm

Title: missing library when running MagicPoint under X/Qt
Post by: rcm on June 16, 2004, 12:25:48 pm
Progress but a question
I got X/Qt running and am all hot to run MagicPoint for presentations;
I try to start it and it complains about a shared library missing
  libttf.so.2
which is the TrueType library from FreeType. The download window
for MagicPoint claims that the library isincluded in the .ipk file, but
something is not installing...

HMMM, what can I do?
  I tried (as root) to put a new file into /lib  and got a warning about
\"read only file system\", which makes me wonder how any program
could install   /lib/libttf.so.2  which seems to be necessary.
Any ideas

  Frustrated in NJ

Bob Melville
Title: missing library when running MagicPoint under X/Qt
Post by: yzord on June 16, 2004, 02:41:22 pm
Looking at the package from killefiz...
http://www.killefiz.de/zaurus/showdetail.php?app=1522 (http://www.killefiz.de/zaurus/showdetail.php?app=1522)

This looks like a regular Cacko QT application (ie. not run under Xqt). Have you tried running it in regular QT (did it not make an icon in your Applications tab?). You can also try invoking it from the shell, if you have the shell installed.
Also, I cant think of anything that installs files directly in /lib. It\'s usually /usr/lib, /opt/QtPalmtop/lib, or /home/QtPalmtob/lib. If a program complains about a missing shared library, it\'s most likely in one of the above three spots.

Hope that helps,
Yz
Title: missing library when running MagicPoint under X/Qt
Post by: rcm on June 16, 2004, 06:40:14 pm
No, no Icon comes up! MagicPoint usually needs X;
I looked in all the /libs you mentioned and could not find libttf ...
still frustrated in NJ ...
Title: missing library when running MagicPoint under X/Qt
Post by: datajerk on June 16, 2004, 09:43:34 pm
I just installed it and it runs just fine.

To install:

ipkg install mgp_1.10a_arm.ipk

To list contents:

ipkg files mgp

//
//usr/
//usr/local/
//usr/local/bin/
//usr/local/bin/mgp
//usr/local/lib/
//usr/local/lib/libttf.so.2

libtff is included in /usr/local/lib, I download the source to mgp and extracted the sample directory and ran mgp sample.mgp from xterm in Xqt.  Works just fine.

Make sure that /usr/local/lib is in /etc/ld.so.conf, if not add it, save, then type: ldconfig.
Title: missing library when running MagicPoint under X/Qt
Post by: rcm on June 18, 2004, 10:44:23 pm
ok, progress;
I got mgp to start, at least, following your advice.
It still can\'t find some fonts, but at least I can work with it now;
thanks much!