Hi Michael -- Thanks for your reply. Also thanks for your excellent Sybase modules! I don't know if you remember, but you really helped me out a few months ago with a different Sybase issue for another project -- so, thanks again!
I've tried your suggestion, but was unable to solve the problem. Details follow: > On Wed, 2003-03-19 at 06:19, Jesse Erlbaum wrote: > > Hi All -- > > > > I'm having a problem trying to get a site which uses Sybase::Dblib > > working. Simply using the module will cause a segfault. > > > > $ perl -MSybase::DBlib > > Segmentation fault > > > > Using Sybase 12.5 on RedHat 7.3, i686. You responded: >> This *may* be the invalid locale problem. See >> >http://www.mbay.net/~mpeppler/Linux-ASE-FAQ.html#q1.14 This sounded like it might be the problem, because I was having a similar problem using DBD::Sybase. On my RedHat 7.3 system, $LANG is set as "en_US.iso885915". When I tried to use DBD::Sybase I would get the following: ----START----> $ perl -MDBI -e 'print DBI->connect("DBI:Sybase:server=XXXXX")' The context allocation routine failed when it tried to load localization files!! One or more following problems may caused the failure Your sybase home directory is /opt/sybase-12.5. Check the environment variable SYBASE if it is not the one you want! Using locale name "en_US.iso885915" defined in environment variable LANG Locale name "en_US.iso885915" doesn't exist in your /opt/sybase-12.5/locales/locales.dat file <----END---- As per your suggestion, I added the following line to "locales.dat": locale = en_US.iso885915, us_english, iso_1 This cleared the problem with DBD::Sybase. However, it did not clear the problem with Sybase::Dblib: $ perl -MSybase::DBlib Segmentation fault Do you have any other ideas? Thanks & warmest regards, -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226