Oraperl Link Problem (Solaris 2.3)

From: Martin Berli <berli_at_switch.ch>
Date: 25 May 1994 17:48:00 +0200
Message-ID: <2rvrvg$371_at_scsing.switch.ch>


We are running ORACLE7 Server Release 7.0.15.4.0 on Solaris 2.3. We tried to compile/link oraperl 2.4. There is one undefined symbol we where not able to resolve. We would be very glad if someone could help us.

Excerpt from Makefile:



# Makefile for Oraperl and Coraperl

# Change these to your ORACLE installation directory and Perl source directory
#

ORACLE_HOME	= /home/oracle/product/7.0.15
SRC		= /opt/gnu/src/perl-4.036

# Oracle Definitions, copied from $(ORACLE_HOME)/proc/demo/proc.mk
# ALL_ORA_LIBS is the only entry that the Makefile actually uses;
# change it to whatever you need to link Pro*C programs
#

OTHERLIBS	= `cat $(ORACLE_HOME)/rdbms/lib/sysliblist`
CLIBS		= $(OTHERLIBS)
OCILIB		= -locic
NETLIBS		= $(ORACLE_HOME)/lib/osntab.o -lsqlnet
ORALIBS		= -lora -lcv6 -lcore -lsqlnet -lnlsrtl -lcore

ALL_ORA_LIBS	= -L$(ORACLE_HOME)/lib $(CLIBS) $(OCILIB) $(NETLIBS) $(ORALIBS)

#....

Compile-/Linking Output:


cc -o oraperl /opt/gnu/src/perl-4.036/uperl.o oracle.o orafns.o getcursor.o colons.o debug.o strtoul.o usersub.o 			\
      -lm -L/home/oracle/product/7.0.15/lib `cat /home/oracle/product/7.0.15/rdbms/lib/sysliblist` -locic /home/oracle/product/7.0.15/lib/osntab.o -lsqlnet -lora -lcv6 -lcore -lsqlnet -lnlsrtl -lcore `. /opt/gnu/src/perl-4.036/config.sh; echo $libs`
Undefined			first referenced
 symbol  			    in file
__cg92_used                         /home/oracle/product/7.0.15/lib/libocic.a(oci.o)
ld: fatal: Symbol referencing errors. No output written to oraperl *** Error code 1
make: Fatal error: Command failed for target `oraperl'

   Martin Berli


Internet: berli_at_switch.ch  | SWITCH, Swiss Academic and Research Network
Phone   : +41 1 268 1540   | Limmatquai 138
Fax     : +41 1 268 1568   | CH-8001 Zurich
Received on Wed May 25 1994 - 17:48:00 CEST

Original text of this message