On Mon, Aug 17, 2009 at 06:21:45PM +0600, ast guy wrote:> Hi,
> 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
>
> libpq.a libpq.so libpq.so.4 libpq.so.4.1
>
>
> make[1]: Entering directory `/usr/src/asterisk-1.2.34/cdr'
> gcc -shared -Xlinker -x -o cdr_pgsql.so cdr_pgsql.o -lpq -lz
> -L/usr/lib/pgsql
> /usr/bin/ld: skipping incompatible /usr/lib/libpq.so when searching for
-lpq
> /usr/bin/ld: skipping incompatible /usr/lib/libpq.a when searching for -lpq
> /usr/bin/ld: cannot find -lpq
> collect2: ld returned 1 exit status
> make[1]: *** [cdr_pgsql.so] Error 1
> make[1]: Leaving directory `/usr/src/asterisk-1.2.34/cdr'
> make: *** [subdirs] Error 1
uname -r
file /usr/lib/libpq.so
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir