Opened 15 years ago

Closed 10 years ago

#459 closed defect (fixed)

lib/cairodriver uses FontConfig but doesn't link against it

Reported by: glynn Owned by: glynn
Priority: major Milestone: 7.0.0
Component: Display Version: svn-trunk
Keywords: Cc: grass-dev@…
CPU: All Platform: Unspecified

Description

From grass-dev:

gcc -shared -o /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.7.0.svn.so

/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.so) OBJ.x86_64-unknown-linux-gnu/Text.o: In function `fc_init': /home/neteler/grass70/lib/cairodriver/Text.c:180: undefined reference to `FcInit'

We need configure checks for FontConfig.

Change History (4)

in reply to:  description comment:1 by glynn, 15 years ago

Replying to glynn:

For now, I've added $(FCLIB) to EXTRA_LIBS in lib/cairodriver/Makefile.

I still need to add the configure checks etc to actually set this variable.

AFAICT, it only matters if you use -Wl,--no-undefined; in that case you can use e.g.

make FCLIB=-lfontconfig

until FCLIB gets defined.

comment:2 by mlennert, 11 years ago

Is this still an issue ?

in reply to:  2 ; comment:3 by glynn, 11 years ago

Replying to mlennert:

Is this still an issue ?

It may have been solved by r55040 (related to #1884).

in reply to:  3 comment:4 by neteler, 10 years ago

Resolution: fixed
Status: newclosed

Replying to glynn:

Replying to mlennert:

Is this still an issue ?

It may have been solved by r55040 (related to #1884).

Appears to be solved, closing.

Note: See TracTickets for help on using tickets.