From owner-freebsd-questions Thu Apr 25 12:04:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA01814 for questions-outgoing; Thu, 25 Apr 1996 12:04:37 -0700 (PDT) Received: from anvil.appsmiths.com (gateway.appsmiths.com [198.66.108.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA01806 for ; Thu, 25 Apr 1996 12:04:34 -0700 (PDT) Received: (from hoppy@localhost) by anvil.appsmiths.com (8.6.11/8.6.6) id OAA10900; Thu, 25 Apr 1996 14:03:13 -0500 Date: Thu, 25 Apr 1996 14:03:12 -0500 (CDT) From: Hoppy To: freebsd-questions@freebsd.org Subject: recipe for shared libraries? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to construct a shared library using g++, but I apparently don't have the whole dance quite right. I end up with 'ld.so failed' I'm compiling with 'g++ -fpic ...', linking with 'ld -Bshareable' and getting a *.so.2.1 file, which I place somewhere where ldconfig discovers it at boot (ldconfig -r reports it). How can I further troubleshoot this. =============================================================================== Clay D. Hopperdietzel hoppy@appsmiths.com AppSmiths, Inc. Voice (713) 578-0154 Fax (713) 578-6182 15915 Katy Fwy, Suite 470 Where do *I* Want to Go Today? Houston, Texas 77094 FreeBSD!