Re: Error while trying to link the static library.

da.mihi.sis.bubulae.frustrum.assae.solana.tuberosa.in.modo.gallico.fricta.ac.quassum.lactatum.coagulatum.crassum@imagemagick.org
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
> undefined reference to `BZ2_bzclose

You could add -lbz2 to your command line.  Better yet, try

  cc `MagickCore-config --cflags --cppflags` -o magick magick.c `MagickCore-config --ldflags --libs`

Where magick.c is your program that utilizes the MagickCore API.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.