Subject: Re: Why do I need to add an entry into
To: Phil Pereira <>
From: None <>
List: port-i386
Date: 03/23/2005 14:48:46
On Wed, Mar 23, 2005 at 07:40:02PM +0000, Phil Pereira wrote:
> My question : If I *never* need to add anything to
> to compile an app in pkgsrc, why did I need to add it for a program
> I compiled myself?  What am I missing? Or what did I get wrong?

Not sure about this particular app. What are the linker flags that
were used to build it? There should be -L/usr/X11R6/lib and 
-R/usr/X11R6/lib (or -Wl,--rpath,/usr/X11R6/lib). If neither of
those last two are present, the full path to the shared library
is not encoded into the resultant binary and you will need to use
the method that you describe or the LD_LIBRARY_PATH environment
variable to tell where to find the shared libraries that
are needed.

Hope this helps,
Communication is the nervous system of internationalism and human solidarity
La communicación es el tejido nervioso del internacionalismo y la solidaridad
				J.C. Mariátegui, Lima, 1923