1 |
When I'm attempting to build seemingly any package that needs |
2 |
libfreetype I get these errors at the bottom of the build: |
3 |
|
4 |
# emerge libwnck |
5 |
Calculating dependencies ...done! |
6 |
>>> emerge x11-libs/libwnck-0.17 to / |
7 |
|
8 |
[ snip ] |
9 |
|
10 |
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream' |
11 |
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short' |
12 |
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame' |
13 |
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Access_Frame' |
14 |
/usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long' |
15 |
collect2: ld returned 1 exit status |
16 |
make[2]: *** [test-wnck] Error 1 |
17 |
make[2]: Leaving directory |
18 |
`/usr/tmp/portage/libwnck-0.17/work/libwnck-0.17/libwnck' |
19 |
make[1]: *** [all-recursive] Error 1 |
20 |
make[1]: Leaving directory |
21 |
`/usr/tmp/portage/libwnck-0.17/work/libwnck-0.17' |
22 |
make: *** [all-recursive-am] Error 2 |
23 |
|
24 |
I found the symbolds: |
25 |
|
26 |
nm /usr/X11R6/lib/libfreetype.a | egrep 'FT_(Seek_Stream|Get_Short)' |
27 |
|
28 |
00005068 T FT_Get_Short |
29 |
0000511c T FT_Get_ShortLE |
30 |
00004e44 T FT_Seek_Stream |
31 |
|
32 |
This is obviously keeping me from building gnome and lots and lots |
33 |
of other packages :) I currently have freetype-2.0.9 and |
34 |
freetype-2.1.2-r1 installed. I've tried uninstalling the 2.0.9 |
35 |
version and reinstalling both versions and I still get the |
36 |
exact same build error on other packages. Anybody have any idea |
37 |
whats causing this? The only way I've found to fix the packages |
38 |
that are blowing up is to manually add /usr/X11R6/lib/libfreetype.a |
39 |
to the end of the final gcc line and then to emerge -i the package |
40 |
to insert a stub so that portage knows its installed. |
41 |
|
42 |
|
43 |
-- |
44 |
john |