Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 22:40:05 -0800
From:      Paul Saab <ps@freebsd.org>
To:        Kris Moore <piett134@gmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Question about x64 and running x86 programs
Message-ID:  <43743CC5.9070801@freebsd.org>
In-Reply-To: <43743466.2050909@gmail.com>
References:  <43743466.2050909@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
LD_32_LIBRARY_PATH

Kris Moore wrote:
>
> The binaries are not running as setugid. The entire system is built with
> 64bit binaries and 64 bit libs. Then I am attemping to run a 32 bit
> binary on it. I have all the 32bit libraries also, and I can put them
> into a directory such as /usr/X11R6/lib32/*, but I just can not force
> the 32bit binary to look in that directory for its libraries. I keep
> thinking there has to be a 32LD_LIBRARY_PATH, or some other variable
> that I'm missing, but for the life of me, I can't find it.
>
>
> Joseph Koshy wrote:
>>> This does not work also, matter afact, it completely
>>> ignores the LD_LIBRARY_PATH variable like it doesnt exist.
>>
>>
>> Check if a program is set[ug]id.  Such programs ignore
>> LD_LIBRARY_PATH for security reasons.
>>
>>
>>> /libexec/ld-elf.so.1: /usr/X11R6//lib/libqt-mt.so.3:
>>> unsupported file layout
>>
>>
>> Are your X libraries 32 bit ones?
>>
>> -- 
>> FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43743CC5.9070801>