From owner-freebsd-questions@FreeBSD.ORG Sat Oct 30 14:35:10 2004 Return-Path: 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 AF2B516A4CE for ; Sat, 30 Oct 2004 14:35:10 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3701443D1D for ; Sat, 30 Oct 2004 14:35:10 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.102] (adsl-4-119-123.cae.bellsouth.net [65.4.119.123]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id i9UEZ5wS006335 for ; Sat, 30 Oct 2004 10:35:05 -0400 Message-ID: <418CE152.8070105@computer.org> Date: Sat, 06 Nov 2004 09:36:02 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-102.301, required 5, BAYES_00, DATE_IN_FUTURE_96_XX, USER_IN_WHITELIST) Subject: Oracle 8i on FreeBSD 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 14:35:10 -0000 I am installing Oracle 8i (8.1.7) on FreeBSD 5.1 I am following this doc: http://iamphet.nm.ru/misc/linuxemu-oracle8i.html I get as far as the linking of Oracle 8i, when I am prompted with errors in linking $ORACLE_HOME/precomp/lib/ins_precomp.mk I know that this means I need the Glibc 2.1.3 stubs patch from Oracle (seen before on Linux) when I try to run the setup_stubs.sh script, I get the following bash-2.04$ ./setup_stubs.sh Setting up patch files...done. Patching makefiles as necessary: checking file '/ora/app/rdbms/demo/demo_rdbms.mk'...OK. checking file '/ora/app/rdbms/demo/ociucb.mk'...OK. checking file '/ora/app/rdbms/lib/ins_rdbms.mk'...OK. checking file '/ora/app/rdbms/lib/env_rdbms.mk'...OK. checking file '/ora/app/network/lib/ins_net_client.mk'...OK. checking file '/ora/app/network/lib/env_network.mk'...OK. checking file '/ora/app/network/lib/ins_cman.mk'...OK. checking file '/ora/app/network/lib/ins_names.mk'...OK. checking file '/ora/app/network/lib/ins_oemagent.mk'...OK. checking file '/ora/app/network/lib/env_oemagent.mk'...OK. checking file '/ora/app/network/lib/ins_net_server.mk'...OK. checking file '/ora/app/network/lib/ins_nau.mk'...OK. checking file '/ora/app/plsql/lib/env_plsql.mk'...OK. checking file '/ora/app/plsql/lib/ins_plsql.mk'...OK. checking file '/ora/app/plsql/demo/demo_plsql.mk'...OK. checking file '/ora/app/precomp/lib/ins_precomp.mk'...OK. checking file '/ora/app/precomp/lib/env_precomp.mk'...OK. checking file '/ora/app/ldap/lib/env_ldap.mk'...OK. checking file '/ora/app/ldap/lib/ins_ldap.mk'...OK. checking file '/ora/app/ldap/demo/demo_ldap.mk'...OK. checking file '/ora/app/sqlplus/lib/env_sqlplus.mk'...OK. checking file '/ora/app/sqlplus/lib/ins_sqlplus.mk'...OK. checking file '/ora/app/ord/im/lib/env_ordim.mk'...OK. checking file '/ora/app/ord/img/demo/demo_ordimg.mk'...OK. checking file '/ora/app/otrace/demo/atmoci.mk'...OK. checking file '/ora/app/otrace/lib/env_otrace.mk'...OK. checking file '/ora/app/otrace/lib/ins_otrace.mk'...OK. Rebuilding client shared library...ld: cannot find -ldl Now I know -ldl is for the dlopen function in Linux, which are in a different place than in FreeBSD, my question to you all is, how do I patch these scripts to get around this. I took out the -ldl in the lib/sysliblist file, but then I get a similar error about -lpthread Rebuilding client shared library...ld: cannot find -lpthread I replaced -lpthread with -lc_r then the -ldl error came back, then I retried the gui building ins_precomp.mk, stil doesnt work, I know that I probably need to get rid of all -ldl references, but when I tried that, I got alot of undefined references, so should I replace them with something? Is there a way I can install ldl under freebsd to "fool" it into working? HELP!!! Thanks in advance... BTW: please do not tell me to try Oracle 9i, or that I should use another version of FreeBSD, or something like that, I am locked in this hardware and OS, so I need to get it to work with the current setup as much as possible. --J after some reading, I replaced it with -lc_r but then I get undefined references to __bzero... and dozens of other calls I am g -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.