From owner-freebsd-questions@FreeBSD.ORG Wed Jun 28 15:33:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C07316A62C for ; Wed, 28 Jun 2006 15:33:55 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32C43444BF for ; Wed, 28 Jun 2006 14:35:16 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 8652 invoked from network); 28 Jun 2006 14:35:15 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Jun 2006 14:35:15 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id BEEF528449; Wed, 28 Jun 2006 10:35:14 -0400 (EDT) To: Mike Hunter References: <20060627162546.GA91453@malcolm.berkeley.edu> From: Lowell Gilbert Date: Wed, 28 Jun 2006 10:35:14 -0400 In-Reply-To: <20060627162546.GA91453@malcolm.berkeley.edu> (Mike Hunter's message of "Tue, 27 Jun 2006 09:25:46 -0700") Message-ID: <44lkrh5owt.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: linux emu, libmap and OracleCalendar (FBSD 5.4) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 15:33:55 -0000 Mike Hunter writes: > I got Oracle Calendar installed, but I did some majorly nasty stuff > (over-writing linux libraries with stuff on knoppix CDs, etc.) I had > hoped to use libmap....I had to get a knoppix CD to run the installer to > get past java issues (which I won't detail here). I copied the resulting > installed directory over to my FBSD box and went to launch (after fixing a > hard-coded string in the ocal launch script) but I got unhappiness: > > ./ocal > Starting Oracle Calendar for Linux > /home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/bin/Ocal) > /home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/lib/core/libctlst.so) > /home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/lib/core/libctimpexp.so) > /home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/lib/core/libctcalcli.so) > /home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/lib/core/libctccli_cpp.so) > /home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/lib/core/libctgt_cpp.so) > > I located the library on knoppix and copied it over to my home directory > and did some libmap hacking: > > [/home/mhunter/OracleCalendar/bin/Ocal] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > [/home/mhunter/OracleCalendar/lib/core/libctcalcli.so] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > [/home/mhunter/OracleCalendar/lib/core/libctlst.so] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > [/home/mhunter/OracleCalendar/lib/core/libctimpexp.so] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > [/home/mhunter/OracleCalendar/lib/core/libctcalcli.so] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > [/home/mhunter/OracleCalendar/lib/core/libctccli_cpp.so] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > [/home/mhunter/OracleCalendar/lib/core/libctgt_cpp.so] > libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7 > > But it doesn't work...it's like it's not seeing the libmap stuff at all, I > see the same error messages. Does the libmap stuff not work at all for > Linux binaries, or did I miss something? > > I'm using 5.4-STABLE. See "man linux" for information on how the linux translator expects to see the libraries set up. I'm not sure it'll work from your home directory at all.