Hi, <br> I am trying to install asterisk-1.2.34 but facing following issue. I have gone through it and found that there are files in /usr/lib <br><br>libpq.a libpq.so libpq.so.4 libpq.so.4.1<br><br><br>make[1]: Entering directory `/usr/src/asterisk-1.2.34/cdr'<br>
gcc -shared -Xlinker -x -o cdr_pgsql.so cdr_pgsql.o -lpq -lz -L/usr/lib/pgsql<br>/usr/bin/ld: skipping incompatible /usr/lib/libpq.so when searching for -lpq<br>/usr/bin/ld: skipping incompatible /usr/lib/libpq.a when searching for -lpq<br>
/usr/bin/ld: cannot find -lpq<br>collect2: ld returned 1 exit status<br>make[1]: *** [cdr_pgsql.so] Error 1<br>make[1]: Leaving directory `/usr/src/asterisk-1.2.34/cdr'<br>make: *** [subdirs] Error 1<br><br>Pls comment!<br>