[freetds] AIX 5.2 core dump problem with freetds.

Putnam, Denis Denis_Putnam at troweprice.com
Thu Jul 3 16:49:30 EDT 2008


Hi James,

Thank you very much for your help.

Just to recap what needed to be done for AIX, I did the following:

1.	Download and install the latest version of libtool.
2.	Download and install the latest version of the GNU libiconv
3.	Download and install unixODBC.
4.	Download and configure the freetds software.
5.	Run make.
6.	Copy the latest libtool into the freetds-<vers> directory.
7.	Run make clean, make, and make install.
8.	CD to <freetds_prefix>/lib and run ar -vx on all the *.a files
to extract the .so files. 

It might be a good idea to put these instructions on the freetds website
for the AIX platform.

Again thank you for your help.


Sincerely,
Denis Putnam


-----Original Message-----
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Thursday, July 03, 2008 11:53 AM
To: FreeTDS Development Group
Subject: Re: [freetds] AIX 5.2 core dump problem with freetds.

Putnam, Denis wrote:
> 
> I am not sure what information that you need, but I am getting a core 
> dump when I try to connect to a MSSQL 2005 server from AIX.  I a have 
> been successful with Solaris this far.  Can you point me in the right 
> direction as how to solve this?
...
> 'LC_locale_objhdl:,64,32;;'
...
> internal error: unexpected value 120 at line 5010 in file stabstring.c

> __connect_part_one(connection = 0x301ab728, driver_lib = 
> "/nfs/home4/trpapp/appd4ec/freetds.aix/lib/libtdsodbc.so.0", driver_n 
> ame = (nil), warnings = 0x2ff208a8), line 1257 in "SQLConnect.c"
> SQLConnect.SQLConnect(connection_handle = 0x301ab728, server_name = 
> "AppMaintPlatform", name_length1 = 3950, user_name = "Amp_ 
> AppSupport_rw", name_length2 = 17, authentication = "amprandw$1",
> name_length3 = 10), line 3819 in "SQLConnect.c"
> odbc_db_login6(??, ??, ??, ??, ??, ??) at 0xdc6dca6c

The error happens deep in non-FreeTDS code and seems to have something
to do with locale.  FreeTDS was developed with GNU's libiconv.  If AIX's
is very different (Solaris's is), you might be in for some surprises.  

I would configure --without-libiconv for now and see if that helps.  If
it does and you need more than basic iconv support, I'd look at the GNU
implementation unless you want to muck with the guts of encoding
conversion in FreeTDS.  

HTH.  

--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds


The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail.




More information about the FreeTDS mailing list