Re: undefined reference ;-(



Daniel,

'LD' is the gnu linker. The reason for your stream of errors is that code which calls libpangoft2 was compiled and then attempted to be linked, but the linker couldn't find the library this is probably because:

a) When you originally compiled pango, it didn't recognize freetype and didn't compile the libpangoft2 library. A quick way to check for this is to become root and type "ldconfig -v | less". Look through the resulting output for libpangoft2. Not there? Go back to pango and make sure that everything in pango is really compiling.

b) libpangoft2 did compile, and you have verified this by step (a). The probable culprit now is that somehow, the compiler didn't get passed the "-lpangoft2" option when it should have. Since I haven't yet built the most recent ggv, I can only conjecture as to the problem:

- ggv's makefiles / ./configure are broken, and don't properly find pango. - pkgconfig is somehow not finding <gnome2_prefix>/lib/pkgconfig/pangoft2.pc,
     and therefore `pkg-config --libs gtk+-2.0` isn't supplying the
     -lpangoft2 switch as it's supposed to

Hope this helps,

Idan

<normally this would be gpg-signed but it's slightly broken right now>

--

Daniel Paessler wrote:

when i try to compile ggv in gnome-fifth-toe i get the following error:


-rpath -Wl,/home/paessler/garnome/lib
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Stream_GetShort'
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Stream_ExitFrame'
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Stream_GetLong'
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Stream_Seek'
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Get_Next_Char'
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Stream_EnterFrame'
/home/paessler/garnome/lib/libpangoft2-1.0.so: undefined reference to
`FT_Get_First_Char'
collect2: ld returned 1 exit status





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]