Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
administrator:$ file /usr/lib/lib.so.6
/usr/lib/lib.so.6: cannot open `/usr/lib/lib.so.6' (No such file or directory)
fileserver:/~
administrator:$ file /usr/lib/lib.so.5
/usr/lib/lib.so.5: cannot open `/usr/lib/lib.so.5' (No such file or directory)
fileserver:/~
administrator:$ file /usr/lib/libc.so.6
/usr/lib/libc.so.6: cannot open `/usr/lib/libc.so.6' (No such file or directory)
fileserver:/~
administrator:$ file /usr/lib/libc.so.5
/usr/lib/libc.so.5: cannot open `/usr/lib/libc.so.5' (No such file or directory)
fileserver:/~
administrator:$ file /usr/lib/libc.so
/usr/lib/libc.so: ASCII C program text
fileserver:/~
administrator:$ locate libc.so.6
locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/lib/libc.so.6
fileserver:/~
administrator:$ file /lib/libc.so.6
/lib/libc.so.6: symbolic link to `libc-2.4.so'
fileserver:/~
administrator:$ file /lib/libc-2.4.so
/lib/libc-2.4.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
fileserver:/~
administrator:$ locate libc.so.5
locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
fileserver:/~
administrator:$
Last edited by pepsimachine15; 04-15-2009 at 03:36 PM.
fileserver://
root:# cat /usr/lib/libc.so
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
fileserver://
root:#
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Maybe you should ask another question in "programming" forum: paste the error messages from configure, paste the file contents. I understand what was it intended for, but not how to fix it..
looks like the same messages appeared with your test program. the last time i compiled a program was probably a month or two ago. i'll try to use gslapt to re-install gcc and libc6 and report back
Code:
fileserver:/~
administrator:$ gcc -O2 -march=i586 -mtune=i686 test.c
test.c:6:2: warning: no newline at end of file
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libc.so:5: parse error
collect2: ld returned 1 exit status
re-installed packages gcc, gcc-g++, and glibc with gslapt. it broke something big, because i cannot execute any commands. i.e:
Code:
administrator:$ ls
bin/ls: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
fileserver:/~
this error happens with any command in bash. cannot start new apps with my launcher icons. entire system seems broke.
a google of this message says its a bug, #465753 and a fix for this is to remove /lib/tls/* from a boot disk. i'll try this and see how things go
that all seemed to fix my configure errors, and ntfs-3g compiles correctly. and with the new ntfs-3g i am able to remove the directories. but now samba is broke. i already have a thread started on this, since samba was only half broke before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.