Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 1996 14:03:12 -0500 (CDT)
From:      Hoppy <hoppy@appsmiths.com>
To:        freebsd-questions@freebsd.org
Subject:   recipe for shared libraries?
Message-ID:  <Pine.BSF.3.91.960425135956.8982B-100000@anvil.appsmiths.com>

next in thread | raw e-mail | index | archive | help

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!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960425135956.8982B-100000>