[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -lungif



* jlesaux <jlesaux@ifrance.com> [2003-07-15 18:19] :
> Frédéric Bothamy wrote:
> 
> >* jlesaux <jlesaux@ifrance.com> [2003-07-15 15:49] :
> > 
> >
> >>Frédéric Bothamy wrote:
> >>
> >>   
> >>
> >>>* jlesaux <jlesaux@ifrance.com> [2003-07-15 13:36] :
> >>>
> >>>
> >>>     
> >>>
> >>>>bonjour,
> >>>>je n'arrive pas a passer a travers un ./configure car il ne trouve pas 
> >>>>de lien a -lungif.
> >>>>Pourtant les bibliotheques sont presentes dans /usr/lib.
> >>>>Et un ldconfig donne :
> >>>>libungif.so.4 -> libungif.so.4.1.0
> >>>>
> >>>>Comment attribuer le -lungif aux bonnes bibliotheques ?
> >>>> 
> >>>>
> >>>>       
> >>>>
> >>>Installer la bonne bibliothèque de développement : libungif4-dev ?
> >>>
> >>>Le fichier libungif.so.4.1.0 est fourni par le paquet libungif4g.
> >>>
> >>>Fred
> >>>libungif4-dev
> >>>
> >>>
> >>>     
> >>>
> >>libungif4-dev est deja installe.
> >>   
> >>
> >
> >Dans ce cas, peux-tu donner la sortie du lancement du ./configure
> >(éventuellement édité pour ne pas envoyer un trop gros fichier à la
> >liste) ?
> >
> >Fred
> >
> > 
> >
> le voici (il n'est pas tres long) :
> 
> loading cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for inline... inline
> checking for a BSD compatible install... /usr/bin/install -c
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for snprintf... yes
> checking for strdup... yes
> checking for gtk12-config... no
> checking for gtk-config... /usr/bin/gtk-config
> checking for GTK - version >= 1.2.0... yes
> checking for pthread.h... yes
> checking for pthread_create in -lpthread... yes
> checking for pthread_setcancelstate in -lpthread... yes
> checking for pthread_setcanceltype in -lpthread... yes
> checking for png_read_info in -lpng... no
> checking for DGifOpenFileHandle in -lgif... no
> checking for DGifOpenFileHandle in -lungif... no
> *** You require libungif to compile and run
> *** Cheetah. You can obtain libungif at
> *** http://http://prtr-13.ucsc.edu/~badger/software/libungif/.
> *** See INSTALL file for more details

Curieux : chez moi, j'ai bien la fonction DGifOpenFileHandle déclarée
dans /usr/include/gif_lib.h (du paquet libungif4-dev) et définie dans
/usr/lib/libgif.so (du même paquet) qui est un lien vers la bibliothèque
/usr/lib/libungif.so.4.1.0, cette dernière contenant vraisemblablement
bien la fonction en question (nm ne donne rien car la bibliothèque est
"stripée", mais strings affiche bien le nom de la fonction).

Quel est le programme que tu essaies de compiler ? Que contient le
./configure pour tester la présence de libungif ? (c'est peut-être bien
un test mal écrit dans le configure)


Fred

PS : Peux-tu envoyer tes messages sur la liste ? D'autres personnes
pourront ainsi contribuer à la discussion, celle-ci sera ensuite
archivée et une autre personne dans ton cas pourra la retrouver
facilement.

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Code de conduite des listes Debian
http://www.fr.debian.org/MailingLists/#codeofconduct



Reply to: