Linux Sampler lv2 issue: liblinuxsampler.so.4: cannot open shared object file

Forums

I'm trying to use Linux Sampler as an lv2 plugin in Qtractor but am getting the following error in the Messages window:

lilv_lib_open(): error: Failed to open library /usr/lib64/lv2/linuxsampler.lv2/linuxsampler.so (liblinuxsampler.so.4: cannot open shared object file: No such file or directory)

On my system, linuxsampler.so is in the above directory, /usr/lib64/lv2/linuxsampler.lv2/, but not liblinuxsampler.so.4. However, in /usr/lib64/linuxsampler/, there is both a liblinuxsampler.so.4 and liblinuxsampler.so. These are symlinks which point to liblinuxsampler.so.4.0.0 in the same directory.

Does this sound correct? I tried making symlinks in /usr/lib64/lv2/linuxsampler.lv2/ to reflect what's happening in /usr/lib64/linuxsampler/ (i.e. liblinuxsampler.so and liblinuxsampler.so.4 symlinks to liblinuxsampler.so.4.0.0), but this didn't work.

FYI, Linux Sampler was working originally, but I needed to install gparted, which gave me a "File Conflicts Detected" message in YaST (I'm on openSUSE Leap 42.2). When I finished with gparted I uninstalled it, then uninstalled/re-installed Linux Sampler, using the rpms in your archive as I did before, but now can't get it working. The problem is occurring with both new and previous sessions. Do you have any idea how I should fix this?

As I say, I'm using the rpms from this site, but in case you need to know the actual file names, they are:

gigedit-1.0.0.25svn3099-20.rncbc.suse.x86_64.rpm
libgig7-4.0.0.11svn3099-20.rncbc.suse.x86_64.rpm
libgig-devel-4.0.0.11svn3099-20.rncbc.suse.x86_64.rpm
liblilv-0-0-0.24.2-16.rncbc.suse.x86_64.rpm
liblilv-devel-0.24.2-16.rncbc.suse.x86_64.rpm
liblinuxsampler4-2.0.0.41svn3099-20.rncbc.suse.x86_64.rpm
liblinuxsampler-devel-2.0.0.41svn3099-20.rncbc.suse.x86_64.rpm
liblscp6-0.5.8svn3099-20.rncbc.suse.x86_64.rpm
liblscp-devel-0.5.8svn3099-20.rncbc.suse.x86_64.rpm
lilv-0.24.2-16.rncbc.suse.x86_64.rpm
linuxsampler-2.0.0.41svn3099-20.rncbc.suse.x86_64.rpm
linuxsampler-dssi-2.0.0.41svn3099-20.rncbc.suse.x86_64.rpm
linuxsampler-lv2-2.0.0.41svn3099-20.rncbc.suse.x86_64.rpm

Thanks in advance.

Permalink

you should add /usr/lib64/linuxsampler to your /etc/ld.so.conf and then run ldconfig at least once.

or just in case you're into opensuse as me, it might be a one time strike doing the follwing as root:

# echo "/usr/lib64/linuxsampler" > /etc/ld.so.conf.d/linuxsampler.conf

and then yes, run as well:

# ldconfig

if you're not willing to reboot just now.

hth.
cheers

Permalink

I'm still having problems with LinuxSampler I'm afraid :-(

This time it's gigedit. I'm trying to run your rpm (gigedit-1.0.0.25svn3099-20.rncbc.suse.x86_64.rpm) but it fails with the following:

Initializing 3rd party services needed by gigedit.
gigedit: symbol lookup error: /usr/lib64/gigedit/libgigedit.so.3: undefined symbol: _ZNK4Glib5ValueIbE17create_param_specERKNS_7ustringES4_S4_NS_10ParamFlagsE

Beforehand, I'd added /usr/lib64/gigedit to /etc/ld.so.conf, then ran ldconfig and rebooted, as you advised last time. I'm not sure whether this is correct, but I thought I'd give it a try.

I also tried the other rpm in your archive (gigedit-1.0.0-16.rncbc.suse.x86_64.rpm), together with the related rpms not marked "svn", but this failed with:

Initializing 3rd party services needed by gigedit.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)

In addition, when running the "svn" rpms, if I try to access the Instruments Database via JSampler it complains that LinuxSampler was built without Instruments Database support. However, this works with the none-svn rpms. Is Instruments Database support deliberately disabled in the svn rpms, or is this another issue with my system?

Permalink

yes, the instruments-db has been disabled on later builds here, sorry.

re. gigedit issues: you probably rather try to build it from source yourself, as on the my build system (opensuse tumbleweed) things just work, or at least seems to work-- i confess i don't run gigedit that often, sorry again.

cheers

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.
CAPTCHA
Enter the characters shown in the image.