[Kaffe] problem with bad libgif link in CVS code

Moses DeJong dejong at cs.umn.edu
Tue Jan 26 19:28:28 PST 1999

On 26 Jan 1999, Alexandre Oliva wrote:

> On Jan 14, 1999, Moses DeJong <dejong at cs.umn.edu> wrote:
> > % ./conftest 
> > ld.so.1: ./conftest: fatal: libgif.so.3: open failed: No such file or directory
> > Killed
> > % ldd conftest
> >         libgif.so.3 =>   (file not found)
> >         libc.so.1 =>     /usr/lib/libc.so.1
> >         libdl.so.1 =>    /usr/lib/libdl.so.1
> > I could not find libgif on my system and I had no clue how to fix the
> > configure.in script so I just tossed a hack into configure so that the
> > contest compile failed. After installing I now had no link to libgif.

That is the problem. There does not seem to be a libgif on my system.
I have no idea what the compiler is linking to and I have done a
find / -name "libgif*" and found nothing. Is there any way to make
gcc print out where the libs it uses for linking are located?

> Just add `-R /path/to/libgif' or `-R/path/to/libgif' to LDFLAGS before 
> running configure and it should work.  Where does libgif live, BTW?
> Did it ever work before?
> -- 
> Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
> oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
> Universidade Estadual de Campinas, SP, Brasil

More information about the kaffe mailing list