Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

make error on Ubuntu 12.10 server 64bit #1616

Closed
wlbksy opened this Issue · 3 comments

4 participants

@wlbksy
    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

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
Owner

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

@andreasnoack
Collaborator

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.