Re: questions re 32bit & 64bit ports in a 64bit world

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Wed, 27 Jun 2007 13:14:27 +0200
Quoting Bakul Shah <bakul_at_bitblocks.com> (from Wed, 27 Jun 2007  
01:55:25 -0700):

> I updated my i386 -current world amd64 machine to a 64bit
> -current world by cross compiling, installing on a spare
> partition and rebooting with that partition as root.  The
> whole process went pretty smoothly.
>
> All the 32 bit ports that I tried so far (all except cvsup)
> seem to work fine but they still pick up shared libs from
> /usr/local/lib which will cause problems if I now add 64bit
> ports.  I really don't want to have to recompile and retest
> any 32bit port in 64bit mode if it already works well enough.
> It would be nice if 32bit ports and 64bit ports can co-exist.
> Is this possible?  Seems to me for this to work ld-elf32.so
> would have to somehow first check /usr/local/lib32.

I don't own a 64bit machine, but have you already played with  
ldconfig32_paths in rc.conf?

It may be the case that libtool hardcodes some paths somehow (either  
directly in the binary or via the .lo's)...

Bye,
Alexander.

-- 
We have met the enemy, and he is us.
		-- Walt Kelly

http://www.Leidinger.net    Alexander _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild _at_ FreeBSD.org  : PGP ID = 72077137
Received on Wed Jun 27 2007 - 09:16:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC