<pre>Maybe you don't have libc6-dev installed?</pre>
<br><br><div><span class="gmail_quote">On 10/15/05, <b class="gmail_sendername">Brent August Torrenga</b> &lt;<a href="mailto:brent.torrenga@torrenga.com">brent.torrenga@torrenga.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Having trouble running make on res_perl:<br><br>[root@charlie res_perl]# make<br>perl -MExtUtils::Embed -e xsinit<br>gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/<br>-I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\&quot;\&quot;
<br>-DASTETCDIR=\&quot;/etc/asterisk\&quot; -DASTLIBDIR=\&quot;/usr/lib/asterisk<br>\&quot;-DASTVARLIBDIR=\&quot;/var/lib/asterisk\&quot; -DASTVARRUNDIR=\&quot;/var/run\&quot;<br>-DASTSPOOLDIR=\&quot;/var/spool/asterisk\&quot; -DASTLOGDIR=\&quot;/var/log/asterisk\&quot;
<br>-DASTCONFPATH=\&quot;/etc/asterisk/asterisk.conf\&quot; -DASTMODDIR=<br>\&quot;/usr/lib/asterisk/modules\&quot; -DASTAGIDIR=\&quot;/var/lib/asterisk/agi-bin\&quot;<br>-DMULTIPLICITY&nbsp;&nbsp;-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
<br>-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE<br>-D_FILE_OFFSET_BITS=64<br>-I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE&nbsp;&nbsp; -c -o perlxsi.o<br>perlxsi.c<br>gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-
1.0.9/<br>-I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\&quot;\&quot;<br>-DASTETCDIR=\&quot;/etc/asterisk\&quot; -DASTLIBDIR=\&quot;/usr/lib/asterisk<br>\&quot;-DASTVARLIBDIR=\&quot;/var/lib/asterisk\&quot; -DASTVARRUNDIR=\&quot;/var/run\&quot;
<br>-DASTSPOOLDIR=\&quot;/var/spool/asterisk\&quot; -DASTLOGDIR=\&quot;/var/log/asterisk\&quot;<br>-DASTCONFPATH=\&quot;/etc/asterisk/asterisk.conf\&quot; -DASTMODDIR=<br>\&quot;/usr/lib/asterisk/modules\&quot; -DASTAGIDIR=\&quot;/var/lib/asterisk/agi-bin\&quot;
<br>-DMULTIPLICITY&nbsp;&nbsp;-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS<br>-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE<br>-D_FILE_OFFSET_BITS=64<br>-I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE&nbsp;&nbsp; -c -o res_perl.o
<br>res_perl.c<br>gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/<br>-I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\&quot;\&quot;<br>-DASTETCDIR=\&quot;/etc/asterisk\&quot; -DASTLIBDIR=\&quot;/usr/lib/asterisk
<br>\&quot;-DASTVARLIBDIR=\&quot;/var/lib/asterisk\&quot; -DASTVARRUNDIR=\&quot;/var/run\&quot;<br>-DASTSPOOLDIR=\&quot;/var/spool/asterisk\&quot; -DASTLOGDIR=\&quot;/var/log/asterisk\&quot;<br>-DASTCONFPATH=\&quot;/etc/asterisk/asterisk.conf\&quot; -DASTMODDIR=
<br>\&quot;/usr/lib/asterisk/modules\&quot; -DASTAGIDIR=\&quot;/var/lib/asterisk/agi-bin\&quot;<br>-DMULTIPLICITY&nbsp;&nbsp;-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS<br>-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
<br>-D_FILE_OFFSET_BITS=64<br>-I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE&nbsp;&nbsp; -c -o apihelp.o<br>apihelp.c<br>gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/<br>-I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\&quot;\&quot;
<br>-DASTETCDIR=\&quot;/etc/asterisk\&quot; -DASTLIBDIR=\&quot;/usr/lib/asterisk<br>\&quot;-DASTVARLIBDIR=\&quot;/var/lib/asterisk\&quot; -DASTVARRUNDIR=\&quot;/var/run\&quot;<br>-DASTSPOOLDIR=\&quot;/var/spool/asterisk\&quot; -DASTLOGDIR=\&quot;/var/log/asterisk\&quot;
<br>-DASTCONFPATH=\&quot;/etc/asterisk/asterisk.conf\&quot; -DASTMODDIR=<br>\&quot;/usr/lib/asterisk/modules\&quot; -DASTAGIDIR=\&quot;/var/lib/asterisk/agi-bin\&quot;<br>-DMULTIPLICITY&nbsp;&nbsp;-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
<br>-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE<br>-D_FILE_OFFSET_BITS=64<br>-I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE&nbsp;&nbsp; -c -o<br>AstAPIBase.o AstAPIBase.c<br>gcc -Wall -fPIC -shared -Xlinker -x -o res_perl.so 
perlxsi.o res_perl.o<br>apihelp.o -Wl,-E<br>-L/usr/local/lib /usr/local/lib/perl5/5.8.7/-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE
-lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lnsl -lndbm -lgdbm
-ldl -lm -lcrypt -lutil -lc&nbsp;&nbsp;AstAPIBase.o<br>/usr/bin/ld: cannot find -lndbm<br>collect2: ld returned 1 exit status<br>make: *** [res_perl.so] Error 1<br>[root@charlie res_perl]#<br><br><br>_______________________________________________
<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Tom Vile<br>Baldwin Technology Solutions, Inc<br>Consulting - Web Design - VoIP Telephony<br><a href="http://www.baldwintechsolutions.com">www.baldwintechsolutions.com
</a><br>Phone: 518-631-2855 x205<br>Fax:&nbsp;&nbsp;&nbsp;&nbsp; 518-631-2856