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

Alexander Leidinger Alexander at Leidinger.net
Wed Jun 27 11:16:26 UTC 2007


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 @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-current mailing list