Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm Ubuntu 13.04 user. I haven't been able to build/install Japanese third-party software for artists called AzDrawing. Based on readme file, I executed make command in proper directory. At first it was going well, but after a while command-line aborted its work and displayed information:

/usr/bin/ld: src/draw/CFont.o: undefined reference to symbol 'FcPatternAddDouble'
/usr/bin/ld: note: 'FcPatternAddDouble' is defined in DSO /usr/lib/i386-linux-gnu/ so try adding it to the linker command line
/usr/lib/i386-linux-gnu/ could not read symbols: invalid operation
collect2: error: ld returned 1 exit status
make: *** [azdrawing] Error 1

What should I do? I'm Unix beginner, so bear with me.

share|improve this question

FcPatternAddDouble comes from fontconfig, and if the symbol / function or maybe class is undefined, this is probably because you didn't install libfontconfig1-dev ?

Then, retry to build your software. If not found one more time, you can try :

make distclean # removes everything, including Makefile missing fontconfig headers

./configure # add your options


If this does not solve yor issue, try :

apt-cache search fontconfig

... and install what could be missing

Last but not least : try to provide some feedback to the guys providing the software, and dont forget to tell them there is probably an issue with build dependencies ;-)


-- ericb

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.