From owner-freebsd-questions Mon Mar 1 20:44:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from walnut.readington.com (walnut.readington.com [207.207.198.10]) by hub.freebsd.org (Postfix) with ESMTP id 4FDC214C1C for ; Mon, 1 Mar 1999 20:44:18 -0800 (PST) (envelope-from chrismar@readington.com) Received: from localhost (chrismar@localhost) by walnut.readington.com (8.8.8/8.8.8) with ESMTP id XAA12947; Mon, 1 Mar 1999 23:38:19 -0500 (EST) (envelope-from chrismar@readington.com) Date: Mon, 1 Mar 1999 23:38:19 -0500 (EST) From: Chris To: Guy Helmer Cc: freebsd-questions@freebsd.org Subject: Re: linking problems In-Reply-To: Message-ID: Webpage: http://www.weirdo.net/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is what I get: [chrismar@crazy ~ ] % file /usr/local/lib/libgtk.so* /usr/local/lib/libgtk.so: symbolic link to libgtk.so.1.6 /usr/local/lib/libgtk.so.1.6: FreeBSD/i386 compact demand paged shared library not stripped TIA, Chris On Mon, 1 Mar 1999, Guy Helmer wrote: > On Mon, 1 Mar 1999, Chris wrote: > > > Hi folks, I seem to be having problems compiling on 3.1-stable. > > the compile seems to go fine, however it seems to fail when it begins to > > link. An example would be: > > gcc -o aim -O -pipe `gtk-config --cflags` -elf aim.o buddy.o toc.o im.o > > conversation.o buddy_chat.o html.o prefs.o sound.o about.o `gtk-config --libs` > > /usr/local/lib/libgtk.so: file not recognized: File format not recognized > > What happens when you do "file /usr/local/lib/libgtk.so*"? It seems it > may be an a.out library, whic your build is using the elf loader (and your > elf /usr/lib libraries). > > Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science > Research Assistant, Ames Laboratory --- ghelmer@scl.ameslab.gov > Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu > http://www.cs.iastate.edu/~ghelmer > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message