h1

Error compilando ghostpdl: /usr/bin/ld: cannot find -lXext

15/10/2009

El siguiente error compilando “ghostpdl“:

#kubuntu@kubuntu:~/xbuild/ghostpdl-8.70$ make
./obj/echogs -a ./obj/ldall.tr -s - ./obj/gsromfs1.o ./obj/plmain.o ./obj/plimpl.o  -lm -lpthread -ldl
sh <./obj/ldall.tr
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [obj/pcl6] Error 1
make[2]: Leaving directory `/home/kubuntu/xbuild/ghostpdl-8.70/main'
make[1]: *** [pdl-product] Error 2
make[1]: Leaving directory `/home/kubuntu/xbuild/ghostpdl-8.70/main'
make: *** [pcl] Error 2

se soluciona instalando la siguiente librería.

kubuntu@kubuntu:~$ sudo apt-get install libxext-dev

En algunos entornos también puede ser necesario libx11-dev:

kubuntu@kubuntu:~$ sudo apt-get install libx11-dev

3 comentarios

  1. Aunque lo escribiste hace casi un año. Muchas gracias, me ayudó en una compilación.


  2. Me he flipado. Hce 6 meses XD. pero gracias de todas formas. Estas notas ayudan cuando googleas


  3. Hola, el error que me da a mi es este:
    -lfl
    /usr/bin/ld: cannot find -lfl
    collect2: ld returned 1 exit status
    make: *** [smallsh] Error 1

    Que libreria debo instalar?¿?
    gracias de antemano.



Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s

Seguir

Get every new post delivered to your Inbox.