Benji wrote:

> I was wondering if there is a way to tell pkg to install packages in 64
> bits architecture. For example, I need GD (library/gd) to compile PHP in
> 64 bits. Alas, the version that pkg installed from the repo was in
> 32-bits. I had to wget GD from sunfreeware.com and install it over the
> one pkg installed.
> 
> So, is there a way to get packages in 64 bits from pkg command tool?

Pkg can only install bits that are actually available, so if a package
doesn't contain 64-bit binaries, then pkg can't create them.  However, it's
standard practice (though not always strictly followed) that libraries are
delivered both 32 and 64-bit, and libgd follows that:

    $ pkg contents -Ha path="usr/lib/*libgd*" gd
    usr/lib/amd64/libgd.so
    usr/lib/amd64/libgd.so.2
    usr/lib/amd64/libgd.so.2.0.0
    usr/lib/libgd.so
    usr/lib/libgd.so.2
    usr/lib/libgd.so.2.0.0

(and in usr/lib/sparcv9 on sparc, obviously).

Danek
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to