You are here

Linux Sampler lv2 issue: cannot open shared object file

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/ ( cannot open shared object file: No such file or directory)

On my system, is in the above directory, /usr/lib64/lv2/linuxsampler.lv2/, but not However, in /usr/lib64/linuxsampler/, there is both a and These are symlinks which point to 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. and symlinks to, 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:


Thanks in advance.

rncbc's picture

you should add /usr/lib64/linuxsampler to your /etc/ 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/

and then yes, run as well:

# ldconfig

if you're not willing to reboot just now.


I tried the above but it didn't work straight away - the error changed to complain about, so I added the path to this too as per your instructions and it worked finally. Thanks as ever for your prompt assistance. Have also learnt about in the process :-)

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

This time it's gigedit. I'm trying to run your rpm (gigedit- but it fails with the following:

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

Beforehand, I'd added /usr/lib64/gigedit to /etc/, 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?

rncbc's picture

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.


OK, thanks anyway. I've had a lot of problems building from src but will give it another try.

Add new comment