LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-15-2009, 03:35 PM   #16
pepsimachine15
Member
 
Registered: Jun 2008
Posts: 122

Original Poster
Rep: Reputation: 16

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.
 
Old 04-15-2009, 04:26 PM   #17
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
I meant "cat /usr/lib/libc.so" (i.e. posting the file). That may help understanding what in the world is it doing there..
 
Old 04-15-2009, 07:23 PM   #18
pepsimachine15
Member
 
Registered: Jun 2008
Posts: 122

Original Poster
Rep: Reputation: 16
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:#
 
Old 04-16-2009, 04:13 AM   #19
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
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..
 
Old 04-16-2009, 10:03 PM   #20
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Ignore me, I missed a page before posing.

Last edited by crabboy; 04-16-2009 at 10:07 PM.
 
Old 04-16-2009, 10:24 PM   #21
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
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
 
Old 04-17-2009, 01:09 PM   #22
pepsimachine15
Member
 
Registered: Jun 2008
Posts: 122

Original Poster
Rep: Reputation: 16
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
 
Old 04-17-2009, 01:20 PM   #23
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
binutils may also benefit from an upgrade
 
Old 04-17-2009, 01:22 PM   #24
pepsimachine15
Member
 
Registered: Jun 2008
Posts: 122

Original Poster
Rep: Reputation: 16
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
 
Old 04-17-2009, 01:59 PM   #25
pepsimachine15
Member
 
Registered: Jun 2008
Posts: 122

Original Poster
Rep: Reputation: 16
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP yields "phantom connection" (ipw2200 meets Alice-dsl in Germany) simen Linux - Wireless Networking 3 03-07-2007 11:19 PM
NEVERMIND: removing non empty directories AmphetaminePhreak Linux - Newbie 1 07-28-2006 02:49 AM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM
Removing non-empty directories brunnopessoa Linux - Newbie 8 11-13-2003 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration