Home » Developer & Programmer » Precompilers, OCI & OCCI » Libgen Library not found (AIX3 release 5,Oracle 10 G)
Libgen Library not found [message #421758] Thu, 10 September 2009 05:06
mdsomani
Messages: 1
Registered: September 2009
Junior Member
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.

Regds,
Navneet
09855801062
Previous Topic: How to connect to two databases ?
Next Topic: OCCI Connection please help
Goto Forum:
  


Current Time: Thu Mar 28 16:16:13 CDT 2024