If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > IDS 9.30 RPM Install On Redhat 8.0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-03, 12:30
stevetucknott stevetucknott is offline
Registered User
 
Join Date: Jan 2003
Posts: 19
IDS 9.30 RPM Install On Redhat 8.0

We have a problem installing IDS 9.30.UC3 on Redhat 8 - the RPM installer keeps saying our install directory is incorrect. It would appear that there's a problem with $RPM_INSTALL_PREFIX in the RPM package - has anyone got a fix? (We tried manually setting RPM_INSTALL_PREFIX to $INFORMIXDIR before running RPM, but that just pushed the problem further down the chain). RPM was being run as:
rpm -ivh --relocate /opt/informix=$INFORMIXDIR *.rpm

From the SERVER directory on the install CD.
Reply With Quote
  #2 (permalink)  
Old 02-24-03, 04:30
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Hi,

This is a known issue:

Bug: 158974 RPM INSTALLATION USING RELOCATE OPTION FAILS ON REDHAT LINUX V8 {NBS}

Workaround: 8881
You can only install in /opt/informix also set
RPM_INSTALL_PREFIX=/opt/informix
INFORMIXDIR=/opt/informix


Try using /opt/informix as a symbolic link. Maybe that works.
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 02-24-03, 04:34
stevetucknott stevetucknott is offline
Registered User
 
Join Date: Jan 2003
Posts: 19
Thanks for the prompt reply. At least it's not us doing something wrong..any problem with installing in /opt/informix and then copying the resultant structure over our 'usual' Informix directory structure?
Reply With Quote
  #4 (permalink)  
Old 02-24-03, 04:41
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
In version 9.30, a lot of symbolic links in the /usr/lib directory point to the $INFORMIXDIR/lib.

You can always try to change them in a test environment. I never tried it.

The next version, 9.40 will install all libraries in $INFORMIXDIR/lib, no symbolic links in /usr/lib directory.
Coming out end of March...
__________________
rws
Reply With Quote
  #5 (permalink)  
Old 02-25-03, 13:00
stevetucknott stevetucknott is offline
Registered User
 
Join Date: Jan 2003
Posts: 19
Installed all informix in /opt/informix

After doing the above we now get the following error when running ONMONITOR. The error appears to be a graphical error. We also tried a straign ONINIT and got a different error.

ONMONITOR
onmonitor: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory

ONINIT returns
oninit: relocation error: /var/lib/libpthread.so.0: symbol __on_exit, version GLIBC_2.0 not defined in file libc.so.6 with link time reference .
We got round the first one by linking libncurses.so.5 to libncurses.so.4 in /usr/lib, but that gave us unpredicatble keystroke problems (escape had to be hit twice sometimes). But this still gave us the ONINIT error at the end.
Reply With Quote
  #6 (permalink)  
Old 02-26-03, 07:35
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
After you moved it, try running the install script again.
this script wil rebrand all executables and libraries.
__________________
rws
Reply With Quote
  #7 (permalink)  
Old 02-26-03, 10:46
stevetucknott stevetucknott is offline
Registered User
 
Join Date: Jan 2003
Posts: 19
Apologies, my explanation was not too clear.

We elected not to move the code. Instead we installed all of our Informix products in /opt/informix (given that we couldn't redirect the install of the engine, we decided to reinstall the 4gl and sql in the same location). So now we have 4gl,sql and IDS in /opt/informix - all installed without a hitch.
The problem now appears to be running (initializing) the engine. If we try to use onmonitor we get a problem with libncurses.so.4 not being available. If we then symbolically link libncurses.so.4 to libncurses.so.5, onmonitor 'pseudo' works ok, apart from it ignore the first press of the Esc key and the menu bar navigation is also limited. If we go all the way through to the end of the onmonitor session (soemtimes having to press the Esc key twice, or the Esc key followed by any other key), we eventually get the GLIBC error as onmonitor tries to initialize the database.
If we go straight to initialization (by manually modifying the onconfig params) via oninit, we get the GLIBC error straight away (hardly surprising really).
Is that any clearer - you wouldn't believe that English was my mother tongue would you?
Reply With Quote
  #8 (permalink)  
Old 09-25-03, 02:51
plopezj plopezj is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
Hi

i have the same problem with the glib in other forum says that you can rename libifxpthread.so to libifxpthread.so.old but later i do that i have the problem when "the Bringing up ADM VP..." the oninit crash and no do more
other solution for this !?

Thanks you.
Reply With Quote
  #9 (permalink)  
Old 09-25-03, 06:04
dananio dananio is offline
Registered User
 
Join Date: Mar 2002
Posts: 112
Re

You have to create libpthread.so
(check for sure by ldd $INFORMIXDIR/bin/oninit)
from libifxpthread.so.1 to /var/lib/i686/libpthread.so.1
the place I'm not sure but re link to use Linux own
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On