On Thu, Mar 15, 2012 at 02:50:56PM +0000, David Brownlee wrote:
> Modified Files:This broke databases/odbc-postgresql, which dies as follows:
> pkgsrc/databases/iodbc: Makefile PLIST buildlink3.mk distinfo
> Added Files:
> pkgsrc/databases/iodbc/patches: patch-admin_Makefile.am
> patch-admin_Makefile.in patch-configure patch-configure.in
> patch-include_sqltypes.h patch-samples_Makefile.in
> Removed Files:
> pkgsrc/databases/iodbc/patches: patch-aa patch-ac
>
> Log Message:
> Also put libs in iodbc subdir, patch to ensure pkgconfigdir is not affected
> bump PKGREVISION. Test built soprano
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
*** Error code 1
which turns out to be because it's linking even its preliminary test
programs with -liodbc, and the necessary -R flags aren't being
inserted:
configure:3143: checking whether the C compiler works
configure:3153: ./a.out
Shared object "libiodbc.so.2" not found
configure:3156: $? = 1
configure:3163: error: cannot run C compiled programs.