problems in ubuntu fonts rendering with freetype2

View: New views
5 Messages — Rating Filter:   Alert me  

problems in ubuntu fonts rendering with freetype2

by oscar santis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've compiled and installed FreeType 2.3.11 in Ubuntu 9.04, i need it for to compile Gem,  but since this event  my system fonts rendering changed.
I type this commands:
./configure --prefix=/usr
make
sudo make install

I didn't like new fonts rendering, and Ubuntu's font settings work bad.
I remove FreeType 2.3.11 with

sudo make uninstall
console said
./builds/unix/libtool --mode=uninstall rm -f /usr/lib/libfreetype.la
libtool: uninstall: rm -f /usr/lib/libfreetype.la /usr/lib/libfreetype.so.6.3.22 /usr/lib/libfreetype.so.6 /usr/lib/libfreetype.so /usr/lib/libfreetype.a
rm -f /usr/include/freetype2/freetype/config/*
rmdir /usr/include/freetype2/freetype/config
rm -f /usr/include/freetype2/freetype/*
rmdir /usr/include/freetype2/freetype
rmdir /usr/include/freetype2
rm -f /usr/include/ft2build.h
rm -f /usr/bin/freetype-config
rm -f /usr/share/aclocal/freetype2.m4
rm -f /usr/lib/pkgconfig/freetype2.pc


but i can't open any program. For example if i type xterm console says
xterm: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
I reebott my computer and system can't start.
How can I recover previous state before installing FreeType 2.3.11
Thanks


--
oscar santis
escultor, pintor, ruidista
http://my.pictomos.com/oscarsantis
http://oscarsantis.wordpress.com
tel: ++ 56 9 84280381

_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: problems in ubuntu fonts rendering with freetype2

by Ralph Giles-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 26, 2009 at 7:41 AM, oscar santis <pelaosantis@...> wrote:

> ./configure --prefix=/usr
> make
> sudo make install

This overwrites the Ubuntu system's freetype with the one you've compiled.

> sudo make uninstall

This removes the one you compiled, leaving no freetype on your system.
This is why nothing works. You need to restore the original version
from the Ubuntu package.

Generally it is better to test libraries by installing them with
--prefix=/usr/local instead of /usr. On most systems this will
override the system version, but if it's removed or there are marked
version differences, applications can still use the distro version
from /usr. This is why --prefix=/usr/local is the default.

Good luck with the recovery,
 -r


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: problems in ubuntu fonts rendering with freetype2

by Adam Sampson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ralph Giles <giles@...> writes:

> You need to restore the original version from the Ubuntu package.

That is, you probably want to do something like:

  aptitude reinstall libfreetype6 libfreetype6-dev

as root, to force it to download and reinstall the packaged
version. (Installing the latter package will get you the files you need
to build other programs against Freetype too, which'll probably solve
your original problem.)

--
Adam Sampson <ats@...>                         <http://offog.org/>


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: problems in ubuntu fonts rendering with freetype2

by oscar santis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot

2009/10/26 Adam Sampson <ats@offog.org>
Ralph Giles <giles@...> writes:

> You need to restore the original version from the Ubuntu package.

That is, you probably want to do something like:

 aptitude reinstall libfreetype6 libfreetype6-dev

as root, to force it to download and reinstall the packaged
version. (Installing the latter package will get you the files you need
to build other programs against Freetype too, which'll probably solve
your original problem.)

--
Adam Sampson <ats@...>                         <http://offog.org/>



--
oscar santis
escultor, pintor, ruidista
http://my.pictomos.com/oscarsantis
http://oscarsantis.wordpress.com
tel: ++ 56 9 84280381

_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: problems in ubuntu fonts rendering with freetype2

by oscar santis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I reinstalled libfreetype6 from the Ubuntu package, but the problem persists.
thanks

2009/10/27 oscar santis <pelaosantis@gmail.com>
Thanks a lot

2009/10/26 Adam Sampson <ats@offog.org>

Ralph Giles <giles@...> writes:

> You need to restore the original version from the Ubuntu package.

That is, you probably want to do something like:

 aptitude reinstall libfreetype6 libfreetype6-dev

as root, to force it to download and reinstall the packaged
version. (Installing the latter package will get you the files you need
to build other programs against Freetype too, which'll probably solve
your original problem.)

--
Adam Sampson <ats@...>                         <http://offog.org/>



--
oscar santis
escultor, pintor, ruidista
http://my.pictomos.com/oscarsantis
http://oscarsantis.wordpress.com
tel: ++ 56 9 84280381



--
oscar santis
escultor, pintor, ruidista
http://my.pictomos.com/oscarsantis
http://oscarsantis.wordpress.com
tel: ++ 56 9 84280381

_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel