[Bf-committers] Scons linking problem on OS X intel

Developer Guanajuato Virtual devel at guanajuato.net
Sat Mar 22 07:58:30 CET 2008


Hello!

I been triying to compile the Blender on Mac intel OSX tiger 8.11.1  
and have this linking errors after the compile:

Linking program ==> 'blender'
/usr/bin/ld: warning -L: directory name (/Users/octavio/lib/ 
darwin-8.11.1-i386/iconv/lib) does not exist
/usr/bin/ld: warning -L: directory name (/Users/octavio/lib/ 
darwin-8.11.1-i386/ffmpeg/lib) does not exist
/usr/bin/ld: warning /usr/local/lib/libjpeg.dylib cputype (18,  
architecture ppc) does not match cputype (7) for specified -arch  
flag: i386 (file not loaded)
/usr/bin/ld: warning /usr/local/lib/libpng.dylib cputype (18,  
architecture ppc) does not match cputype (7) for specified -arch  
flag: i386 (file not loaded)
/usr/bin/ld: warning /usr/local/lib/libfreetype.dylib cputype (18,  
architecture ppc) does not match cputype (7) for specified -arch  
flag: i386 (file not loaded)
/usr/bin/ld: warning /usr/local/lib/libintl.dylib cputype (18,  
architecture ppc) does not match cputype (7) for specified -arch  
flag: i386 (file not loaded)
/usr/bin/ld: Undefined symbols:
_FT_Done_FreeType
_FT_Get_Char_Index
_FT_Get_First_Char
_FT_Get_Next_Char
_FT_Get_Postscript_Name
_FT_Init_FreeType
_FT_Load_Glyph
_FT_New_Memory_Face
_FT_Set_Charmap
_libintl_bindtextdomain
_libintl_gettext
_libintl_textdomain
_png_create_info_struct
_png_create_write_struct
_png_destroy_write_struct
_png_init_io
_png_set_IHDR
_png_write_end
_png_write_image
_png_write_info
_jpeg_CreateCompress
_jpeg_CreateDecompress
_jpeg_abort_decompress
_jpeg_destroy
_jpeg_destroy_compress
_jpeg_finish_compress
_jpeg_finish_decompress
_jpeg_read_header
_jpeg_read_scanlines
_jpeg_resync_to_restart
_jpeg_save_markers
_jpeg_set_defaults
_jpeg_set_marker_processor
_jpeg_set_quality
_jpeg_start_compress
_jpeg_start_decompress
_jpeg_std_error
_jpeg_stdio_dest
_jpeg_stdio_src
_jpeg_write_marker
_jpeg_write_scanlines
_png_create_read_struct
_png_destroy_read_struct
_png_get_IHDR
_png_get_channels
_png_get_io_ptr
_png_get_text
_png_get_valid
_png_read_end
_png_read_image
_png_read_info
_png_set_expand
_png_set_palette_to_rgb
_png_set_read_fn
_png_set_strip_16
_png_set_text
_png_set_write_fn
_png_sig_cmp
_FT_Render_Glyph
_FT_Attach_File
_FT_Attach_Stream
_FT_Done_Face
_FT_Get_Kerning
_FT_New_Face
_FT_Set_Char_Size
_jpeg_alloc_huff_table
_jpeg_destroy_decompress
_jpeg_set_colorspace
_FT_Outline_Get_CBox
_FT_Select_Charmap
collect2: ld returned 1 exit status
scons: *** [/Users/octavio/build/darwin/bin/blender] Error 1
scons: building terminated because of errors.

it seems the script cant link to the /lib location, it tries to link  
to /usr/local. Does anybody knoews how to fix this?

Thanks!

Octavio



More information about the Bf-committers mailing list