Subject: Re: not finding libraries that exist in /usr/pkg/lib
To: Tracy Di Marco White <email@example.com>
From: Jared D. McNeill <firstname.lastname@example.org>
Date: 04/01/2001 19:17:26
Quoting Tracy Di Marco White <email@example.com>:
> All of these libraries are in /usr/pkg/lib.
> I'd like to understand how to fix this, because I've been attempting
> create a package myself that I can't figure out how to make it use the
> libraries in /usr/pkg/lib without setting LD_LIBRARY_PATH. At least,
> consider having to set LD_LIBRARY_PATH not the right solution.
You need to add the following flags to the compiler during the linking stage:
Jared D. McNeill - firstname.lastname@example.org
Computer Programming Technology
New Brunswick Community College, Saint John