[Asterisk-Users] cannot make app_prepaid

Freddy Setiawan freddysetiawan at hotpop.com
Mon Jun 28 21:59:44 MST 2004


Eureka... i must edit the Makefile hehe... yes correct, i must mantion about
the psql lib

-L /usr/local/pgsql/lib

Thnx.

Regards,

Freddy Setiawan

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Joshua
McClintock
Sent: Tuesday, June 29, 2004 12:56 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] cannot make app_prepaid


I believe libpq is a postgres dev library.  You probally need a psql-dev
package of some sort.

----- Original Message -----
From: "Freddy Setiawan" <freddysetiawan at hotpop.com>
To: <asterisk-users at 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 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
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list