Subject: Re: not finding libraries that exist in /usr/pkg/lib
To: Tracy Di Marco White <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 04/01/2001 19:17:26
Quoting Tracy Di Marco White <firstname.lastname@example.org>:
> 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 - email@example.com
Computer Programming Technology
New Brunswick Community College, Saint John