Just installed Slackware 4.0 and want to put some glibc progs on
there. Love slack, but it needs to be glibc based. Anyway, I started
with gcc 2.7.?.? and compiled and installed egcs-1.1.2. Worked great,
gcc -v returns "gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)".
Next, I compiled and installed glibc-2.1.1 with crypt, linuxthreads, and
localedata. I installed it to /usr/local so I didn't break libc5 right
away. Next, I changed the specs file, changing ld-linux.so.1 to
ld-linux.so.2 and removing two references to -lgmon under the *lib:
section. I was able to compile and run a test program just fine and it
linked to libc.so.6 which is a link to libc-2.1.1.so like it should be.
Now, I get the same error when I have the glibc2 libs in /usr/local/lib
as I do when I tar that directory up and move it to /lib. Here is the
error I get
/lib/crt1.o(.text+0x1d): undefined reference to '__libc_start_main'
../lib/libncurses.so: undefined reference to '__strdup'
make[1]: *** [tic] Error1
make[1]: Leaving directory '/root/ncurses-5.0-990626/progs'
make: *** [all] Error2
Anyone know what it is linking against, why, and most importantly, how I
can change it?
--
Peter Buelow
**
"Becoming a Slack expert so I can permanently
walk outside and see the world without windows!"
**