Skip to content


make error on Ubuntu 12.10 server 64bit #1616

wlbksy opened this Issue · 3 comments

4 participants

The Julia Language member
    CC src/dump.o
    CC src/toplevel.o
    CC src/gc.o
    LINK usr/lib/
/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/] 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
The Julia Language 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.

The Julia Language member

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

The Julia Language member

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

@vtjnash vtjnash closed this in a6e75e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.