Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 5 hours, 35 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

OM 6.14.1 does not install on Ubuntu 17.10

Author 4 Subscribed Users |
Profile photo of gogins
gogins

mkg@bodhimandala:~/Downloads$ sudo apt install ./OM_6.14.1.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘openmusic’ instead of ‘./OM_6.14.1.deb’
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openmusic : Depends: libcurl4 but it is not installable
E: Unable to correct problems, you have held broken packages.

I installed libcurl4-openssl-dev and libcurl4-gnutls-dev but OM still would not install.

August 30, 2018 at 17:00 #27573
Profile photo of anders
anders

What’s the correct package name for libcurl4 the various Ubuntu releases? I needed libcurl4 in the .spec file to take care of some dependency of Juce, and have OM run on Ubuntu 18.04.1

I don’t use Ubuntu myself, and have no idea why the various releases use different names for packages. Perhaps it’s stupid of me to use the latest release, ie Ubuntu 18.04.1? Would be very happy for some guidance here as to what is the right thing for Ubuntu-users, thanks.

Perhaps I should list libcurl4-openssl-dev as a dependency in the .spec file when building the package?

You could also try ‘apt-get install -f’ after the first ‘apt install OM-6.14.1.deb’ fails, to make the install complete. If the various libcurl4-** packages you have installed provides the right libs for Juce, OM should run just fine.

If it’s just name conflicts of the various libcurl4*** packages, you could also use the tar-ball, and just run OM from inside the extracted directory.

August 30, 2018 at 22:01 #27576
Profile photo of anders
anders

I’ve updated the various linux builds with the fixes to the global variable package.

For Ubuntu 18.04.1 i checked substituting libcurl4 with libcurl4-openssl-dev in the deps in the controlfile for dpkg. But while building this dep in turn dragged in libcurl4, so doubt this will fix the issue you’re seeing on 17.10.

-anders

September 5, 2018 at 12:42 #27637
Profile photo of anders
anders

Updated downloads for Linux. Only edit is incorrect version-numbers in previous files.

September 6, 2018 at 14:31 #27648
Profile photo of rc
rc

Hi,

I’m trying to install OM_6.14.deb from https://forge.ircam.fr/p/OM/downloads/ but I have this:

dpkg: dependency problems prevent configuration of openmusic:
openmusic depends on libcurl4; however:
Package libcurl4 is not installed.

dpkg: error processing package openmusic (–install):
dependency problems – leaving unconfigured

I already have libcurl4-openssl-dev installed and using the “apt-get install -f” just removes the broken openmusic package.

Any help to install om in ubuntu 16.04.5 would be appreciated.

Best regards,
RC

November 16, 2018 at 05:27 #28341
Profile photo of rc
rc

Since there’s no reaction to this issue I installed OM_6.13.deb from the deprecated files in ubuntu 16.04.5, so far it’s working as expected.

November 16, 2018 at 16:50 #28342
Profile photo of Karim
Karim

Dear RC

If your 6.13 is running, this means it installed the right libs and dependencies.
Anders (he ported om to linux), develop on fedora, so the libraries don’t have the same versions which is problematic.
But if these where installed and running, on your Ubintu, what you can is :

1) Download the tar and not the package (https://forge.ircam.fr/p/OM/downloads/725/) whithout removing your installation.
2) Untar it and put the folder in your ~/bin if you have or elsewhere.
3) Create a script (you can name it what you want):

#!/bin/sh

LD_LIBRARY_PATH=’.’ /home/yourloginname/bin/OM_6.14.1/OM_6.14.1

4) chmod u+x yourscript.sh

5) Put the script in your binaries path.

You should be able to launch om by calling your script from a terminal or whatever. I have four versions running this way.

Best
K

November 16, 2018 at 18:20 #28343
Profile photo of rc
rc

Thank you, Karim!
Very useful information.
Btw, I was able to install OM_6.14.deb in another machine with ubuntu 18.04.1 LTS without any problem (with the same libcurl4-openssl-dev).
Although a self compiled omaudiolib was mandatory…
Best regards,
rc

November 17, 2018 at 15:51 #28344
Profile photo of anders
anders

Hi rc.

As Karim hints at, I currently build the packages for latest Fedora, which i run myself, as well as latest Ubuntu (ie. Ubuntu 18.04 atm) on a virtual machine.

I don’t think it makes much sense for me packaging OM for many different distros out there, given the tar-ball (.tar.bz2) which anyone can extract and put together a package for whatever distro they prefer to run. Have a look in the control file in the current deb or extract the wanted info from the .rpm, it should be straight forward to adjust to whatever distro you want to build packages for. Or just install manually from the tar-ball.

In the case of the missing dep for libcurl4 in Ubuntu 16.04, i’m sure it exists as a package for your Ubuntu, you probably have it installed already. When you find it, install it in the usual way, then just ignore that dependency when installing OM from the .deb (ie. OM doesn’t care what the package is named, as long as the actual lib (ie. libcurl.so) is installed where your loader expects to find it when starting OM.

November 18, 2018 at 20:38 #28357

You must be logged in to reply to this topic.

Log in now