Pro*C code works fine on Oracle 10g but when migrated to Oracle 11g its not compiling. Unable to link to curl library. Difference in compiling is earlier in 10g it was pointing to oracle lib32 folder but in 11g lib32 is not exist, so it is pointing to lib.
Error: ------------------------------------------------------------------------- Pro*C/C++: Release 11.2.0.3.0 - Production on Mon Feb 18 17:19:38 2013 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. System default option values taken from: /oracle11g/app/product/11gR2/dbhome/precomp/admin/pcscfg.cfg ld: 0711-317 ERROR: Undefined symbol: .curl_easy_cleanup ld: 0711-317 ERROR: Undefined symbol: .curl_global_cleanup ld: 0711-317 ERROR: Undefined symbol: .curl_global_init ld: 0711-317 ERROR: Undefined symbol: .curl_easy_init ld: 0711-317 ERROR: Undefined symbol: .curl_slist_append ld: 0711-317 ERROR: Undefined symbol: .curl_easy_setopt ld: 0711-317 ERROR: Undefined symbol: .curl_easy_perform ld: 0711-317 ERROR: Undefined symbol: .curl_easy_strerror ld: 0711-317 ERROR: Undefined symbol: .curl_easy_getinfo ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ------------------------------------------------------------------------- Make file: ------------------------------------------------------------------------- ORA_PATH=/oracle11g/app/product/11gR2/dbhome INCLUDE_CURL=/usr/include/curl $ORA_PATH/bin/proc proc_code userid=a/b@c sqlcheck=semantics include=$INCLUDE_CURL DEFINE=__64BIT__ PROCFLAGS="DEFINE=__64BIT__" $ORA_PATH/bin/oraxlc -O3 -I. -I$ORA_PATH/precomp/public -I$ORA_PATH/rdbms/public -I$ORA_PATH/rdbms/demo -I$ORA_PATH/plsql -I$ORA_PATH/network -I$INCLUDE_CURL -c proc_code.c $ORA_PATH/bin/oraxlc -o proc_code proc_code.o -L$ORA_PATH/lib/ -lclntsh -lld -lm `cat $ORA_PATH/lib/sysliblist` -lm -lc_r -lpthreads -lm -lcurl ------------------------------------------------------------------------- Using curl version: $Id: curl.h,v 1.370 2008-10-17 03:59:02 yangtse Exp $ Not sure why it is not able to link? Would appreciate any help. Thanks!
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
