<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> <<a href="mailto:brent.torrenga@torrenga.com">brent.torrenga@torrenga.com</a>> 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=\"\"
<br>-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk<br>\"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"<br>-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
<br>-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=<br>\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"<br>-DMULTIPLICITY -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 -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=\"\"<br>-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk<br>\"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
<br>-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"<br>-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=<br>\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"
<br>-DMULTIPLICITY -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 -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=\"\"<br>-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk
<br>\"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"<br>-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"<br>-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=
<br>\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"<br>-DMULTIPLICITY -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 -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=\"\"
<br>-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk<br>\"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"<br>-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
<br>-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=<br>\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"<br>-DMULTIPLICITY -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 -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 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> <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: 518-631-2856