Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: linker problem
- To: tlug@example.com
- Subject: tlug: linker problem
- From: NIIBE Yutaka <gniibe@example.com>
- Date: Mon, 6 Apr 1998 16:59:02 +0900
- In-Reply-To: <Pine.LNX.3.96LJ1.1b7.980406101904.24165S-100000@example.com>
- References: <Pine.LNX.3.96LJ1.1b7.980406101904.24165S-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hello Scott! Scott Stone writes: > Ok, this is confusing me badly. I installed the glibc libraries in > /usr/i386-linux/glibc/lib. I added this path to /etc/ld.so.conf. I ran > ldconfig -v and it found libc.so.6 in the proper place. However, when I > compile a program with: > > gcc -o hello hello.c -L/usr/i386-linux/glibc/lib > > and then do 'ldd -v hello', it says: > > ldd: version 1.9.5 > libc.so.6 => not found > > > what gives here? Please note that dynamic linker (ld.so) is not compatible between Linux C Library (libc5) and GNU C Library (libc6). There are ld-linux.so.1 for libc5, and ld-linux.so.2 for libc6. I remember that ldd is also different between two version (perhaps). And more to say, libc6 doesn't use /etc/ld.so.conf. My suggestion is that place ld-linux.so.2 in /lib. Hope this helps, -- NIIBE Yutaka GNU C Library Tester <libc-hacker@example.com> --------------------------------------------------------------- Next TLUG Meeting: 11 April Sat, Tokyo Station Yaesu gate 12:30 Featuring Tague Griffith of Netscape i18n talking on source code --------------------------------------------------------------- a word from the sponsor: TWICS - Japan's First Public-Access Internet System www.twics.com info@example.com Tel:03-3351-5977 Fax:03-3353-6096
- References:
- tlug: linker problem
- From: Scott Stone <sstone@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: mew subject width
- Next by Date: tlug: TLUG AUCTION!
- Prev by thread: tlug: linker problem
- Next by thread: No Subject
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links