Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
04-15-2009, 03:35 PM
|
#16
|
Member
Registered: Jun 2008
Posts: 122
Original Poster
Rep:
|
Code:
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.
|
|
|
04-15-2009, 04:26 PM
|
#17
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
I meant "cat /usr/lib/libc.so" (i.e. posting the file). That may help understanding what in the world is it doing there..
|
|
|
04-15-2009, 07:23 PM
|
#18
|
Member
Registered: Jun 2008
Posts: 122
Original Poster
Rep:
|
Code:
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:#
|
|
|
04-16-2009, 04:13 AM
|
#19
|
Senior Member
Registered: Sep 2005
Location: France
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..
|
|
|
04-16-2009, 10:03 PM
|
#20
|
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821
Rep: 
|
Ignore me, I missed a page before posing.
Last edited by crabboy; 04-16-2009 at 10:07 PM.
|
|
|
04-16-2009, 10:24 PM
|
#21
|
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821
Rep: 
|
When was the last time you compiled a program on your machine? the configure script is trying to compile a very simple program.
Have you tried to compile a program by hand outside the configure script, it should fail as well?
Code:
/* test.c */
int main ()
{
;
return 0;
}
compile with: gcc -O2 -march=i586 -mtune=i686 test.c
|
|
|
04-17-2009, 01:09 PM
|
#22
|
Member
Registered: Jun 2008
Posts: 122
Original Poster
Rep:
|
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
|
|
|
04-17-2009, 01:20 PM
|
#23
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
binutils may also benefit from an upgrade
|
|
|
04-17-2009, 01:22 PM
|
#24
|
Member
Registered: Jun 2008
Posts: 122
Original Poster
Rep:
|
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
|
|
|
04-17-2009, 01:59 PM
|
#25
|
Member
Registered: Jun 2008
Posts: 122
Original Poster
Rep:
|
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.
thanks,
mike
|
|
|
All times are GMT -5. The time now is 08:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|