launch-julia-webserver fails for installed package #830

Closed
mjakl opened this Issue May 12, 2012 · 5 comments

3 participants

@mjakl

It seems that the webserver links to an absolute path during compile time which may not present after make install.

I've installed julia to /usr/share/julia and deleted the compilation directory. Running launch-julia-webserver gives me:

Connect to http://localhost:2000/ for the web REPL.
2012-05-13 00:51:19: (plugin.c.169) dlopen() failed for: /home/user/Downloads/archlinux-JuliaLang/src/julia-build/usr/lib/mod_indexfile.so /home/user/Downloads/archlinux-JuliaLang/src/julia-build/usr/lib/mod_indexfile.so: cannot open shared object file: No such file or directory 
2012-05-13 00:51:19: (server.c.657) loading plugins finally failed 
SCGI server started on port 2001.
0 open sessions.
@ViralBShah
The Julia Language member

This seems like an issue with the lighttpd build.

@ViralBShah
The Julia Language member

I really don't know what to do about this. :-(

@mjakl

Thanks, maybe I can find a way to compile lighthttp with the correct path. I'll close the issue since it's more or less a packaging-issue.

@mjakl mjakl closed this May 21, 2012
@ViralBShah
The Julia Language member

The right thing might be to USE_SYSTEM_LIGHTTPD if available.

@johnmcdonnell

Just in case anyone finds this, I found it was looking for the lighttpd plugins in /lib, while on my machine (Arch linux) they were in /lib/lighttpd. I assume this is true of all Arch users so I could patch this. I'm forking now to fix it.

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