From owner-freebsd-questions Fri May 11 5:40:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 09F5C37B423 for ; Fri, 11 May 2001 05:40:28 -0700 (PDT) (envelope-from hawk@fac13.ds.psu.edu) Received: from fac13.ds.psu.edu (localhost [127.0.0.1]) by fac13.ds.psu.edu (8.11.3/8.11.3) with ESMTP id f4BCeHm11720 for ; Fri, 11 May 2001 08:40:17 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200105111240.f4BCeHm11720@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: freebsd-questions@FreeBSD.ORG Subject: xforms linked against wrong libc? From: "Richard E. Hawkins" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 May 2001 08:40:17 -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After compiling the development branch of lyx, I found it wouldn't execute. It looks for libc.so.3, but 4.3 has libc.so.4. The culprit is believed to be the xforms library. My entire system is built from sources, with the exception of gtk12 (which won't currently build and is needed by vim6), realplayer, netscape, and staroffice--and probably the exfroms library; I believe that make merely fetches the executable. I put in a symlink from .3 to .4, but I'm told this is likely to lead to problems. I've been asked to use ldd to check it, but I get fac13ttyp3:/root>ldd /usr/lib/libform.so.2 /usr/lib/libform.so.2: ldd: /usr/lib/libform.so.2: Permission denied /usr/lib/libform.so.2: exit status 1 fac13ttyp3:/root>ldd -v /usr/lib/libform.so.2 ldd: /usr/lib/libform.so.2: this is an ELF program; use objdump to examine then fac13ttyp3:/root#objdump -T /usr/lib/libform.so.2 | grep libc fac13ttyp3:/root# How do I check the links? And is there a newer version of xforms around,linked to the right library? or is there a libc.so.3 still available somehow? hawk -- Prof. Richard E. Hawkins, Esq. /"\ ASCII ribbon campaign dochawk@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of X and postings Penn State until it pays my retainer. / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message