Topic
  • 17 replies
  • Latest Post - ‏2009-01-12T18:30:46Z by rchase
TorstenGrust
TorstenGrust
7 Posts

Pinned topic Mac OS X - Compiling/running a 32-bit application: Bus Error

‏2009-01-05T23:25:26Z |
Dear all,

I have installed DB2 Express V9.5.2beta on my Mac OS X 10.5.6 setup and the DBMS appears to work like it should – the SAMPLE database (db2sampl) works just fine, for example.

Also, compiling, linking, and running the following mini CLI application with the 64-bit DB2 libraries via

gcc -arch x86_64 -I/Users/db2inst1/sqllib/include -L/Users/db2inst1/sqllib/lib64 -ldb2 -o mini mini.c

poses no problems at all:

#include "sqlcli1.h"

SQLHANDLE henv;
SQLHANDLE conn;

int main(void)
{
SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &henv);
SQLAllocHandle(SQL_HANDLE_DBC, henv, &conn);
SQLConnect(conn,(SQLCHAR*)"db", SQL_NTS, (SQLCHAR*)"user", SQL_NTS, (SQLCHAR*)"pwd", SQL_NTS);
}

Now, if I choose to link against the 32-bit DB2 libraries (note: different -arch, different library directory), via

gcc -arch i386 -I/Users/db2inst1/sqllib/include -L/Users/db2inst1/sqllib/lib32 -ldb2 -o mini mini.c

execution yields a 'Bus Error' in SQLConnect().

(1) Is this the correct way to compile/link against the 32-bit libraries?
(2) I observe the 'Bus Error' behavior also when I install and test-drive IBM 'ibm_db' (version 1.0.1) Ruby gem (Bus Error in IBM_DB.connect()). In this particular case, going 64-bit is no (easy) option since the Mac OS X /usr/bin/ruby interpreter runs as an 32-bit application.

Am I completely off the track here? Or has somebody else observed this behavior/problem?

I am grateful for any hint or insight.

Thanks and best wishes for 2009,
--Torsten
Updated on 2009-01-12T18:30:46Z at 2009-01-12T18:30:46Z by rchase
  • TorstenGrust
    TorstenGrust
    7 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-06T21:19:54Z  
    Following up on myself...

    The db2diag.log provides some insight into what might go wrong with the 32-bit CLI application. When I execute the application, db2diag.log says

    2009-01-06-22.11.13.844971+060 I44679G1150 LEVEL: Error
    PID : 32716 TID : 2691876640 PROC : ferry
    INSTANCE: db2inst1 NODE : 000
    FUNCTION: DB2 Common, Cryptography, cryptContextRealInit, probe:40
    MESSAGE : ECF=0x90000403=-1879047165=ECF_CRYPT_UNEXPECTED_ERROR
    Unexpected cryptographic error
    DATA #1 : Hex integer, 4 bytes
    0x00000004
    DATA #2 : Hex integer, 4 bytes
    0x00000002
    DATA #3 : Hex integer, 4 bytes
    0x00000000
    DATA #4 : String, 84 bytes
    dlopen(/Users/db2inst1/sqllib/lib32/icc/icclib/libicclib.dylib, 10): image not found
    CALLSTCK:
    [0] 0x002CD4CF ossLogSysRC + 0x18D
    [1] 0x002CE9F1 ossLog + 0x53
    [2] 0x011242FA cryptContextRealInit. + 0x27C
    [3] 0x01123E76 cryptContextCheckAndInit + 0x5E
    [4] 0x0112283D cryptEncryptInit. + 0x59
    [5] 0x01121479 cryptEncryptBuffer + 0x31
    [6] 0x016E8A5C _Z18sqlexClientEncPassP14db2UCinterfacePcjS1_Pj. + 0x102
    [7] 0x016CE6BE _Z22sqleuClientSetPasswordP14db2UCconHandleiPcj + 0xB8
    [8] 0x011881DB _Z14CLI_sqlConnectP15CLI_CONNECTINFOP5sqlcaP19CLI_ERRORHEADERINFO + 0xAA3
    [9] 0x0115DDDE _Z11SQLConnect2P15CLI_CONNECTINFOPhsS1_sS1_sS1_sh + 0x7FC

    (Executing the Ruby IBM_DB.connect() method produces an almost identical log entry, by the way.)

    Indeed, the mentioned libicclib.dylib is not present at all. There isn't even a icc/icclib subdirectory below sqllib/lib32. Under sqllib/lib64, however, I can find the required dynamic librarry libicclib.dylib (and everything works fine in the 64-bit case as mentioned before).

    I dug deep into the db2exc_952beta_MAC_x86_64.tar.gz and db2exc_client_952beta_MAC_x86_64.tar.gz files (and the contained tar archives) and can only find the sqllib/lib64/icc directory and its contents. No sqllib/lib32/icc directory at all. Does everybody else here have the sqllib/lib32/icc directory?

    Hmm…

    Thanks again,
    --Torsten
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-06T22:03:19Z  
    Following up on myself...

    The db2diag.log provides some insight into what might go wrong with the 32-bit CLI application. When I execute the application, db2diag.log says

    2009-01-06-22.11.13.844971+060 I44679G1150 LEVEL: Error
    PID : 32716 TID : 2691876640 PROC : ferry
    INSTANCE: db2inst1 NODE : 000
    FUNCTION: DB2 Common, Cryptography, cryptContextRealInit, probe:40
    MESSAGE : ECF=0x90000403=-1879047165=ECF_CRYPT_UNEXPECTED_ERROR
    Unexpected cryptographic error
    DATA #1 : Hex integer, 4 bytes
    0x00000004
    DATA #2 : Hex integer, 4 bytes
    0x00000002
    DATA #3 : Hex integer, 4 bytes
    0x00000000
    DATA #4 : String, 84 bytes
    dlopen(/Users/db2inst1/sqllib/lib32/icc/icclib/libicclib.dylib, 10): image not found
    CALLSTCK:
    [0] 0x002CD4CF ossLogSysRC + 0x18D
    [1] 0x002CE9F1 ossLog + 0x53
    [2] 0x011242FA cryptContextRealInit. + 0x27C
    [3] 0x01123E76 cryptContextCheckAndInit + 0x5E
    [4] 0x0112283D cryptEncryptInit. + 0x59
    [5] 0x01121479 cryptEncryptBuffer + 0x31
    [6] 0x016E8A5C _Z18sqlexClientEncPassP14db2UCinterfacePcjS1_Pj. + 0x102
    [7] 0x016CE6BE _Z22sqleuClientSetPasswordP14db2UCconHandleiPcj + 0xB8
    [8] 0x011881DB _Z14CLI_sqlConnectP15CLI_CONNECTINFOP5sqlcaP19CLI_ERRORHEADERINFO + 0xAA3
    [9] 0x0115DDDE _Z11SQLConnect2P15CLI_CONNECTINFOPhsS1_sS1_sS1_sh + 0x7FC

    (Executing the Ruby IBM_DB.connect() method produces an almost identical log entry, by the way.)

    Indeed, the mentioned libicclib.dylib is not present at all. There isn't even a icc/icclib subdirectory below sqllib/lib32. Under sqllib/lib64, however, I can find the required dynamic librarry libicclib.dylib (and everything works fine in the 64-bit case as mentioned before).

    I dug deep into the db2exc_952beta_MAC_x86_64.tar.gz and db2exc_client_952beta_MAC_x86_64.tar.gz files (and the contained tar archives) and can only find the sqllib/lib64/icc directory and its contents. No sqllib/lib32/icc directory at all. Does everybody else here have the sqllib/lib32/icc directory?

    Hmm…

    Thanks again,
    --Torsten
    I am having the same problem - the ruby driver fails at connect time as I am missing the entire icc/icclib directory under lib32 as well. I have tried reinstalling DB2 but I haven't had any luck with that - I couldn't find the lib32 subdirectories in the tar archives as well.
  • rubyonrails
    rubyonrails
    12 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T04:31:14Z  
    Hi guys,

    I have a couple of questions for you:

    1) When did you download DB2 for Mac OS X?
    2) Have you already tried to run the shell script located here: http://antoniocangiano.com/files/fixlib.sh ?

    Thanks in advance,
    Antonio
    --
    Antonio Cangiano
    IBM Toronto Lab
    My Ruby blog: http://antoniocangiano.com
  • TorstenGrust
    TorstenGrust
    7 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T09:33:34Z  
    Hi guys,

    I have a couple of questions for you:

    1) When did you download DB2 for Mac OS X?
    2) Have you already tried to run the shell script located here: http://antoniocangiano.com/files/fixlib.sh ?

    Thanks in advance,
    Antonio
    --
    Antonio Cangiano
    IBM Toronto Lab
    My Ruby blog: http://antoniocangiano.com
    Hi Antonio,

    thanks for your reply.

    Ad 1) My latest download and install dates back to January 5.

    Ad 2) As I understood it, the fixlib.sh script fixed library naming issues for earlier versions of the download package, is this correct?

    Anyway, looking at the script (which effectively performs a number of install_name_tool invocations) there is no indication that this could fix the missing sqllib/lib32/icc directory issue. Indeed, running fixlib.sh does not help.

    Do you have the sqllib/lib32/icc subdirectory and contents, Antonio? (I guess you have, since you were successfully using the ibm_db gem -- that makes the missing directory issue appear even weirder to me.)

    Thanks again,
    --Torsten
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T14:45:11Z  
    Hi Antonio,

    thanks for your reply.

    Ad 1) My latest download and install dates back to January 5.

    Ad 2) As I understood it, the fixlib.sh script fixed library naming issues for earlier versions of the download package, is this correct?

    Anyway, looking at the script (which effectively performs a number of install_name_tool invocations) there is no indication that this could fix the missing sqllib/lib32/icc directory issue. Indeed, running fixlib.sh does not help.

    Do you have the sqllib/lib32/icc subdirectory and contents, Antonio? (I guess you have, since you were successfully using the ibm_db gem -- that makes the missing directory issue appear even weirder to me.)

    Thanks again,
    --Torsten
    Thank you very much for your persistence and debugging on this problem Torsten!

    I am unable to reproduce the bus error on our development machines in the lab regardless of what changes I make to the sqllib/lib32/icc/icclib/libicclib.dylib - ie. I've tried removing it and renaming it to libicclib.so, still the CLI C program you posted above works fine with no bus error.

    One noteworthy point is that the machine I'm using is 10.5.5 and Torsten you're using 10.5.6 - I wonder if there is a difference there causing this problem? Torsten are you able to try on a 10.5.5 machine?

    Dan
    IBM DB2 Development
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T14:48:43Z  
    Thank you very much for your persistence and debugging on this problem Torsten!

    I am unable to reproduce the bus error on our development machines in the lab regardless of what changes I make to the sqllib/lib32/icc/icclib/libicclib.dylib - ie. I've tried removing it and renaming it to libicclib.so, still the CLI C program you posted above works fine with no bus error.

    One noteworthy point is that the machine I'm using is 10.5.5 and Torsten you're using 10.5.6 - I wonder if there is a difference there causing this problem? Torsten are you able to try on a 10.5.5 machine?

    Dan
    IBM DB2 Development
    I just had another thought. ICC is IBM Crypto for C. Torsten, after installing and creating an instance, did you make any configuration changes that might require the use of encryption? In my repro attempts, I'm not making any config changes therefore libicc may not be required thus no failure for me.

    Dan
    IBM DB2 Development
  • TorstenGrust
    TorstenGrust
    7 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T15:12:38Z  
    I just had another thought. ICC is IBM Crypto for C. Torsten, after installing and creating an instance, did you make any configuration changes that might require the use of encryption? In my repro attempts, I'm not making any config changes therefore libicc may not be required thus no failure for me.

    Dan
    IBM DB2 Development
    Hi Dan,

    no, I did not touch any configuration switches. After I create the instance with
    db2icrt -u db2inst1 db2inst1,

    (1) I create a test database, then
    (2) populate a test table and then
    (3) directly try to run the above shown CLI program.

    To be honest, I wouldn't know how to enable/disable encryption-related behavior in
    DB2 V9. Is there a setting I should check or reset?

    Best wishes,
    --Torsten
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T15:21:33Z  
    I just had another thought. ICC is IBM Crypto for C. Torsten, after installing and creating an instance, did you make any configuration changes that might require the use of encryption? In my repro attempts, I'm not making any config changes therefore libicc may not be required thus no failure for me.

    Dan
    IBM DB2 Development
    My system is also on 10.5.6 (OS X Server) with this problem - I did an ordinary "Typical" install of DB2, let the install process create the instance, created a standard database (the only optional parameter I supplied was a pagesize of 16384), did no tuning or configuration to the database or database manager, and ruby will not connect giving the following error.
    2009-01-07-09.15.48.362740-360 I7534208G1149 LEVEL: Error
    PID : 80052 TID : 2686039840 PROC : ruby
    INSTANCE: db2inst1 NODE : 000
    FUNCTION: DB2 Common, Cryptography, cryptContextRealInit, probe:40
    MESSAGE : ECF=0x90000403=-1879047165=ECF_CRYPT_UNEXPECTED_ERROR
    Unexpected cryptographic error
    DATA #1 : Hex integer, 4 bytes
    0x00000004
    DATA #2 : Hex integer, 4 bytes
    0x00000002
    DATA #3 : Hex integer, 4 bytes
    0x00000000
    DATA #4 : String, 84 bytes
    dlopen(/Users/db2inst1/sqllib/lib32/icc/icclib/libicclib.dylib, 10): image not found
    CALLSTCK:
    [0] 0x027904CF ossLogSysRC + 0x18D
    [1] 0x027919F1 ossLog + 0x53
    [2] 0x010092FA cryptContextRealInit. + 0x27C
    [3] 0x01008E76 cryptContextCheckAndInit + 0x5E
    [4] 0x0100783D cryptEncryptInit. + 0x59
    [5] 0x01006479 cryptEncryptBuffer + 0x31
    [6] 0x015CDA5C _Z18sqlexClientEncPassP14db2UCinterfacePcjS1_Pj. + 0x102
    [7] 0x015B36BE _Z22sqleuClientSetPasswordP14db2UCconHandleiPcj + 0xB8
    [8] 0x0106D1DB _Z14CLI_sqlConnectP15CLI_CONNECTINFOP5sqlcaP19CLI_ERRORHEADERINFO + 0xAA3
    [9] 0x01042DDE _Z11SQLConnect2P15CLI_CONNECTINFOPhsS1_sS1_sS1_sh + 0x7FC
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T15:22:53Z  
    Hi Dan,

    no, I did not touch any configuration switches. After I create the instance with
    db2icrt -u db2inst1 db2inst1,

    (1) I create a test database, then
    (2) populate a test table and then
    (3) directly try to run the above shown CLI program.

    To be honest, I wouldn't know how to enable/disable encryption-related behavior in
    DB2 V9. Is there a setting I should check or reset?

    Best wishes,
    --Torsten
    Setting the AUTHENTICATION and/or SRVCON_AUTH dbm cfg params to SERVER_ENCRYPT should force the use of icc, however I've played with that too and still cannot repro the bus error.

    I'm continuing to poke around.... Back to wondering if its a difference between 10.5.5 and 10.5.6.

    Dan
    IBM DB2 Development
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T15:58:47Z  
    My system is also on 10.5.6 (OS X Server) with this problem - I did an ordinary "Typical" install of DB2, let the install process create the instance, created a standard database (the only optional parameter I supplied was a pagesize of 16384), did no tuning or configuration to the database or database manager, and ruby will not connect giving the following error.
    2009-01-07-09.15.48.362740-360 I7534208G1149 LEVEL: Error
    PID : 80052 TID : 2686039840 PROC : ruby
    INSTANCE: db2inst1 NODE : 000
    FUNCTION: DB2 Common, Cryptography, cryptContextRealInit, probe:40
    MESSAGE : ECF=0x90000403=-1879047165=ECF_CRYPT_UNEXPECTED_ERROR
    Unexpected cryptographic error
    DATA #1 : Hex integer, 4 bytes
    0x00000004
    DATA #2 : Hex integer, 4 bytes
    0x00000002
    DATA #3 : Hex integer, 4 bytes
    0x00000000
    DATA #4 : String, 84 bytes
    dlopen(/Users/db2inst1/sqllib/lib32/icc/icclib/libicclib.dylib, 10): image not found
    CALLSTCK:
    [0] 0x027904CF ossLogSysRC + 0x18D
    [1] 0x027919F1 ossLog + 0x53
    [2] 0x010092FA cryptContextRealInit. + 0x27C
    [3] 0x01008E76 cryptContextCheckAndInit + 0x5E
    [4] 0x0100783D cryptEncryptInit. + 0x59
    [5] 0x01006479 cryptEncryptBuffer + 0x31
    [6] 0x015CDA5C _Z18sqlexClientEncPassP14db2UCinterfacePcjS1_Pj. + 0x102
    [7] 0x015B36BE _Z22sqleuClientSetPasswordP14db2UCconHandleiPcj + 0xB8
    [8] 0x0106D1DB _Z14CLI_sqlConnectP15CLI_CONNECTINFOP5sqlcaP19CLI_ERRORHEADERINFO + 0xAA3
    [9] 0x01042DDE _Z11SQLConnect2P15CLI_CONNECTINFOPhsS1_sS1_sS1_sh + 0x7FC
    Ok, I've repro'd this now after debugging through gdb. I could see that libicclib.dylib was getting picked up from somewhere else in my development environment. Then I could see that my DYLD_LIBRARY_PATH had sqllib/lib set in it (duh) - I changed that to sqllib/lib32 and voila - bus error! So, then by ensuring that sqllib/lib32/icc/icclib/libicclib.dylib is there, I no longer get the bus error.

    We are repackaging a new image that includes this library - it should be available for download soon.

    Thanks for you patience!

    Dan
    IBM DB2 Development
  • TorstenGrust
    TorstenGrust
    7 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T16:07:26Z  
    Thank you very much for your persistence and debugging on this problem Torsten!

    I am unable to reproduce the bus error on our development machines in the lab regardless of what changes I make to the sqllib/lib32/icc/icclib/libicclib.dylib - ie. I've tried removing it and renaming it to libicclib.so, still the CLI C program you posted above works fine with no bus error.

    One noteworthy point is that the machine I'm using is 10.5.5 and Torsten you're using 10.5.6 - I wonder if there is a difference there causing this problem? Torsten are you able to try on a 10.5.5 machine?

    Dan
    IBM DB2 Development
    I just did a quick install on a 10.5.5 machine and I observe the exact same behavior.

    Many thanks for your instant replies,
    --Torsten
  • TorstenGrust
    TorstenGrust
    7 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T16:09:59Z  
    Ok, I've repro'd this now after debugging through gdb. I could see that libicclib.dylib was getting picked up from somewhere else in my development environment. Then I could see that my DYLD_LIBRARY_PATH had sqllib/lib set in it (duh) - I changed that to sqllib/lib32 and voila - bus error! So, then by ensuring that sqllib/lib32/icc/icclib/libicclib.dylib is there, I no longer get the bus error.

    We are repackaging a new image that includes this library - it should be available for download soon.

    Thanks for you patience!

    Dan
    IBM DB2 Development
    Woah, that, too, was quick! Thanks for looking into this, Dan.

    I am looking forward to happy DB2/Ruby days on Mac OS X.

    Cheers,
    --Torsten
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: Mac OS X - Compiling/running a 32-bit application: Bus Error

    ‏2009-01-07T21:32:54Z  
    Woah, that, too, was quick! Thanks for looking into this, Dan.

    I am looking forward to happy DB2/Ruby days on Mac OS X.

    Cheers,
    --Torsten
    Hi Torsten,
    I'm on the same team as Dan. Could you please send me the CrashReporter trap file? It should be in /Library/Logs/CrashReporter, and in a file whose name matches your test program. For example, if the test program is named "mini", then the file should begin with "mini" as well. If you could send the file to wjyoung@ca.ibm.com, that would help confirm we are fixing the problem you are seeing.

    Thanks,
    Wayne.
  • SystemAdmin
    SystemAdmin
    5837 Posts

    workarounds (was Re: Mac OS X - Compiling/running a 32-bit app...)

    ‏2009-01-12T09:44:44Z  
    Ok, I've repro'd this now after debugging through gdb. I could see that libicclib.dylib was getting picked up from somewhere else in my development environment. Then I could see that my DYLD_LIBRARY_PATH had sqllib/lib set in it (duh) - I changed that to sqllib/lib32 and voila - bus error! So, then by ensuring that sqllib/lib32/icc/icclib/libicclib.dylib is there, I no longer get the bus error.

    We are repackaging a new image that includes this library - it should be available for download soon.

    Thanks for you patience!

    Dan
    IBM DB2 Development
    A workaround is to link/copy libraries expected in $dbinst1/sqllib/lib32 from $db2home/V95/lib32.

    The problem addressed by Cangiano's (?) script `fixlib.sh' reappears after installing db2exc_client_952beta_MAC_x86_64.tar (as of 12 Jan 2009). To work around this, reinstall db2exc_952beta_MAC_x86_64.tar.

    I also noticed that after installing Java 1.6 on Mac OS X, /usr/bin/java still points to Java 1.5. So to use 1.6, I had to add fix /Library/Java/Home/bin to point to 1.6 and then add it to the beginning of my PATH (thereby avoiding /usr/bin/java).

    Finally, attached is a patch to Ruby DB2 driver ibm_db-1.01 for Ruby1.9 (not backwards compatible w/ Ruby1.8).

    Enjoying DB2 for Mac OS X!! Thank you!
  • TorstenGrust
    TorstenGrust
    7 Posts

    Re: workarounds (was Re: Mac OS X - Compiling/running a 32-bit app...)

    ‏2009-01-12T09:54:07Z  
    A workaround is to link/copy libraries expected in $dbinst1/sqllib/lib32 from $db2home/V95/lib32.

    The problem addressed by Cangiano's (?) script `fixlib.sh' reappears after installing db2exc_client_952beta_MAC_x86_64.tar (as of 12 Jan 2009). To work around this, reinstall db2exc_952beta_MAC_x86_64.tar.

    I also noticed that after installing Java 1.6 on Mac OS X, /usr/bin/java still points to Java 1.5. So to use 1.6, I had to add fix /Library/Java/Home/bin to point to 1.6 and then add it to the beginning of my PATH (thereby avoiding /usr/bin/java).

    Finally, attached is a patch to Ruby DB2 driver ibm_db-1.01 for Ruby1.9 (not backwards compatible w/ Ruby1.8).

    Enjoying DB2 for Mac OS X!! Thank you!
    Hi,

    please note that the IBM on Mac OS X development team has since prepared a new version of the DB2 download package that, for me at least, works just right out of the box. (I guess the team will post a note in this forum.)

    Thanks to the team for their quick and very helpful responses.

    Cheers,
    --Torsten
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: workarounds (was Re: Mac OS X - Compiling/running a 32-bit app...)

    ‏2009-01-12T17:12:27Z  
    Hi,

    please note that the IBM on Mac OS X development team has since prepared a new version of the DB2 download package that, for me at least, works just right out of the box. (I guess the team will post a note in this forum.)

    Thanks to the team for their quick and very helpful responses.

    Cheers,
    --Torsten
    There are at least two packages named "db2exc_952beta_MAC_x86_64.tar.gz". The current one works fine for me as well. There are also two packages named "db2exc_client_952beta_MAC_x86_64.tar.gz". I think the current one is still problematic (proposed workaround: install the client package first).

    Suggestion: Naming each new package uniquely (e.g., beta1, beta2, etc.) would be helpful.
  • rchase
    rchase
    364 Posts

    Re: workarounds (was Re: Mac OS X - Compiling/running a 32-bit app...)

    ‏2009-01-12T18:30:46Z  
    There are at least two packages named "db2exc_952beta_MAC_x86_64.tar.gz". The current one works fine for me as well. There are also two packages named "db2exc_client_952beta_MAC_x86_64.tar.gz". I think the current one is still problematic (proposed workaround: install the client package first).

    Suggestion: Naming each new package uniquely (e.g., beta1, beta2, etc.) would be helpful.
    Hello folks,

    Yes, as Torsten mentioned, we uploaded new images on friday that fix the problem. We updated both the client (db2exc_client_952beta_MAC_x86_64.tar.gz) and server (db2exc_952beta_MAC_x86_64.tar.gz). Grab these new images, they should work without any necessary workarounds.

    The db2level information is the same on these new images (I just patched the existing build instead of doing a new one), but you can verify that you have the latest images using filesizes or md5 sums info. Here's the info for the new images:

    New md5 sums:
    MD5 (db2exc_952beta_MAC_x86_64.tar.gz) = 93d7c0d29c9c172b564f62c1842b8a16
    MD5 (db2exc_client_952beta_MAC_x86_64.tar.gz) = 399428681e93e91cf493e4f8f8bd635d

    filesizes:
    -rw-r--r-- 1 root rchase 147811262 Jan 9 15:20 db2exc_952beta_MAC_x86_64.tar.gz
    -rw-r--r-- 1 root rchase 87224206 Jan 9 15:22 db2exc_client_952beta_MAC_x86_64.tar.gz

    Ryan Chase
    DB2 Express Community team
    DB2 Express-C home page: http://www.ibm.com/db2/express
    Download DB2 Express-C for free: http://www.ibm.com/db2/express/download.html