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!
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!
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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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!
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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!
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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.
m*m
5 楼
Check if you have these libs at the right location.
【在 c**t 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: /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
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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
:
: Check if you have these libs at the right location.
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: Check if you have these libs at the right location.
m*m
8 楼
Good point. Check to see if your put /usr/local/bin ahead
of /usr/bin in your
path.
【在 D****N 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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...
of /usr/bin in your
path.
【在 D****N 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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...
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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...
相关阅读
How to get average load in Solaris?How to redirect error messages to a file?/devices/pci@1f,0/files write rightssimple unix question请教!为什么我从group里copy 别人的files时, ls -l 显示的所有者是别人Chinput搞不定了Re: exceed&windows: copy& paste[转载] 怎么把.dvi文件转化成.ps文件并保存?SunOS 5.8发email的程序叫什么?请教关于vi[转载] any one using blackbox/openbox?Mount cdrom failurels in Unix (Sun)请问Soalris 8的cache line size 是多少?[转载] command to save output最后问一个activate terminal[转载] cvs questionCDE unlock log[转载] 请教高手如何在程序中查询CPU当前的utilization?