![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
Hi all, I try to install ASE 12.5.1 (free download from sybase, developer version?) on Red Hat Advanced Server 3.0 1. When I launch './setup' as 'sybase' user, I get the following: ********************************************* 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 ********************************************** Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway, I specify the JVM location: $./setup -is:javahome /usr/java/j2sdk1.4.2_04/ |
|
2. Create database part: I got the following error in the first line of the window: " Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. " |
|
3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run ./lmgr. This is what I get: Error occurred during initialization of VM Unable to load native library: /home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference What's wrong? How can I fix this? Or do I have to fix? |
|
4. Now I try to do 'isql' (of course after source SYBASE.sh) $isql -Psa -U -SDREAMCATCHER 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 /home/sybase. Check the environment variable SYBASE if it is not the one you want! Using locale name "en_US.UTF-8" defined in environment variable LANG Locale name "en_US.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat file An error occurred when attempting to allocate localization-related structures. |
#3
| |||
| |||
|
|
On Wed, 28 Apr 2004 15:15:16 -0700, JZ wrote: Hi all, I try to install ASE 12.5.1 (free download from sybase, developer version?) on Red Hat Advanced Server 3.0 1. When I launch './setup' as 'sybase' user, I get the following: ********************************************* 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 ********************************************** Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway, I specify the JVM location: $./setup -is:javahome /usr/java/j2sdk1.4.2_04/ If you set your JAVA_HOME env. variable to /usr/java/j2sdk1.4.2_04 it'll work fine. 2. Create database part: I got the following error in the first line of the window: " Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. " This is just a warning, which you can ignore. The system works fine. 3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run ./lmgr. This is what I get: Error occurred during initialization of VM Unable to load native library: /home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference What's wrong? How can I fix this? Or do I have to fix? Set JAVA_HOME to your 1.4.2 JVM and you should be fine. 4. Now I try to do 'isql' (of course after source SYBASE.sh) $isql -Psa -U -SDREAMCATCHER 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 /home/sybase. Check the environment variable SYBASE if it is not the one you want! Using locale name "en_US.UTF-8" defined in environment variable LANG Locale name "en_US.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat file An error occurred when attempting to allocate localization-related structures. This one is more annoying. Sybase doesn't include entries in it's locales.dat file for the default locale that RHAS 3.x uses. You can fix this fairly easily by editing the locales.dat file and adding the appropriate line in the [linux] section. See also the FAQ for ASE on linux at http://www.peppler.org/FAQ/linux.html. Michael |
#4
| |||
| |||
|
|
Hi all, I try to install ASE 12.5.1 (free download from sybase, developer version?) on Red Hat Advanced Server 3.0 1. When I launch './setup' as 'sybase' user, I get the following: ********************************************* 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 ********************************************** Well, I DO have J2SE 1.4.2 installed (as RPM) in this machine. Anyway, I specify the JVM location: $./setup -is:javahome /usr/java/j2sdk1.4.2_04/ Now the software installation is fine How did this happen? 2. Create database part: I got the following error in the first line of the window: " Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. " But sybase continued to create database without further problems, and I did see it's done successfully in the last window. Is this error serious? 3. Now I source 'SYBASE.sh', swicth to $SYBASE/SYSAM-1_0/bin and run ./lmgr. This is what I get: Error occurred during initialization of VM Unable to load native library: /home/sybase/shared-1_0/JRE-1_3/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference What's wrong? How can I fix this? Or do I have to fix? 4. Now I try to do 'isql' (of course after source SYBASE.sh) $isql -Psa -U -SDREAMCATCHER 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 /home/sybase. Check the environment variable SYBASE if it is not the one you want! Using locale name "en_US.UTF-8" defined in environment variable LANG Locale name "en_US.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat file An error occurred when attempting to allocate localization-related structures. Then I 'unset LANG', now I am really able to log in from isql. Is this normal? I installed sybase on the same machine with the same OS by using the same sybase CD before, and I didn't get the problem No.1 and 3. Isn't strange? Why this happens? Thanks for any comments. |
![]() |
| Thread Tools | |
| Display Modes | |
| |