Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: andriscom on November 03, 2010, 06:01:28 AM

Title: libfreetype.so.6 missing from MicroCore 3.2
Post by: andriscom on November 03, 2010, 06: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. :(
Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: gutmensch on November 03, 2010, 06:22:04 AM
For graphical stuff in microcore you need Xlibs.gz.
Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: andriscom on November 03, 2010, 06: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
Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: gutmensch on November 03, 2010, 07: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.
Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: andriscom on November 03, 2010, 07:32:05 AM
Thanks... I've overcompilcated a bit...  ;D

Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: tinypoodle on November 03, 2010, 12: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).
Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: andriscom on November 03, 2010, 05: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
Title: Re: libfreetype.so.6 missing from MicroCore 3.2
Post by: tinypoodle on November 03, 2010, 05:37:32 PM
Great   ;D