This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linking for glibc-2.1.x Systems on a glibc-2.2.x


Martin Hollmichel <Martin.Hollmichel@germany.sun.com> writes:

> Hi,
> 
> I'm working for a big company and so I have to use an user id > 64k. With 
> joy I took a new Linux distribution (Kernel 2.4 and glibc-2.2.1) and tried 
> to do my job: compiling and linking a popular application (openoffice.org). 
> I tried to do this with "old" glibc-2.1.x header files and libraries. 
> 
> The first time I tried this, I have overseen in the specs file of the 
> compiler (2.95.2) that /lib/ld-linux.so.2 is used and so I got 
> _dl_init_next() as an undefined symbol.
> 
> So I changed the specs to use the ld-linux.so.2 which points to the 
> ld-2.1.so, the application links but aborts in the very beginning of the 
> app on a glibc-2.1.x system, and on glibc-2.2.x system I got with ldd 
> <my-app> : no such file or directory.
> 
> Is there any chance to use a glibc-2.2.x as production system for 
> applications that  should also run on glibc-2.1.x systems?

As I've mentioned on the newsgroup already: Use a chroot environment,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]