Subject: Re: compilation problems
To: Brook Milligan <brook@trillium.NMSU.Edu>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 03/11/2000 09:41:36
On Fri, 10 Mar 2000, Brook Milligan wrote:
> If I go ahead and install the library, when I run somthing linked
> against the shared library there is an "unresolved symbol" error for
> the same symbol that is relocated above.
Try rearranging the order of the objects on the final link command line.
Especially move the shared library to the end. Sometimes the shared library
needs functions supplied by the static objects. In that case (you'll get
different errors), you can put the shared library on the link command line
twice, once at the beginning and once at the end.