[Freeswitch-users] FS compilation errored out at building mod_cdr_pg_csv

Bzzz lazyvirus at gmx.com
Tue Mar 20 21:04:08 MSK 2012


On Tue, 20 Mar 2012 17:53:37 +0000
Zenny <garbytrash at gmail.com> wrote:

> Just to test, I directly specified /usr/pgsql-9.1/include/libpq-fe.h
> in /usr/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c
> 
> It seemed to have progressed a bit further, but spits out the error:
> 
> Creating mod_cdr_pg_csv.la...
> /usr/bin/ld: cannot find -lpq
> collect2: ld returned 1 exit status
> cat: .libs/mod_cdr_pg_csv.log: No such file or directory
> make[5]: *** [mod_cdr_pg_csv.la] Error 1
> make[4]: *** [all] Error 1
> make[3]: *** [mod_cdr_pg_csv-all] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

Seems normal: you give it the pq header, so it can compile, but it
can't link against nothing.

-- 
QOTD:
	All I want is more than my fair share.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list