Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save idimopoulos/628f6a6ba46c862ab6c790cc712c14b5 to your computer and use it in GitHub Desktop.
Save idimopoulos/628f6a6ba46c862ab6c790cc712c14b5 to your computer and use it in GitHub Desktop.
Virtuoso 7 Installation Notes
# For ubuntu 16.04, ppa:ondrej/php repository also includes openssl > 1.1.0 which is incompatible with virtuoso.
# To build virtuoso, version 1.0.2 is needed which exists in the default ubuntu repos.
# Remove the repo above with
# sudo add-apt-repository --remove ppa:ondrej/php
# and re install openssl 1.0.2. After the compilation of virtuoso, you can upgrade the openssl version without breaking
# Virtuoso.
sudo apt-get update
sudo apt-get install autoconf automake libtool flex bison gperf gawk m4 make openssl libssl-dev
sudo apt-get install git wget curl libreadline-dev
sudo git clone https://github.com/openlink/virtuoso-opensource.git /tmp/virtuoso
cd /tmp/virtuoso
sudo git checkout stable/7
sudo ./autogen.sh
export CFLAGS="-O2 -m64"
sudo ./configure
sudo make
sudo make install
# Create appropriate links.
sudo ln -s /usr/local/virtuoso-opensource/bin/virtuoso-t /usr/local/bin/virtuoso-t
sudo ln -s /usr/local/virtuoso-opensource/bin/isql /usr/local/bin/isql
@idimopoulos
Copy link
Author

Since Virtuoso, as of the moment of writting this comment, does not yet support custom build with openssl1.1, you can install openssl1.0 without removing 1.1 and target this version for the configuration.

sudo apt-add-repository -y ppa:rael-gc/rvm
# If needed
sudo apt update
# Below, change the version with the corresponding latest version of 1.0.
sudo apt-get install -y --allow-downgrades openssl1.0=1.0.2n-1ubuntu5.3

Now, change in the above script, the ./configure with

# And in the above virtuoso guide, change the `./configure` with
./configure --enable-openssl=/usr/lib/ssl1.0

@idimopoulos
Copy link
Author

This is now the best candidate I think. https://github.com/feup-infolab/virtuoso7-debs

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