[Lazarus] Can't compile Lazarus on Linux Mint 15
Reimar Grabowski
reimgrab at web.de
Thu Oct 17 17:51:10 CEST 2013
Addition:
AFAICS cairo.pp links against libcairo.so.2. The not found symbols (cairo_gobject_whatever) are simply not defined in that file.
user at computer:~/pascal/fpc$ objdump -tT /usr/lib/x86_64-linux-gnu/libcairo.so.2|grep -iIHn 'cairo_gobject'
user at computer:~/pascal/fpc$
They are defined in libcairo-gobject.so.2 from package libcairo-gobject2:
user at computer:~/pascal/fpc$ objdump -tT /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2|grep -iIHn 'cairo_gobject'
(standard input):38:0000000000003d00 g DF .text 000000000000006a Base cairo_gobject_extend_get_type
(standard input):39:0000000000003ad0 g DF .text 000000000000006a Base cairo_gobject_path_data_type_get_type
(standard input):40:0000000000003bb0 g DF .text 000000000000006a Base cairo_gobject_surface_type_get_type
(standard input):41:00000000000040f0 g DF .text 0000000000000071 Base cairo_gobject_font_face_get_type
(standard input):42:00000000000037c0 g DF .text 000000000000006a Base cairo_gobject_text_cluster_flags_get_type
(standard input):43:0000000000003600 g DF .text 000000000000006a Base cairo_gobject_antialias_get_type
(standard input):44:00000000000042f0 g DF .text 0000000000000071 Base cairo_gobject_rectangle_int_get_type
(standard input):45:0000000000003b40 g DF .text 000000000000006a Base cairo_gobject_device_type_get_type
(standard input):46:0000000000003d70 g DF .text 000000000000006a Base cairo_gobject_filter_get_type
(standard input):47:0000000000004170 g DF .text 0000000000000071 Base cairo_gobject_font_options_get_type
(standard input):48:0000000000003ff0 g DF .text 0000000000000071 Base cairo_gobject_surface_get_type
(standard input):49:0000000000003750 g DF .text 000000000000006a Base cairo_gobject_line_join_get_type
(standard input):50:0000000000003de0 g DF .text 000000000000006a Base cairo_gobject_region_overlap_get_type
(standard input):51:00000000000039f0 g DF .text 000000000000006a Base cairo_gobject_hint_metrics_get_type
(standard input):52:00000000000041f0 g DF .text 0000000000000071 Base cairo_gobject_region_get_type
(standard input):53:0000000000004270 g DF .text 0000000000000071 Base cairo_gobject_rectangle_get_type
(standard input):54:00000000000038a0 g DF .text 000000000000006a Base cairo_gobject_font_weight_get_type
(standard input):55:0000000000003c20 g DF .text 000000000000006a Base cairo_gobject_format_get_type
(standard input):56:0000000000004070 g DF .text 0000000000000071 Base cairo_gobject_scaled_font_get_type
(standard input):57:0000000000003a60 g DF .text 000000000000006a Base cairo_gobject_font_type_get_type
(standard input):58:0000000000003c90 g DF .text 000000000000006a Base cairo_gobject_pattern_type_get_type
(standard input):59:0000000000003830 g DF .text 000000000000006a Base cairo_gobject_font_slant_get_type
(standard input):60:0000000000003e70 g DF .text 0000000000000071 Base cairo_gobject_context_get_type
(standard input):61:00000000000036e0 g DF .text 000000000000006a Base cairo_gobject_line_cap_get_type
(standard input):62:0000000000003520 g DF .text 000000000000006a Base cairo_gobject_content_get_type
(standard input):63:00000000000034b0 g DF .text 000000000000006a Base cairo_gobject_status_get_type
(standard input):64:0000000000003f70 g DF .text 0000000000000071 Base cairo_gobject_pattern_get_type
(standard input):65:0000000000003910 g DF .text 000000000000006a Base cairo_gobject_subpixel_order_get_type
(standard input):66:0000000000003980 g DF .text 000000000000006a Base cairo_gobject_hint_style_get_type
(standard input):67:0000000000003590 g DF .text 000000000000006a Base cairo_gobject_operator_get_type
(standard input):68:0000000000003ef0 g DF .text 0000000000000071 Base cairo_gobject_device_get_type
(standard input):69:0000000000003670 g DF .text 000000000000006a Base cairo_gobject_fill_rule_get_type
So it makes sense that the linking fails.
R.
More information about the Lazarus
mailing list