From owner-freebsd-questions Thu Feb 15 15:17: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id BA70437B4EC for ; Thu, 15 Feb 2001 15:16:59 -0800 (PST) Received: (qmail 23552 invoked by uid 100); 15 Feb 2001 23:16:58 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14988.25450.854899.13890@guru.mired.org> Date: Thu, 15 Feb 2001 17:16:58 -0600 To: Daniel Holliman Cc: questions@freebsd.org Subject: Re: installing postgresql in freebsd 4.2 In-Reply-To: <20010215145803.A86123@phoenix.jihad.to> References: <34536053@toto.iv> <14988.20979.513721.678199@guru.mired.org> <20010215145803.A86123@phoenix.jihad.to> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel Holliman types: > > make[1]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/jdbc' > > /usr/local/jdk1.1.8/bin/javac org/postgresql/DriverClass.java > > /usr/libexec/ld-elf.so.1: Shared object "libxpg4.so.2" not found > > > > This pretty much zeros in on the problem. It looks like your jdk port > > was built on FreeBSD 3.x and you didn't install the 3.x compatibility > > libraries on your 4.2 system. Check it by doing running ldd on your > > javac binary, and verifying that it shows libxpg4.so.2 as not found > > (probably some others as well). If that's the case, you can fix it be > > rebuilding and reinstalling the jdk port on a 4.2 system, or by > > installing the 3.x compatibility libraries. > > > the relevant ports (i think): > > phoenix$ pkg_info | grep -i java > javavmwrapper-1.1 Wrapper script for various Java Virtual Machines > jdk-1.1.8 Sun's Java Developers Kit > phoenix$ pkg_info | grep -i linux > linux_base-6.1 The base set of packages needed in Linux mode > phoenix$ > > i didn't install any linux binaries, i didn't install any > the linux java port, that's why I'm so confused. > anyway I will try to your ldconfig suggestions. Did you happen to select the JDBC connectivity option when you did the make for the postgresql port? If so, that would have installed the JDBC port for you - which may well be a 3.x binary. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message