Opened 11 years ago

Closed 6 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)

comment:1 in reply to:  description Changed 11 years ago by glynn

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 Changed 7 years ago by mlennert

Is this still an issue ?

comment:3 in reply to:  2 ; Changed 7 years ago by glynn

Replying to mlennert:

Is this still an issue ?

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

comment:4 in reply to:  3 Changed 6 years ago by neteler

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.