tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc on OpenSolaris



Adrian Portelli wrote:
> Hi,
> 
> I'm trying to get pkgsrc HEAD running on OpenSolaris 2008.05.  The
> intial bootstrap went fine and I have a set of basic working pkg_*
> tools.  I've tried installing a few packages (e.g. perl and screen) with
> only minor[1] issues.  There are however a few packages which have died
> on me and I think it may be the same root problem e.g.

In answer to my own question after a quick pointer from hubert@ this
turned out to be simply a ${PATH} issue.  There are four 'ld' binaries
on OpenSolaris two are GNU and two from Sun.  Just to make it more
interesting there's also an additional two symlinks:

./usr/ccs/bin/ld                        ../../bin/ld
./usr/ccs/bin/amd64/ld                  ../../../bin/amd64/ld

Basically you need to make sure the Sun version is on your path _before_
the GNU one.

ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.622
./usr/bin/amd64/ld                      
./usr/bin/ld

GNU ld version 2.15
./usr/sfw/i386-pc-solaris2.11/bin/ld
./usr/gnu/bin/ld

adrian.



Home | Main Index | Thread Index | Old Index