make error on Ubuntu 12.10 server 64bit #1616

Closed
wlbksy opened this Issue Nov 27, 2012 · 3 comments

Comments

Projects
None yet
4 participants
@wlbksy
Member

wlbksy commented Nov 27, 2012

    CC src/dump.o
    CC src/toplevel.o
    CC src/gc.o
    LINK usr/lib/libjulia-release.so
/usr/bin/ld: /home/wanglei/julia/usr/lib/uv.a(async.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/home/wanglei/julia/usr/lib/uv.a(async.o): could not read symbols: Bad value 
collect2: error: ld returned 1 exit status
make[2]: *** [/home/wanglei/julia/usr/lib/libjulia-release.so] Error 1
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

`wanglei@IC:~/julia$ uname -a`
Linux IC 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
@wlbksy

This comment has been minimized.

Show comment
Hide comment
@wlbksy

wlbksy Nov 27, 2012

Member

I'm not good at typesetting, all lines except "the last but one" line are output of Ubuntu terminal.
Have completely removed whole julia folder, tried make again, got the same error, so paste it here.

Member

wlbksy commented Nov 27, 2012

I'm not good at typesetting, all lines except "the last but one" line are output of Ubuntu terminal.
Have completely removed whole julia folder, tried make again, got the same error, so paste it here.

@Keno

This comment has been minimized.

Show comment
Hide comment
@Keno

Keno Nov 27, 2012

Member

Seems like "-fPIC" is missing from the libuv make command. @vtjnash Didn't you commit something recently that changed this?

Member

Keno commented Nov 27, 2012

Seems like "-fPIC" is missing from the libuv make command. @vtjnash Didn't you commit something recently that changed this?

@andreasnoack

This comment has been minimized.

Show comment
Hide comment
@andreasnoack

andreasnoack Nov 27, 2012

Member

I can confirm that deleting deps/libuv and running make CFLAGS+=-fPIC solves the problem on my machine.

Member

andreasnoack commented Nov 27, 2012

I can confirm that deleting deps/libuv and running make CFLAGS+=-fPIC solves the problem on my machine.

@vtjnash vtjnash closed this in a6e75e3 Nov 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment