System:
Fedora Core 4
GCC 3.2
The error (when trying to make ‘basic’ in the dcom samples):
midl : error MIDL2120 : error loading library libole32.so
Below is the command causing the error, and an strace to go along with it. Note that originally the strace showed that midl was looking for stdole32.tlb and couldn’t find it, so I moved it to one of the locations it was looking for it in, the resulting error was the same though. Any ideas?
make[1]: Entering directory /opt/sag/exx/v721/examples/dcom/basic/proxy/unix' makefile:45: target
obj/i686_linux_libc6/basicps_def.o’ doesn’t match the target pattern
midl -char unsigned -ms_ext -c_ext -Os -DSAG_COM=1 -DCE_TLINUX86 -D_REENTRANT -D_POSIX_MAPPED_FILES -D_GNU_SOURCE -DCOOL_LINUX_COMPILER_H=1 -D_WIN32 -DWIN32=100 -D_WIN32_WINNT=0x400 -DINC_OLE2 -DFLAT -DUNICODE -DWIN32_LEAN_AND_MEAN -D_POSIX_MAPPED_FILES -DSECURITY_ENABLED=1 -D_WCHAR_T_DEFINED -I. -I… -I/opt/sag/exx/v721/include -out obj/i686_linux_libc6 -tlb /opt/sag/exx/v721/examples/lib/basic.tlb …/basic.idl
Microsoft/Software AG (R) MIDL Compiler Version 5.03.0279, Software AG internal version 38
Copyright (c) Microsoft Corp/Software AG 1991-2005. All rights reserved.
Processing …/basic.idl
Processing /opt/sag/exx/v721/include/unknwn.idl
Processing /opt/sag/exx/v721/include/wtypes.idl
…/basic.idl(25) : warning MIDL2346 : the specified lcid is different from previous specification
Processing /opt/sag/exx/v721/include/oaidl.idl
Processing /opt/sag/exx/v721/include/objidl.idl
midl : error MIDL2120 : error loading library libole32.so
strace:
1849 read(11, " [in,out] PVOID pvD"…, 16384) = 1870
1849 brk(0x9093000) = 0x9093000
1849 read(11, “”, 16384) = 0
1849 close(11) = 0
1849 unlink(“/tmp/MIDLwSt70O-1849”) = 0
1849 access(“./stdole32.tlb”, F_OK) = 0
1849 write(1, “midl : error MIDL2120 : error lo”…, 58) = 58
1849 munmap(0x8b0000, 4096)
#webMethods#EntireX-DCOM#Mainframe-Integration