Problem with libXpm.so.4.11

Problem with libXpm.so.4.11

Post by Christophe MACABIA » Wed, 24 Jun 1998 04:00:00



Hi,

    I am trying to compile transfig-3.2.
When the compiler tries to create the
executable 'fig2dev', I get the error

gcc -o fig2dev -O2 -fno-strength-reduce      -L/usr/X11R6/lib fig2dev.o
psfonts.o iso2tex.o arrow.o bound.o trans_spline.o      free.o read.o
read1_3.o latex_line.o  getopt.c dev/libtransfig.a -L/usr/local/lib
-ljpeg   -lXpm  -lm
/usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultScreen'
/usr/X11R6/lib/libXpm.so: undefined reference to `XCreateImage'
/usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultVisual'
/usr/X11R6/lib/libXpm.so: undefined reference to `XFreeGC'
/usr/X11R6/lib/libXpm.so: undefined reference to `XUngrabServer'
/usr/X11R6/lib/libXpm.so: undefined reference to `XGetImage'
/usr/X11R6/lib/libXpm.so: undefined reference to `XFreeColors'
/usr/X11R6/lib/libXpm.so: undefined reference to `XParseColor'
/usr/X11R6/lib/libXpm.so: undefined reference to `XGrabServer'
/usr/X11R6/lib/libXpm.so: undefined reference to `XQueryColors'
/usr/X11R6/lib/libXpm.so: undefined reference to `XAllocColor'
/usr/X11R6/lib/libXpm.so: undefined reference to `XGetGeometry'
/usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultColormap'
/usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultDepth'
/usr/X11R6/lib/libXpm.so: undefined reference to `XPutImage'
/usr/X11R6/lib/libXpm.so: undefined reference to `XCreatePixmap'
/usr/X11R6/lib/libXpm.so: undefined reference to `XCreateGC'
make[1]: *** [fig2dev] Error 1

although I have libXpm.so.4.11 installed on my machine.

Does anyone know how I can solve this problem ?

Thanks.

--
-------------------------------------
Christophe MACABIAU
Laboratoire de Traitement du Signal
et des Telecommunications (LTST)
Ecole Nationale de l'Aviation Civile
7, avenue Edouard Belin BP 4005
31055 TOULOUSE CEDEX      FRANCE

Phone:5 62 17 42 77 Fax:5 62 17 42 70
http://www.recherche.enac.fr/ext/ltst/macabiau
-----------------------------------

 
 
 

Problem with libXpm.so.4.11

Post by Philipp Lohman » Thu, 25 Jun 1998 04:00:00


[ text1.txt 2K ]
Hi,

link to libX11 also (by adding -lX11 to your command line) and libXpm
(or rather the linker) should be happy.

Regards, pl

Quote:>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 6/23/98, 12:53:03 PM, Christophe MACABIAU

libXpm.so.4.11:

> Hi,
>     I am trying to compile transfig-3.2.
> When the compiler tries to create the
> executable 'fig2dev', I get the error
> gcc -o fig2dev -O2 -fno-strength-reduce      -L/usr/X11R6/lib
fig2dev.o
> psfonts.o iso2tex.o arrow.o bound.o trans_spline.o      free.o read.o
> read1_3.o latex_line.o  getopt.c dev/libtransfig.a -L/usr/local/lib
> -ljpeg   -lXpm  -lm
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultScreen'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XCreateImage'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultVisual'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XFreeGC'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XUngrabServer'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XGetImage'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XFreeColors'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XParseColor'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XGrabServer'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XQueryColors'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XAllocColor'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XGetGeometry'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultColormap'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultDepth'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XPutImage'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XCreatePixmap'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XCreateGC'
> make[1]: *** [fig2dev] Error 1
> although I have libXpm.so.4.11 installed on my machine.
> Does anyone know how I can solve this problem ?
> Thanks.
> --
> -------------------------------------
> Christophe MACABIAU
> Laboratoire de Traitement du Signal
> et des Telecommunications (LTST)
> Ecole Nationale de l'Aviation Civile
> 7, avenue Edouard Belin BP 4005
> 31055 TOULOUSE CEDEX      FRANCE

> Phone:5 62 17 42 77 Fax:5 62 17 42 70
> http://www.recherche.enac.fr/ext/ltst/macabiau
> -----------------------------------


 
 
 

1. ddd missing libXpm.so.4.11

Downloaded and installed ddd 3.1.5. When trying to run it, an error message
says:

"ld.so.1: ddd: fatal: libXpm.so.4.11: open failed: No such file or
directory"

Could not find this library on the system or Internet. Any ideas are
appreciated...

2. Linux for Sun

3. Problems connecting with Netware Client for Linux to Netware 4.11 server..

4. Slow 3C509 -- FINAL POST

5. libXpm.so.4 problem

6. Current time on the command line in ksh

7. Newbie startx problem: can't load library 'libXpm.so.4'

8. Alias fails

9. Installing StarOffice: libXpm.so.4 load problem

10. Problems: libXpm.so.4(netscapeb4) / flock() emulation

11. problem opening libXpm.so.4

12. problem with libXpm.so.4

13. libXpm.so problem