Running a 32 bit ASE executable with a 64 bit chip

From SybaseWiki
Revision as of 19:56, 14 June 2007 by Psap (Talk | contribs)

Jump to: navigation, search

To install and run Sybase ASE 32 bit Linux version on a 64 bit chip (for instance AMD64), follow these guidelines.

When you install ASE with "./setup -console" you might get this message:

InstallShield Wizard

Initializing InstallShield Wizard...

Searching for Java(tm) Virtual Machine...
..................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>

To work around this you need to put ld-linux.so.2 in /lib.

Retrieve it from some internet resource, or for the 2.6.16 kernel get it here: http://www.petersap.nl/documents/ld-linux.so.2 (Ubuntu)

You also need these 32 bit libraries too:

libaio.so.1
libaudit.so.0
libc.so.6
libdl.so.2
libgcc_s.so.1
libm.so.6
libnsl.so.1
libnss_dns.so.2
libnss_files.so.2
libpam.so.0
libpthread.so.0
libresolv.so.2
librt.so.1
libstdc++.so.5

Please note that the usage of libaio.so.1 is only required after ASE 15.0.2

To retrieve all these files just build a Linux server on that old 32 bit box, download and install all the required libraries, and then copy them over to the 64 bit server. Best approach is to put all these files in a separate directory and just add this directory to LD_LIBRARY_PATH.