Ticket #190 (closed defect: for support check mailinglist)

Opened 3 years ago

Last modified 14 months ago

make fails for rrdtool-1.3.4 on redhat AS4

Reported by: human Owned by: oetiker
Priority: major Milestone:
Component: misc Version: 1.3.4
Keywords: make Cc:

Description

The make fails with the following errors.

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -D_GNU_SOURCE -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W -fPIC -DPIC -L/usr/local/lib -L/usr/local/lib -o rrdtool rrd_tool.o librrd.la gcc -g -O2 -D_GNU_SOURCE -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W -fPIC -DPIC -o .libs/rrdtool rrd_tool.o -L/usr/local/lib ./.libs/librrd.so -Wl,--rpath -Wl,/usr/pkgs/linux/intel/rrdtool/1.3.4/lib /usr/local/lib/libpangocairo-1.0.so.0: undefined reference to `pango_renderer_get_layout' /usr/local/lib/libcairo.so.2: undefined reference to `png_get_IHDR@PNG12_0' /usr/local/lib/libpangocairo-1.0.so.0: undefined reference to `pango_font_description_get_gravity' /usr/local/lib/libcairo.so.2: undefined reference to `png_destroy_write_struct@PNG12_0' /usr/local/lib/libcairo.so.2: undefined reference to `png_write_end@PNG12_0' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_layout_get_lines_readonly' /usr/local/lib/libcairo.so.2: undefined reference to `png_set_tRNS_to_alpha@PNG12_0' /usr/local/lib/libcairo.so.2: undefined reference to `png_set_write_fn@PNG12_0'

Change History

comment:1 Changed 3 years ago by human

I have the exact same error on CentOS 5.x (derivate of RedHat? AS 5).

On the same system a compile of RRDtool 1.3.3 works fine. That hopefully narrows down the search a bit.

comment:2 Changed 14 months ago by oetiker

  • Status changed from new to closed
  • Resolution set to for support check mailinglist

this would indicate that your install if libcairo is not properly linked to libpng ... try the install instructions  http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html

Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.