Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: skysky on August 19, 2010, 01:08:28 AM

Title: libpng12.so.0 problem
Post by: skysky on August 19, 2010, 01:08:28 AM
hi
I wanted to run a simple qt app on micro core so I installed qt-4.x-base.tcz package.
when I run my app it wants libpng12.so.0 . It seems that it exists in base-dev.tcz but when I install this package I just see libpng12.a and libpng12.la in /usr/lib .
how can I fix this problem?
I want to mention that I could run my qt app on Tiny Core by just installing qt base package.

Thanks in advance
Title: Re: libpng12.so.0 problem
Post by: curaga on August 19, 2010, 01:15:19 AM
On MC you need Xlibs, Xprogs, a WM, and an X server to turn it TC and run X apps.

If this is a command-line qt app, Xlibs should be enough.
Title: Re: libpng12.so.0 problem
Post by: skysky on August 19, 2010, 01:21:58 AM
Thanks a lot for your quick reply.
Is there any way to not using a WM to run my GUI qt app?
Can I put some commands in my qt app to set the position, size and ... ?
Title: Re: libpng12.so.0 problem
Post by: curaga on August 19, 2010, 02:05:34 AM
The -geometry option should work.

myapp -geometry 1024x768+0+0

Would set it to 1024x768 and to the upper left corner.
Title: Re: libpng12.so.0 problem
Post by: skysky on August 19, 2010, 03:42:47 AM
thanks I'll try that option.
I used Xlibs, Xprogs and also Xvesa. Now it wants libXfixes.so.3 .
What package do I need for this file?
Title: Re: libpng12.so.0 problem
Post by: skysky on August 19, 2010, 04:00:24 AM
I installed Xorg and this problem solved but it's a heavy package is there any light package for that?
Title: Re: libpng12.so.0 problem
Post by: tinypoodle on August 19, 2010, 04:17:01 AM
Why not use tinycore if it works, instead of hunting for packages containing libs?
You can do:
Code: [Select]
ldd 'app'
to see all deps, met and unmet.
Title: Re: libpng12.so.0 problem
Post by: maro on August 19, 2010, 04:28:23 AM
@skysky: BTW, 'libXfixes.so.3' is included in the 'Xorg-7.5-lib.tcz' extension, so you won't need the whole lot of Xorg.
Title: Re: libpng12.so.0 problem
Post by: skysky on August 19, 2010, 08:43:49 AM
Thank you very much
Finally I could do that.
I liked to learn how to run a X app on a linux that configured as a text console.
Also I didn't need WM and apps on that.
-geometry was the exactly option that I needed.
All of your replies helped me for each step.
Thanks a lot
 :)
Title: Re: libpng12.so.0 problem
Post by: andriscom on October 16, 2010, 10:08:51 AM
I have made a package from libpng.
Tinycore has the libpng12.so by default, so you only need this if you are using MicroCore.