-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installing julia on Ubuntu with bug #22358
Comments
Your compiler might be too old. Try installing at least gcc-4.8 and putting the following in
|
Why not use the precompiled binaries? |
@JeffBezanson this is the gcc version in the systerm and where the Make.user ? I didn't find it. @ViralBShah I'm sorry that how to use the precompiled binaries? |
will be fixed by #22352 |
curl -OL https://status.julialang.org/download/linux-x86_64
mkdir julia-nightly
tar xf linux-x86_64 -C julia-nightly --strip-components=1
cd julia-nightly
./bin/julia |
Since #22352 is merged, this should be addressed. |
@dreamqin68 Make.user is a file you create in the top-level julia directory to make it easier to pass options to the build. |
It's not in the git repo because the whole point is that it is a local file specific to your system. |
It could be the conflict between the $ which llvm-config
/opt/anaconda/bin/llvm-config
$ llvm-config --ldflags
-L/opt/anaconda/lib -lz -lpthread -lrt -ldl -lm It seems julia uses its own $ cd ${JULIA_SRC_ROOT}
$ usr/tools/llvm-config --ldflags
-L/home/cyc/Data/src/julia/usr/lib Apparently, the two In this case, you can execute the following commands before compiling to fix it. export PATH=/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin
unset LD_LIBRARY_PATH
unset JULIA_HOME
unset JULIA_ROOT The Then, $ make -j4
$ prefix=/path/to/install make install |
the error report:
the systerm:Linux ubuntu 4.4.0-79-generic
The text was updated successfully, but these errors were encountered: