pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc/Solaris: LD_LIBRARY_PATH
On Fri, 03 Aug 2007 19:29:26 -0400
"Mehul N. Sanghvi" <mehul.sanghvi%gmail.com@localhost> wrote:
> 'allo,
>
> Every time I build something in pkgsrc, I get a linking error for
> libiconv. I usually end up doing an explicit export of LD_LIBRARY_PATH and
> including /usr/pkg/lib in it. Is there some variable I can set in my mk.conf
> file that will ensure that I don't have to remember to do this each time ?
>
pkgsrc is supposed to encode the runpath into the binaries and if that
doesn't happen it is a bug. What version of Solaris are you on, what
architecture, what compiler and which ld(1) is the compiler using?
If you changed any of those you probably need to rebuild the
libtool-base package.
Does the linker error happen in the libiconv package or in some
package that depends on it?
-Tobias
Home |
Main Index |
Thread Index |
Old Index