From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Julien.Soula" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY : link pb : unresolved symbols Date: Tue, 22 Oct 2002 13:30:41 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <15797.14049.550439.678345@kerstbol.lifl.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035286240 20649 80.91.224.249 (22 Oct 2002 11:30:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2002 11:30:40 +0000 (UTC) Cc: Julien.Soula@lifl.fr Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 183xF8-0005Mn-00 for ; Tue, 22 Oct 2002 13:30:39 +0200 Original-Received: (qmail 12956 invoked by uid 5); 22 Oct 2002 11:31:27 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12947 invoked by uid 49493); 22 Oct 2002 11:31:26 -0000 Original-Received: from soula@lifl.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.46967 secs); 22 Oct 2002 11:31:26 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 22 Oct 2002 11:31:26 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4D002D2S0C87@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 22 Oct 2002 07:31:25 -0400 (EDT) Original-Received: from reserv1.univ-lille1.fr (reserv1.univ-lille1.fr [193.49.225.15]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4D001JQS08FB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 22 Oct 2002 07:31:21 -0400 (EDT) Original-Received: from malonne.lifl.fr (malonne.lifl.fr [134.206.10.29]) by reserv1.univ-lille1.fr (8.12.2/jtpda-5.3.1) with ESMTP id g9MBUs2q004020 for ; Tue, 22 Oct 2002 13:30:58 +0200 Original-Received: from kerstbol.lifl.fr (kerstbol.lifl.fr [134.206.10.68]) by malonne.lifl.fr (8.10.2+Sun/jtpda-5.3.3) with ESMTP id g9MAk5403279 ; Tue, 22 Oct 2002 12:46:06 +0200 (MEST) Original-Received: from soula by kerstbol.lifl.fr with local (Exim 3.35 #1 (Debian)) id 183xFB-0002uw-00; Tue, 22 Oct 2002 13:30:41 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: VM 7.03(+VMGod) under Emacs 21.2.1 X-MailScanner: Found to be clean Xref: main.gmane.org gmane.os.tru64.managers:2149 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2149 hello, First thanks to all persons who have replied me and especially Michel Berger who gave me the solution. The problem came from the oracle client library : the unresolved symbols have not been not exported (this is strange since the "nm" command show these symbols as global external) The solution is present in MetaLink (Note:116486.1) : [......................] Solution Description -------------------- The workaround to solve above undefined symbol error is: 1) Add the appropriate symbol to $ORACLE_HOME/rdbms/admin/shrept.lst as shown below for OCIEnvCreate: rdbms : OCIEnvCreate 2) Rebuild the shared client library: $ cd $ORACLE_HOME/rdbms/lib $ make -f ins_rdbms.mk client_sharedlib 3) Rebuild your executable using demo_rdbms.mk $ make -f demo_rdbms.mk build EXE=program OBJS=program.o [......................] -- Julien