in reply to Re: Re: Inline::C and gd
in thread Inline::C and gd

Okay. That's a different error message (undefined symbol jpeg_destroy). Doing an "nm -a libgd.so | grep jpeg_destroy" on my system shows that libgd.so has an unresolved dependency for that function. jpeg_destory is part of the jpg library. Do you have libjpg.so anywhere in your libpths?

-derby

Replies are listed 'Best First'.
Re: Re: Re: Re: Inline::C and gd
by Beatnik (Parson) on May 26, 2002 at 13:49 UTC
    libjpeg is located at the following locations...
    /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 /usr/lib/libjpeg.so.6 /usr/lib/libjpeg.so.6.0.1 /usr/lib/libjpeg.a /usr/lib/libjpeg.la /usr/lib/libjpeg.so

    My gcc is gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.
      You could try using the latest gcc, GCC 3.1. RedHat has been known to ship some seriously strange and/or "controversial" compilers, and 2.96 is one of those. If you can, try and upgrade.

      Otherwise, this could be a simple case of library linkage problems. A good whack with ldconfig might help.