public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] freetype related build errors
@ 2002-10-24 22:08 John Newman
  2002-10-24 23:57 ` Spider
  0 siblings, 1 reply; 4+ messages in thread
From: John Newman @ 2002-10-24 22:08 UTC (permalink / raw
  To: gentoo-dev

When I'm attempting to build seemingly any package that needs
libfreetype I get these errors at the bottom of the build:

# emerge libwnck
Calculating dependencies ...done!
>>> emerge x11-libs/libwnck-0.17 to /

[ snip ]

/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream'
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short'
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame'
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Access_Frame'
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long'
collect2: ld returned 1 exit status
make[2]: *** [test-wnck] Error 1
make[2]: Leaving directory
`/usr/tmp/portage/libwnck-0.17/work/libwnck-0.17/libwnck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/tmp/portage/libwnck-0.17/work/libwnck-0.17'
make: *** [all-recursive-am] Error 2

I found the symbolds:

nm /usr/X11R6/lib/libfreetype.a | egrep 'FT_(Seek_Stream|Get_Short)'

00005068 T FT_Get_Short
0000511c T FT_Get_ShortLE
00004e44 T FT_Seek_Stream

This is obviously keeping me from building gnome and lots and lots
of other packages :)  I currently have freetype-2.0.9 and
freetype-2.1.2-r1 installed.  I've tried uninstalling the 2.0.9
version and reinstalling both versions and I still get the
exact same build error on other packages.   Anybody have any idea
whats causing this?  The only way I've found to fix the packages
that are blowing up is to manually add /usr/X11R6/lib/libfreetype.a
to the end of the final gcc line and then to emerge -i the package
to insert a stub so that portage knows its installed.


-- 
john


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-26 23:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-24 22:08 [gentoo-dev] freetype related build errors John Newman
2002-10-24 23:57 ` Spider
2002-10-26 19:24   ` John Newman
2002-10-26 23:23     ` John Newman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox