[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 64-bit and chroot



try ldd on an 32 bit program and on the same program 64 bit...

On 3/7/08, Hans-J. Ullrich <hans.ullrich@loop.de> wrote:
> Dear maintainers,
>
> I do not know, if this is still realized, but I would like to introduce an
> idea to you.
>
> I am running a 64-bit-system, and a chroot.  Most of the time, this is not
> needed. But there are a few applications, which need a few libs out of the
> 32-bit-chroot. My solution was, to add the path to
>
> /var/chroot/sid-ia32/lib
> /var/chrrot/sid-ia32/usr/lib
>
> in
>
> /etc/ld.so.conf.d/x86_64-linux-gnu.conf
>
> so, that the 32-bit-application will find the 32-bit-libs. Using this way, it
> is easy to update the chroot using apt.
>
> This way, my environment seem to work very well.
>
> Now my question: To make sure, an application will use the correct library, it
> must be sure, that the correct library will be used, even the 64-bit-library
> and the 32-bit-library have got the same name.
> The only way, to ensure this, is to tell the sourcecode somehow, that it has
> to use the 32-bit library or the 64-bit-library.
>
> IMO this would work fine, if 32-bit-lib and the 64-bit-lib will get different
> names, and the source code has to be changed, to point to the correct lib.
>
> This will ensure, that always the correct library will be used, equal, if a
> 32-bit application or a 64-bit application is running on an 64-bit-system.
>
> I do not know, if this is already implemented, if so, forget about my mail. If
> not, maybe it is worth to think about it, as there are still a lot of
> (non-gpl) applications, which are still only available as 32-bit-versions.
>
>
> Thank you for your attention and patience !
>
> Best regards
>
> Hans
>
>
>
> --
> To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


-- 
Perhaps the depth of
love can be calibrated by the number of different selves that are
actively involved in a given relationship.

							Carl Sagan (Contact)

							Jaime Ochoa Malagón
							Integrated Technology
							Tel: (55) 52 54 26 10


Reply to: