예전 서버를 교체하면서 기존에 짜여진 구닥다리 C 프로그램 소스를 재컴파일 해야 하는데
잘 안되네요..
우선 예전 환경은
OS : AIX 4.3 대
DB : 7i(구닥다리죠)
현재는
OS : 5.3대
DB : 9i
입니다.
우선 make 통하여 컴파일을 하면 다음과 같은 오류가 뜹니다.
라이브러리를 못찾는 것 같은데...
해결 방법을 알려주시면 정말 감사하겠습니다.
$ mk mail_lgp
if [ "" = "shared" ]; then cc -o mail_lgp mail_lgp.o -L/oracle/lib -lclntsh -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 `cat /oracle/rdbms/lib/sysliblist` -lm ; else cc -o mail_lgp mail_lgp.o -L/oracle/lib -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 `cat /oracle/rdbms/lib/sysliblist` -lm; fi
ld: 0706-006 Cannot find or open library file: -l xa
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l sql
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l sqlnet
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l ncr
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l sqlnet
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l client
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l common
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l generic
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l sqlnet
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l ncr
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l sqlnet
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l client
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l common
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l generic
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l epc
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l nlsrtl3
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l c3v6
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l core3
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l nlsrtl3
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l core3
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l nlsrtl3
ld:open(): No such file or directory
make: The error code from the last command is 255.
|