|Libgen Library not found [message #421758]
||Thu, 10 September 2009 05:06
Registered: September 2009
I have application developed in Pro *C and C++. Currently compiled and running on sun machine on oracle 9i. We have to migrate it on IBM AIX machine having oracle 10g. |
I am getting error
"libgen library not found".(gcc compiler)
ld: 0706-006 Cannot find or open library file: -l gen
ld:open(): A file or directory in the path name does not exist.(IBM XL C\C++ compiler)
compilation steps are
proc SQLCHECK=SEMANTICS iname=CDBInteractor.pc parse=none code=cpp cpp_suffix=cpp
g++ -c main.cpp
g++ -o collection main.o -I/oracle/oracle/app/product/10g/precomp -L/oracle/oracle/app/product/10g/lib32 -lclntsh -lnsl -lgen -ldl
echo "Object File Created"
echo "Linking the Modules"
echo "Processing Complete"
Oracle home path is /oracle/oracle/app/product/10g/
How to resolve this error.
We have libgen.so.1 file in oracle home path as well as /usr/lib path.
on AIX libgen.so.1 is used or libgen.a????
Please provide resolution.
Thanks in advance.