[freetds] building on solaris

James K. Lowden jklowden at schemamania.org
Sun Jun 13 19:25:21 EDT 2004

I need a little input from the Solaris folks.  

There's a section early in configure.in that sets per-OS default
configuration options.  We've had a little trouble with Solaris lately,
because it requires additional libraries to be linked in, and because its
built-in libiconv isn't suitable.  I wonder if we should add something
like this to that:

# ------------------------------------------------------------
# Host-specific configuration
# ------------------------------------------------------------
case $host in
    CPPFLAGS="$CPPFLAGS -lsocket -lnsl"

The question is, Is that name pattern correct?  The answer lies in what's
reported by "config.guess" in the source distribution.  On my box, it does

	$ ./config.guess

If I wanted to test for that, I'd probably use:

If you had trouble linking FreeTDS on Solaris lately, perhaps you could
tell us what config.guess shows?  And, while we're at it, what libraries
did you add to your linker flags?  

Thanks very much.  

Your ever humble maintainer, 


More information about the FreeTDS mailing list