public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Newman <jnn@cachehit.net>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] freetype related build errors
Date: Thu, 24 Oct 2002 17:08:47 -0500	[thread overview]
Message-ID: <20021024220847.GA20153@sparc.cachehit.net> (raw)

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


             reply	other threads:[~2002-10-24 22:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-24 22:08 John Newman [this message]
2002-10-24 23:57 ` [gentoo-dev] freetype related build errors Spider
2002-10-26 19:24   ` John Newman
2002-10-26 23:23     ` John Newman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021024220847.GA20153@sparc.cachehit.net \
    --to=jnn@cachehit.net \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox