Re: Error while trying to link the static library.

rupa sahu <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
Hi,

Thanks for the solution.
By adding -lbz2 errors related to "`BZ2_bzclose" are solved but the rest are
still there.
Can you please let me know the solution for the rest.

Thanks,
Rupa

On Wed, Feb 17, 2010 at 8:05 PM, <
da.mihi.sis.bubulae.frustrum.assae.solana.tuberosa.in.modo.gallico.fricta.ac.quassum.lactatum.coagulatum.crassum@imagemagick.org
> wrote:

> > 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.