FW: [freetds] Compiling on FreeBSD without ICONV

Lowden, James K LowdenJK at bernstein.com
Mon Jun 9 13:37:46 EDT 2003

> From: Alan Pettigrew [mailto:freetds at pettigrew.fsnet.co.uk]
> Sent: June 9, 2003 11:52 AM
> I had to add libraries libbind_r and libc_r 
> before it would build, but it is now there.

I should have mentioned that the default is now multithreaded, too, which of
course is why you're pulling in the _r libraries.  Apparently FreeTDS can be
compiled for with multithreaded support for FreeBSD, which is good, but it
seems we are not automatically linking in all the required libraries, which
isn't.  :-(  I wonder how we should fix that.  Do you know?  

For singlethreaded programs, we don't normally mention libc; it's included
among the linker's default libraries.  Is the usual practice for
multithreaded programs in FreeBSD to mention libc_r explicitly, or is there
some shortcut that says "do the multithreaded thing"?  

Either way, it looks like we'll have to adjust configure.in to generate a
configure script that will work out of the box for FreeBSD.   

Thanks for the pr, Alan.  


The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.

More information about the FreeTDS mailing list