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 > DB2 > Cannot load program

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-08-07, 16:36
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Cannot load program

AIX 5.3
DB2 8.2 (64 bit instance)

> ./tf70server
exec(): 0509-036 Cannot load program ./tf70server because of the following errors:
0509-022 Cannot load module /usr/opt/db2_08_01/lib64/libdb2.a(shr.o).
0509-150 Dependent module /usr/opt/db2_08_01/lib64/libdb2trcapi.a(shr.o) could not be loaded.
0509-152 Member shr.o is not found in archive
0509-022 Cannot load module tf70server.
0509-150 Dependent module /usr/opt/db2_08_01/lib64/libdb2.a(shr.o) could not be loaded.
0509-022 Cannot load module .

> echo $LIBPATH
/usr/opt/db2_08_01/lib64:/usr/sap/ERI/SYS/exe/run:/db2/db2eri/sqllib/lib
hhiaap4213:eriadm>

We have SAP. On one system, the BSI Tax Factory will not start, giving the verbage above. The verbage above resulted from executing the command at the command line, which of course works on other systems, meaning that it simply does not return any text. The only thing I have found suggested that there are both 32bit and 64 bit libraries in play here, and the suggestion was to remove the LIBPATH. As is, the first path and last path in the LIBPATH above are actually the same directory. When I remove both of them, I get an error that a file or directory in LIBPATH is not found.

Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 05-09-07, 03:19
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Did you install a DB2 FixPak recently? If so, make sure to follow all steps in the Readme/Release notes and run "db2iupdt" on all DB2 instances.

Also, was "tf70server" compiled and linked as 64-bit executable?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 05-09-07, 09:11
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Thanks so much.

As it turns out, I had a 32bit and 64bit version of the file, and, of course, I was using the wrong one.
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