Index ¦ Archives ¦ Atom

MarkLogic install on Ubuntu 9.04 and libbteuclid and libbtunicode

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: cannot open shared object file: No such file or directory". To get around this error I had to do the following:

  1. Create a new file. I called mine MarkLogic.conf: touch /etc/
  2. Add /opt/MarkLogic/Basis/lib to the /etc/ file.
  3. 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:

start_daemon $BINARY


/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"

© Steve Spigarelli. Built using Pelican. Theme by Giulio Fidente on github.