Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 10:49:19 -0700
From:      Yuri <yuri@rawbw.com>
To:        emulation@freebsd.org
Subject:   Why linuxlator rejects libc.so.6 for sligtly newer GNU/Linux 2.6.24 ?
Message-ID:  <51EC1F1F.2050504@rawbw.com>

next in thread | raw e-mail | index | archive | help
I am trying to run one Linux program on 9.1 amd64.
I copied all relevant shared libraries from Ubuntu and set the directory 
with LD_LIBRARY_PATH and libc.so.6 with LD_PRELOAD.
The newer version of libc.so.6 causes the problem: loader for some 
reason doesn't accept it and complains:

ERROR: ld.so: object 'my-libs/libc.so.6' from LD_PRELOAD cannot be 
preloaded: ignored.

This special libc.so.6 is from GNU/Linux 2.6.24
google-talk-libs/libc.so.6: ELF 32-bit LSB shared object, Intel 80386, 
version 1 (SYSV), dynamically linked (uses shared libs), 
BuildID[sha1]=0x81a55e819c61f581e6a9179eaf59726dd80aea31, for GNU/Linux 
2.6.24, stripped
While supplied with linux_base-f10-10_7 libc.so.6 is from GNU/Linux 2.6.9:
/compat/linux/lib/libc.so.6: ELF 32-bit LSB shared object, Intel 80386, 
version 1 (SYSV), dynamically linked (uses shared libs), 
BuildID[sha1]=0x4f5aefe82ff9a8102064d90e7a03c283b6751c39, for GNU/Linux 
2.6.9, not stripped

Difference is only in the minor version. Why this library gets rejected?

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51EC1F1F.2050504>