Bruce Momjian writes:
> > The -Bsymbolic switch is the same on all platforms that have it. You can
> > link without it, but then you won't actually be able to use the ODBC
> > driver. It seems like you need to link in a few other libraries to
> > resolve all symbols.
>
> OK, if this is true on all platforms, why isn't -lc needed?
Theory 1: Many other platforms use the compiler driver ([g]cc) to link
shared libraries. That makes all the right things happen. Most likely
this should happen on a lot more platforms that currently use ld directly.
Theory 2: Not many people have tried to build the ODBC driver on
non-mainstream platforms.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/