Screen install [error]

Good evening,
I have a question about install screen on FreeBSD 9.0 64bit.
When I will install screen I become a error:

tC5jd.png


They says to me, I have to upload my config.log here.
I do it in the attachments.
Can you help me?
 

Attachments

  • config.tar
    6.5 KB · Views: 283
The critical error says "C compiler cannot create executables". That could be for any number of reasons, starting with not being logged in (or su(1)ed to root).
 
Hey,
I understand it.
To install screen I have to type:
Code:
cd /usr/ports/sysutils/screen
make install clean

And now what I have to do with su(1)?
Please help, it's very important.
 
His config.log file shows:

Code:
configure:1753: cc -V </dev/null >&5
cc: '-V' option must have argument
configure:1756: $? = 1
configure:1780: checking for C compiler default output
configure:1783: cc -O2 -pipe -fno-strict-aliasing   conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc

So I think the real question is: Why is is the system libc.so incompatible?

What's the output of:

[cmd=""]ls -l /usr/lib/libc.so*[/cmd]

Adam
 
adamk said:
His config.log file shows:

Code:
configure:1753: cc -V </dev/null >&5
cc: '-V' option must have argument
configure:1756: $? = 1
configure:1780: checking for C compiler default output
configure:1783: cc -O2 -pipe -fno-strict-aliasing   conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc

So I think the real question is: Why is is the system libc.so incompatible?

What's the output of:

[cmd=""]ls -l /usr/lib/libc.so*[/cmd]

Adam

It appears:
Code:
-rwxrwxrwx  1 root  wheel   892344 Sep 18  2009 /usr/lib/libc.so
-rwxrwxrwx  1 root  wheel  1146580 Jun 29 18:20 /usr/lib/libc.so.5

Help me & I'm already log in with the user root.
 
What FreeBSD version are you running?

The screenshot says that you are fetching packages for 9-CURRENT
 
Tuni said:
I'm running FreeBSD 9.0 64bit

Did you somehow try to change your PACKAGESITE because it appears that you were trying to install wrong packages.
What software does the server run now?
 
Tuni said:
Code:
-rwxrwxrwx  1 root  wheel   892344 Sep 18  2009 /usr/lib/libc.so
-rwxrwxrwx  1 root  wheel  1146580 Jun 29 18:20 /usr/lib/libc.so.5

You have two instead of one, both are plain files instead of a link, and it is .5 rather than .7. No way to tell how it got that way.

Code:
% ls -l /usr/lib/libc.so*
lrwxr-xr-x  1 root  wheel  14 Jul  8 13:26 /usr/lib/libc.so -> /lib/libc.so.7

A rebuild from source would be a good step.
 
Back
Top