WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libfreetype.so.6 missing from MicroCore 3.2  (Read 6913 times)

Offline andriscom

  • Newbie
  • *
  • Posts: 32
libfreetype.so.6 missing from MicroCore 3.2
« on: November 03, 2010, 09:01:28 AM »
Hi,

 I would like to create an extension from fbterm, which is a framebuffer based terminal.
 Unfortunately I get some errors when I try to compile it:

...warning: libfreetype.so.6, needed by /usr/local/lib/libfontconfig.so, not found...

 That's true, MicroCore does not have libfreetype.so.6 even after installing the libxft.tcz and libxft-dev.tcz extensions. TinyCore has this library by default, but I want the fbterminal to work under MicroCore.
 What should I do? I think libxft.tcz extension should contain the .so file also (not only the .a .la files.
 Or maybe I can try to compile fbterm under TinyCore and somehow statically link libfreetype.so.6 so it won't be missing under MicroCore... but I don't know how to do it yet. :(

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #1 on: November 03, 2010, 09:22:04 AM »
For graphical stuff in microcore you need Xlibs.gz.
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline andriscom

  • Newbie
  • *
  • Posts: 32
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #2 on: November 03, 2010, 09:58:08 AM »
Oh thanks... It works now.  :)

I just don't get it... why Xlibs are not in the repo?

Here are the steps I made:
1.:
wget http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/release/microcore/Xlibs.gz
2.:
Extract...
3.:
cpio -ivF Xlibs.cpio
4.:
Copy the files /home/tc/usr/lib/libfreetype.so* to /usr/local/lib

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #3 on: November 03, 2010, 10:09:23 AM »
Xlibs.gz, Xprogs.gz, Xvesa.gz are compressed cpio initramfs images and not extensions (which are squashfs images). They're specifically designed to build the "difference" between microcore and tinycore. So it's very logical they're not in the extension repo ;-)

You can just copy the *.gz files to your tce folder (not into optional) and at the next boot, microcore will use them automatically IIRC.
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline andriscom

  • Newbie
  • *
  • Posts: 32
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #4 on: November 03, 2010, 10:32:05 AM »
Thanks... I've overcompilcated a bit...  ;D


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #5 on: November 03, 2010, 03:01:54 PM »
Would you consider submitting an extension for fbterm for the repo?
IMHO that might be something valuable for TC or even more so for MC (haven't ever used it personally, but read quite a lot about).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline andriscom

  • Newbie
  • *
  • Posts: 32
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #6 on: November 03, 2010, 08:01:46 PM »
I will submit the extension to the repo when it's done.
There are also some other extensions I'm planning to do: medusa, libssh2, ettercap, inadyn.
And an updated version of Cherokee, vnstat, proFTPd.

hopefully all will be ready on next week

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: libfreetype.so.6 missing from MicroCore 3.2
« Reply #7 on: November 03, 2010, 08:37:32 PM »
Great   ;D
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)