First follow these instructions for installing MarkLogic on Ubuntu 8.10. Skip step 4 and step 6 as Linux Standard Base (LSB) is already installed. If it's not installed, the files mentioned won't work as they aren't available and the current version of LSB is already beyond that version number.
When you have MarkLogic installed, starting it may give you an error: "error while loading shared libraries: libbteuclid.so.6.5.1: cannot open shared object file: No such file or directory". To get around this error I had to do the following:
- Create a new ld.so.conf.d file. I called mine MarkLogic.conf:
- Run ldconfig
The binary files may have hard coded shared links to a relative path (hrmph) and need to modify the MarkLogic init script to bypass the start_daemon lsb-base wrapper script by replacing line 41:
/sbin/start-stop-daemon --start --nicelevel 0 --quiet --exec $BINARY --chdir $MARKLOGIC_INSTALL_DIR --oknodo --pidfile $MARKLOGIC_PID_FILE
Reboot or rerun "/etc/init.d/MarkLogic start"