avatar
c*t
2
When I run 'make', I get the following message:

ld.so.1: make: fatal: relocation error: file make: symbol _setlocale: referenced symbol not found
Killed
What's wrong? I can compile files with command line mode.
Help me!
avatar
m*m
3
Your 'make' uses different(out-of-date or wrong) library.
Get a new 'make' or
update your libraries. Do a 'ldd make' to see what
libraries it depends on,
and if they are the one on your system.

【在 c**t 的大作中提到】
: When I run 'make', I get the following message:
:
: ld.so.1: make: fatal: relocation error: file make: symbol _setlocale: referenced symbol not found
: Killed
: What's wrong? I can compile files with command line mode.
: Help me!

avatar
c*t
4

/usr/local/bin> ldd make
libelf.so.1 => /usr/lib//libelf.so.1
libsocket.so.1 => /usr/lib//libsocket.so.1
libc.so.1 => /usr/lib//libc.so.1
libnsl.so.1 => /usr/lib//libnsl.so.1
libdl.so.1 => /usr/lib//libdl.so.1
libmp.so.2 => /usr/lib//libmp.so.2
Then, how to revise? Thanks

【在 m*******m 的大作中提到】
: Your 'make' uses different(out-of-date or wrong) library.
: Get a new 'make' or
: update your libraries. Do a 'ldd make' to see what
: libraries it depends on,
: and if they are the one on your system.

avatar
m*m
5

Check if you have these libs at the right location.

【在 c**t 的大作中提到】
:
: /usr/local/bin> ldd make
: libelf.so.1 => /usr/lib//libelf.so.1
: libsocket.so.1 => /usr/lib//libsocket.so.1
: libc.so.1 => /usr/lib//libc.so.1
: libnsl.so.1 => /usr/lib//libnsl.so.1
: libdl.so.1 => /usr/lib//libdl.so.1
: libmp.so.2 => /usr/lib//libmp.so.2
: Then, how to revise? Thanks

avatar
c*t
6

Yes, they are there.
I add /usr/lib to PATH. It doesn't work. 8-(

【在 m*******m 的大作中提到】
:
: Check if you have these libs at the right location.

avatar
D*N
7
Funny. My make is located at /usr/bin instead of /usr/local/bin
did you check to see if you've a /usr/bin/make and ldd that?
The libraries are there probably, but ldd won't know more than that..
You didn't say:
-Which platform is this? linux? Solaris2.4? 2.5?
-Can you run make at all?
Best thing to do seems to be getting a new version of make or see if you have
something like gmake which is just the same thing as gnu make...

【在 m*******m 的大作中提到】
:
: Check if you have these libs at the right location.

avatar
m*m
8
Good point. Check to see if your put /usr/local/bin ahead
of /usr/bin in your
path.

【在 D****N 的大作中提到】
: Funny. My make is located at /usr/bin instead of /usr/local/bin
: did you check to see if you've a /usr/bin/make and ldd that?
: The libraries are there probably, but ldd won't know more than that..
: You didn't say:
: -Which platform is this? linux? Solaris2.4? 2.5?
: -Can you run make at all?
: Best thing to do seems to be getting a new version of make or see if you have
: something like gmake which is just the same thing as gnu make...

avatar
c*t
9

No.
$PATH
/home/cogt/bin:.:..:/home/proj/esps/bin:.:/opt/SUNWspro/bin:/bin:
/usr/bin:/usr/local/bin:/usr/local/include:/usr/ccs/bin:/usr/openwin/bin:/usr/ucb:
/usr/sbin:/opt/s32cdsp/bin5:

【在 m*******m 的大作中提到】
: Good point. Check to see if your put /usr/local/bin ahead
: of /usr/bin in your
: path.

avatar
c*t
10

ldd is located at /usr/bin
make is located at /usr/local/bin
I don't have the privilege to install software. 8-(

【在 D****N 的大作中提到】
: Funny. My make is located at /usr/bin instead of /usr/local/bin
: did you check to see if you've a /usr/bin/make and ldd that?
: The libraries are there probably, but ldd won't know more than that..
: You didn't say:
: -Which platform is this? linux? Solaris2.4? 2.5?
: -Can you run make at all?
: Best thing to do seems to be getting a new version of make or see if you have
: something like gmake which is just the same thing as gnu make...

avatar
w*n
11

You propbaly can install make in your home tree.

【在 c**t 的大作中提到】
:
: ldd is located at /usr/bin
: make is located at /usr/local/bin
: I don't have the privilege to install software. 8-(

avatar
c*t
12

Unfortunately, I cannot. 8-(

【在 w*****n 的大作中提到】
:
: You propbaly can install make in your home tree.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。