Solved

Informix Dynamic Server on Red Hat Linux 6.2

Posted on 2000-03-26
8
542 Views
Last Modified: 2012-08-13
Any one encounter the following message when attempting to execute the oninit?

oninit: error in loading shared libraries: iosm09a.so: cannot open shared object file: No such file or directory

The file exists in the proper directory.  I have set the LD_LIBRARY_PATH to the $INFORMIXDIR/lib path.  

Is LD_LIBRARY_PATH the correct environment variable?
0
Comment
Question by:blhelm
  • 5
  • 2
8 Comments
 

Expert Comment

by:chsoh
ID: 2678819
I am not sure for Linux,
But I know the Solaris using LIBPATH instead of LD_LIBRARY_PATH
you can try out....

good luck
0
 
LVL 1

Expert Comment

by:Randyb
ID: 2704721
We have run into this exact problem everytime we rebuild our SAP systems. The work around we have found is a dynamic link as follows:

cd /usr/lib
ln -s $INFORMIXDIR/lib/ismdd07b.so ismdd07b.so

of course you would replace the 7 with a 9 for your version.

We have found that this works every time, if the file already exists (as a LINK) in /usr/lib ...delete it and re-link it.

Give it a shot...not much of a risk by creating a new link.

Good Luck

Randy
0
 
LVL 1

Expert Comment

by:Randyb
ID: 2704728
PS ...if $INFORMIXDIR isn't a defined variable just replace it with the correct lib path.

cya
0
 
LVL 1

Expert Comment

by:Randyb
ID: 2704738
ooopss...sorry ... so many message I know.

I should have just typed using your exact example ...just replace the ism file name with yours ...not only the 7 is wrong in my example... details details I know but wanted to be clear.

R.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Expert Comment

by:Randyb
ID: 2705453
Hey I cant just leave well enough alone right !

besides the above you would also want to verify that the permissions are set correctly on this file (and link).

the $INFORMIXDIR/lib/ism/iosm09a.so file should be set as follows:

Owner: informix
Group: Informix
Mode: rwxr-xr-x

SO to be complete ...all in one message ..

cd /usr/lib (AS USER ROOT)
ln -s $INFORMIXDIR/lib/iosm09a.so  iosm09a.so

at this point the perms on the linked files in /usr/lib should be
owner:root
group: other
mode: 777 (rwx across the board)

cd $INFORMIXDIR/lib
chown informix  iosm09a.so
chgrp informix  iosm09a.so
chmod 755  iosm09a.so

DONE ! (and so am I now ...happy ?)

good luck

0
 
LVL 1

Accepted Solution

by:
Randyb earned 100 total points
ID: 2732327
Are you still around ?
0
 

Expert Comment

by:chsoh
ID: 2732908
Hello ...
0
 

Author Comment

by:blhelm
ID: 2732991
I installed Linux Mandrake 6.1 instead of Red Hat.

Then I was able to directly install the downloads from Intraware.

This solved the initial problem by installing the engine and following the directions documented by Informix.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now