Re: Unable to install ROOT version 5-32-01 on mac 10.7.3 with gcc version 4.2.1

From: Monika Sharma <monika_at_rcf.rhic.bnl.gov>
Date: Thu, 1 Mar 2012 22:25:21 -0600

Hi Fons,

Here are some more details of the error:

ld: warning: ignoring file /usr/local/lib/libfreetype.dylib, missing required architecture x86_64 in file
Undefined symbols for architecture x86_64:

"_FT_Done_Face", referenced from:

       TTF::Cleanup() in TTF.o
       TTF::SetTextFont(char const*, int) in TTF.o

"_FT_Done_FreeType", referenced from:
TTF::Cleanup() in TTF.o
"_FT_Init_FreeType", referenced from:
TTF::Init() in TTF.o TTF::GetTextExtent(unsigned int&, unsigned int&, char*) in TTF.o TTF::GetTextAdvance(unsigned int&, char*) in TTF.o TTF::SetTextFont(char const*, int) in TTF.o TTF::SetTextSize(float) in TTF.o
"_FT_Set_Charmap", referenced from:
TTF::CharToUnicode(unsigned int) in TTF.o
"_FT_Get_Char_Index", referenced from:
TTF::CharToUnicode(unsigned int) in TTF.o
"_FT_Load_Glyph", referenced from:
TTF::PrepareString(char const*) in TTF.o "_FT_Load_Glyph", referenced from: TTF::PrepareString(char const*) in TTF.o TTF::LayoutGlyphs() in TTF.o
"_FT_Get_Kerning", referenced from:
TTF::LayoutGlyphs() in TTF.o
"_FT_Done_Glyph", referenced from:
TTF::LayoutGlyphs() in TTF.o
"_FT_Get_Glyph", referenced from:
TTF::LayoutGlyphs() in TTF.o
"_FT_Vector_Transform", referenced from:
TTF::LayoutGlyphs() in TTF.o
"_FT_Glyph_Transform", referenced from:
TTF::LayoutGlyphs() in TTF.o
"_FT_Glyph_Get_CBox", referenced from:
TTF::LayoutGlyphs() in TTF.o
"_FT_New_Face", referenced from:
TTF::SetTextFont(char const*, int) in TTF.o
"_FT_Set_Transform", referenced from:
TTF::SetTextFont(char const*, int) in TTF.o
"_FT_Set_Char_Size", referenced from:
TTF::SetTextSize(float) in TTF.o
"_FT_Library_Version", referenced from:
TTF::Version(int&, int&, int&) in TTF.o
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lib/libGraf.so] Error 1

Regards
Monika

On 3/1/12 5:34 PM, Fons Rademakers wrote:

> Can you mail me the some more lines of the compilation and linking 
> step of libGraf.so.
>
> Cheers, Fons.
>
>
> On 01/03/12 17:56, Monika Sharma wrote:
>>
Received on Fri Mar 02 2012 - 05:25:59 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 02 2012 - 17:50:01 CET