Hi,
Iam getting an error when Iam trying to insert data into a DB2 table, Iam using DB2/API stage
Error
main_program: Fatal Error: Fatal: Shared library (dsdb2.so) failed to load: errno = (2), system message = (No such file or directory)
Thanks,
SomaRaju.
DSDB2 Shared Library
Moderators: chulett, rschirm, roy
DSDB2 Shared Library
somaraju
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Check LD_LIBRARY_PATH environment variable in the "environment variables" message in the job log.
Chances are that it does not include the directories containing DB2 libraries.
You may need to edit dsenv script so that it does.
Chances are that it does not include the directories containing DB2 libraries.
You may need to edit dsenv script so that it does.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Does it matter the type of Unix box you are on? I thought I had heard that different flavors of Unix use different variables. You may use LD_LIBRARY_PATH on Sun or HP, but on AIX you would use LIBPATH.ray.wurlod wrote:Check LD_LIBRARY_PATH environment variable in the "environment variables" message in the job log.
Not sure about this, though. Can anyone confirm one way or the other?
Brad.
Yes, it does matter and you have to use the flavor appropriate to your platform.bcarlson wrote:Does it matter the type of Unix box you are on? I thought I had heard that different flavors of Unix use different variables. You may use LD_LIBRARY_PATH on Sun or HP, but on AIX you would use LIBPATH.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers