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.
re. Linux Sampler lv2 issue: liblinuxsampler.so.4: cannot open
you should add
/usr/lib64/linuxsampler
to your/etc/ld.so.conf
and then runldconfig
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
re. Linux Sampler lv2 issue: liblinuxsampler.so.4: cannot open
I tried the above but it didn't work straight away - the error changed to complain about
libgig.so.7
, 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 aboutld.so.conf
in the process :-)Linux Sampler issue (can't start gigedit)
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 ranldconfig
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?
re. Linux Sampler issue (can't start gigedit)
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
re. Linux Sampler issue (can't start gigedit)
OK, thanks anyway. I've had a lot of problems building from src but will give it another try.
Add new comment