From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,46129fd054322e75 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: Help!! gcc and LD : Strange problem Date: 1999/10/09 Message-ID: <7tm7g2$kd0$2@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 534549703 References: Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha Leslie Donaldson (donaldlf@shadowdragon.i10.com) wrote: : I have bizare gcc /ld problem that I am trying to resolve. : My binary currently has the folloing dynamic linking: : [root@shadowdragon em86-2.2]# ldd /usr/bin/em86 : libm.so.6.1 => /lib/libm.so.6.1 (0x000000004011e000) : libdl.so.2.1 => /lib/libdl.so.2.1 (0x0000000040254000) : libc.so.6.1 => /lib/libc.so.6.1 (0x0000000040358000) : /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000040000000) : And I need to have this dynamic linking : [root@shadowdragon em86-2.2]# ldd /usr/bin/em86 : libm.so.6.1 => /lib/libm.so.6.1 (0x000000004011e000) : libdl.so.2.1 => /lib/libdl.so.2.1 (0x0000000040254000) : libc-2.0.7.so => /lib/libc-2.0.7.so (0x0000000040358000) : /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000040000000) : As you can see I am changing the libc to be a Specific version. Digging : through the ld info page dosen't show me any way to do this. But /lib/libc-2.0.7.so and /lib/libc.so.6.1 are one and the same thing, at least at the moment. Still, did you try linking simly specifying explicitely /lib/libc-2.0.7.so as one of your files on a link list before system libraries? Out of curiosity, why do you neeed to be so explicit? Michal p.s. Asking for help with an address which is not mail deliverable is really not nice.