WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libpng12.so.0 problem  (Read 5306 times)

Offline skysky

  • Newbie
  • *
  • Posts: 5
libpng12.so.0 problem
« on: August 19, 2010, 04: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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: libpng12.so.0 problem
« Reply #1 on: August 19, 2010, 04: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.
The only barriers that can stop you are the ones you create yourself.

Offline skysky

  • Newbie
  • *
  • Posts: 5
Re: libpng12.so.0 problem
« Reply #2 on: August 19, 2010, 04: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 ... ?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: libpng12.so.0 problem
« Reply #3 on: August 19, 2010, 05:05:34 AM »
The -geometry option should work.

myapp -geometry 1024x768+0+0

Would set it to 1024x768 and to the upper left corner.
The only barriers that can stop you are the ones you create yourself.

Offline skysky

  • Newbie
  • *
  • Posts: 5
Re: libpng12.so.0 problem
« Reply #4 on: August 19, 2010, 06: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?

Offline skysky

  • Newbie
  • *
  • Posts: 5
Re: libpng12.so.0 problem
« Reply #5 on: August 19, 2010, 07:00:24 AM »
I installed Xorg and this problem solved but it's a heavy package is there any light package for that?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: libpng12.so.0 problem
« Reply #6 on: August 19, 2010, 07: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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: libpng12.so.0 problem
« Reply #7 on: August 19, 2010, 07: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.

Offline skysky

  • Newbie
  • *
  • Posts: 5
Re: libpng12.so.0 problem
« Reply #8 on: August 19, 2010, 11: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
 :)

Offline andriscom

  • Newbie
  • *
  • Posts: 32
Re: libpng12.so.0 problem
« Reply #9 on: October 16, 2010, 01:08:51 PM »
I have made a package from libpng.
Tinycore has the libpng12.so by default, so you only need this if you are using MicroCore.