[GRASSLIST:2161] Re: 5.7 and postgres on Mac OSX

Compiling grass57_2003_03_01 on debian30 I get the following error:

-lpq -o
/home/mi/compila/grss/grass57_exp_2004_01_03/dist.i686-pc-linux-gnu/lib/libgrass_vect.so
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[3]: ***
[/home/mi/compila/grss/grass57_exp_2004_01_03/dist.i686-pc-linux-gnu/lib/libgrass_vect.so]
Error
1

maybe is something similar to the problem you fixed (if you did, how)?

Compiling grass57_2003_03_01 on debian30 I get the following error:

Isn't "grass57_2003_03_01" impossible?

-lpq -o
/home/mi/compila/grss/grass57_exp_2004_01_03/dist.i686-pc-linux-gnu/lib/libgrass_vect.so
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[3]: ***
[/home/mi/compila/grss/grass57_exp_2004_01_03/dist.i686-pc-linux-gnu/lib/libgrass_vect.so]
Error
1

maybe is something similar to the problem you fixed (if you did, how)?

Is the postgresql-dev debian package installed?

Are you using
./configure --with-postgres-includes=/usr/include/postgresql
?

Hamish

On Tue, Jan 13, 2004 at 08:06:40PM +1300, Hamish wrote:

> /home/mi/compila/grss/grass57_exp_2004_01_03/dist.i686-pc-linux-gnu/lib/libgrass_vect.so
> /usr/bin/ld: cannot find -lpq
> collect2: ld returned 1 exit status
> make[3]: ***
> [/home/mi/compila/grss/grass57_exp_2004_01_03/dist.i686-pc-linux-gnu/lib/libgrass_vect.so]
> Error
> 1

AFAIK this was fixed a few days ago.

Markus