getting libgcrypt 64 bit install

Ryan Schmidt ryandesign at macports.org
Sat Aug 6 19:01:23 PDT 2011


On Aug 6, 2011, at 15:16, phil swenson wrote:

> I'm trying to get the vpnc client for nortel mac going on Lion...
> 
> I tried these instructions
> http://www.macfreek.nl/mindmaster/VPNC_for_Nortel_on_Mac but ran into
> a problem because libgcrypt in mac ports is 32 bit and I need the 64
> bit install.
> 
> Could someone point me in the right direction?

libgcrypt, like most ports, has no particular architecture restrictions, and will build for whatever architectures you tell it to.

On Mac OS X 10.5 Leopard and earlier, ports build 32-bit by default (i386 on Intel Macs, ppc on PowerPC Macs). On Mac OS X 10.6 Snow Leopard and later, ports build 64-bit by default (x86_64).

The fact that you claim libgcrypt in MacPorts is 32-bit suggests you are on Leopard or earlier. If you like you can build ports "universal" -- for multiple architectures. The default universal setting on Leopard and earlier is ppc i386, but you can change this, for example to i386 x86_64. Simply change the universal_archs line in macports.conf. Then try reinstalling libgcrypt with the universal variant:

sudo port upgrade --enforce-variants libgcrypt +universal

You should end up with a libgcrypt that contains both i386 and x86_64 architectures, so that if your VPN client requires 64-bit, it should work.





More information about the macports-users mailing list