strk@refractions.net writes:
> I'm having troubles building postgis HEAD on freebsd
> using the new autoconf-based scripts.
FreeBSD which, exactly? It makes a difference, because AFAICS from
configure newer versions of FreeBSD use ELF, and the link switches
are different then.
> The Makefile.shlib file copied by pgsql sources
> adds a -Bforcearchive flag to LINK.shared with
> arch is freebsd, but the flag seems to be
> unsupported (this is from 7.2.1 to 8.0.0)
> Weird enough PostgreSQL build works fine
> (no -Bforcearchive flag used)
You need to figure out why the applied switches are different for your
build than for the main build --- they really should not be. Are you
sure you're picking up the same copy of Makefile.global?
regards, tom lane