[Asterisk-Users] Compile Problem

Gonzalo Servat gs at webtastic.com.au
Mon Dec 22 18:34:26 MST 2003


Hi,

On Tue, 2003-12-23 at 12:12, jna at tcpbbs.net wrote:
>  
[...]

>         I am trying to compile the asterisk and if fails at the end
>         on:
>          
>         make[1]: Entering directory `/usr/src/asterisk-0.5.0/pbx'
>         gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o
>         `gtk-config --libs gthread`
>         /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/../../../../i486-slackware-linux/bin/ld: cannot find -lXext
>         collect2: ld returned 1 exit status
>         make[1]: *** [pbx_gtkconsole.so] Error 1
>         make[1]: Leaving directory `/usr/src/asterisk-0.5.0/pbx'
>         make: *** [subdirs] Error 1
>          
>         Anyone know what is wrong? Linpri and zaptel compiled just
>         fine. This is linux slackware 2.4.23 all the latest from 9.1
>         slackware distrib fresh system install.

I'm not sure where you'd find the following file in Slackware, but in
RedHat:

  /usr/X11R6/lib/libXext.so.6

.. is part of the XFree86-libs RPM. Find the corresponding tgz, install
it and then try to compile again. It should get past that error.

HTH,
Gonzalo




More information about the asterisk-users mailing list