hai there, today i tried to implement the prepaid application to my * box. I do the step that mantion in to voip-info. i copy the app_prepaid.c and Make file to my asteris/apps, then i run the make. but it show an error like : gcc -shared -Xlinker -x -o app_prepaid.so app_prepaid.o -lpq /usr/bin/ld: cannot find -lpq collect2: ld returned 1 exit status make[1]: *** [app_prepaid.so] Error 1 make[1]: Leaving directory '/usr/src/asterisk/apps' make: *** [subdirs] Error 1 Any sugestion what should i do? Best Regards, Freddy Setiawan
I believe libpq is a postgres dev library. You probally need a psql-dev package of some sort. ----- Original Message ----- From: "Freddy Setiawan" <freddysetiawan@hotpop.com> To: <asterisk-users@lists.digium.com> Sent: Monday, June 28, 2004 9:34 PM Subject: [Asterisk-Users] cannot make app_prepaid> hai there, today i tried to implement the prepaid application to my * box. > I do the step that mantion in to voip-info. i copy the app_prepaid.c and > Make file to my asteris/apps, then i run the make. but it show an errorlike> : > > gcc -shared -Xlinker -x -o app_prepaid.so app_prepaid.o -lpq > /usr/bin/ld: cannot find -lpq > collect2: ld returned 1 exit status > make[1]: *** [app_prepaid.so] Error 1 > make[1]: Leaving directory '/usr/src/asterisk/apps' > make: *** [subdirs] Error 1 > > Any sugestion what should i do? > > Best Regards, > > Freddy Setiawan > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users > >