From owner-freebsd-questions Fri Aug 14 21:34:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14050 for freebsd-questions-outgoing; Fri, 14 Aug 1998 21:34:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from avatar.mtia.asn.au (melb-gw.mtia.asn.au [203.2.76.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA14044 for ; Fri, 14 Aug 1998 21:34:26 -0700 (PDT) (envelope-from plw@mtiame.mtia.asn.au) Received: (from uucp@localhost) by avatar.mtia.asn.au (8.8.8/8.6.9) id OAA23828; Sat, 15 Aug 1998 14:33:49 +1000 (EST) Received: from mtiame.mtia.asn.au(203.2.76.21) by avatar.mtia.asn.au via smap (V2.1) id xma023826; Sat, 15 Aug 98 14:33:39 +1000 Received: by mtiame.mtia.asn.au (SMI-8.6/200.17.1.3) id OAA12993; Sat, 15 Aug 1998 14:33:21 +1000 From: plw@mtiame.mtia.asn.au (Phil Ware) Message-Id: <199808150433.OAA12993@mtiame.mtia.asn.au> Subject: Re: Linking shared libraries with cyclic dependencies In-Reply-To: from Doug White at "Aug 14, 98 02:57:47 pm" To: dwhite@resnet.uoregon.edu (Doug White) Date: Sat, 15 Aug 1998 14:33:21 +1000 (EST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > On Fri, 14 Aug 1998, Phil Ware wrote: > > > I was attempting to build the qt-1.40 GUI toolkit under FreeBSD and > > ran across a few problems; I was wondering if anyone had any ideas. > > Did you use the port? > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major Yes, I used the qt-140 port which simply patched the makefile; I also checked the freebsd-questions and freebsd-hackers mailing lists for any information. On the mailing list I found another replacement Makefile which I also tried. Still no joy. Checking the link(5) man page I found a CAVEAT that only GNU C currently supports the creation of shared libraries. Is this really the case ? I thought that I had built qt-1.32 on this system, but maybe my memory is faulty. (Qt is C++ code). Am I right in assuming that ld should be able to handle object files with circular dependencies in them ? Why exactly is ld.so looking for the file at run-time ? I would have thought either 1) All symbols in the executable had been resolved when the executable is linked against the shared library OR 2) The link of the executable against the shared library would have failed with unresolved symbols. Again, thanks for your time Phil Ware plw@mtiame.mtia.asn.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message