Subject: Re: py-postgresql package
To: None <>
From: D'Arcy J.M. Cain <>
List: tech-pkg
Date: 02/24/2000 14:41:46
Thus spake
> >    So the question is, why does it call cc on my system and ld on Brook's?
> >    As I suggested, it doesn't appear to be an a.out vs. ELF thing at all.
> now thats a good question.

Why, thank you.  :-)

> Also on the system where it did work, can you verify that when you do a
> 'make' in /usr/pkgsrc/databases/py-postgresql/ that it really does call
> 'cc' instead of 'ld' in the step:
> ld -Bshareable  pgmodule.o  -R/usr/pkg/pgsql/lib -L/usr/pkg/pgsql/lib -lpq
>          -lcrypt -o

Check it out.

> On the system where it works, what version of
> /usr/pkgsrc/databases/py-postgresql/files/
> do you have?
> It looks like the -Wl,-R stuff was added in rev 1.2 on 2000/01/06.  

# $NetBSD:,v 1.2 2000/01/06 03:18:47 darcy Exp $

I'm pretty sure it has been in longer than that but I can't get on to at the moment to check the CVS log.

> If in fact the working system was using 1.1 of files/, I'll go
> ahead and fix files/ to use "-R..." instead of "-Wl,-R...."

But then other system will break.  Can we wait until we see exactly what
the difference is before we change it?

D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.