Synister Synth

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Synister Synth

Post by ubuntuuser »

rghvdberg wrote:Noob dev question here.
If you compile the plugin statically linked to libc shouldn't that make the plugin work without installing a specific version of libc?

If so, could someone give me a hint how to do that?
For a vst, static doesn't need to come into it unless you want static libraries linked in which might help with compatibility like in the above library problem, but I've seen problems with static libraries with some vst's.

When it's linked there is a -shared option indicating that a shared library is being made, and Linux vst's are shared libraries.

The Makefile I used for the vst is here https://github.com/osxmidi/the-source/b ... e/Makefile

The LDFLAGS are the linking options (-shared, libraries -lX11 etc) and the CFLAGS are the compiling options (optimizations -O3 -ffast-math etc)

-------------

CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DNDEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=1.0.2 -DJUCE_APP_VERSION_HEX=0x10002 -I /usr/include -I /usr/include/freetype2 -I ../../../vst -I ../../JuceLibraryCode -I ../../JuceLibraryCode/modules
CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -O3 -ffast-math -I../../../audio/inc -I../../../gui
CXXFLAGS += $(CFLAGS) -std=c++11
LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -Wl,--no-undefined -shared -fvisibility=hidden -lX11 -lXext -lfreetype -ldl -lpthread -lrt
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Synister Synth

Post by briandc »

ubuntuuser wrote:
If you do a ls -la on the libstdc++.so.6 files, then you can see what they are pointing to.

On my system libstdc++.so.6 points to libstdc++.so.6.0.22

You only have libstdc++.so.6.0.20, so it's an older version and is probably causing the error.

So if you can install libstdc++.so.6.0.22 for your distro, then it should be ok.
I only have 6-4.8 and 6-4.9 in my repos. :(
Maybe there's another ppa I can add that includes it?


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Synister Synth

Post by ubuntuuser »

..
Last edited by ubuntuuser on Wed Nov 15, 2017 12:06 pm, edited 1 time in total.
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Synister Synth

Post by briandc »

ubuntuuser wrote:
I've made a 64 bit and 32 bit vst static version which may (may not) work on your system https://github.com/osxmidi/synister/blo ... static.zip
I tried this static version. It didn't work for some reason. Am I correct that it requires a host like Carla or Qtractor? It's a VST instrument, right? Or dssi or ladspa/LV2?


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Synister Synth

Post by ubuntuuser »

briandc wrote:
ubuntuuser wrote:
I've made a 64 bit and 32 bit vst static version which may (may not) work on your system https://github.com/osxmidi/synister/blo ... static.zip
I tried this static version. It didn't work for some reason. Am I correct that it requires a host like Carla or Qtractor? It's a VST instrument, right? Or dssi or ladspa/LV2?


brian
It's a Linux vst, and Ardour/Tracktion/BitWig/Reaper and other hosts can all handle it.

The static version has my libraries linked into it so theoretically it shouldn't need your libstdc++ but I don't know if it will work on your distro.

Can you update your distro, what is your distro btw?
User avatar
davephillips
Established Member
Posts: 592
Joined: Sat Aug 15, 2015 1:05 pm
Has thanked: 35 times
Been thanked: 23 times

Re: Synister Synth

Post by davephillips »

ubuntuuser wrote:
briandc wrote:
ubuntuuser wrote:
I've made a 64 bit and 32 bit vst static version...
I tried this static version. It didn't work for some reason.
It's a Linux vst, and Ardour/Tracktion/BitWig/Reaper and other hosts can all handle it.

The static version has my libraries linked into it so theoretically it shouldn't need your libstdc++ but I don't know if it will work on your distro.
I think that versioning symbols are causing the problem :

Code: Select all

$ ldd synister32.so 
./synister32.so: /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./synister32.so)
Ditto for the 64-bit build. Neither loads here (Bitwig 2.1.1), but I'm on Fedora 21 x86_64, a rather old system.

Btw, this is a problem too, but only on the 64-bit binary :

Code: Select all

libmvec.so.1 => not found
I compiled the synth from the git sources, it works fine in Bitwig 2.1.1.

Brian, you'll have to update your system to use those binaries, or build the synth yourself.

HTH,

dp
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Synister Synth

Post by briandc »

Hi guys,

my distro is AntiX (Debian) with the KXstudio repos added. I looked for a dist-upgrade but there was nothing to upgrade to.
I don't have Bitwig, but I can try using Ardour and see what that gives me.
Could it be something to do with file permissions?


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Synister Synth

Post by ubuntuuser »

briandc wrote:Hi guys,

my distro is AntiX (Debian) with the KXstudio repos added. I looked for a dist-upgrade but there was nothing to upgrade to.
I don't have Bitwig, but I can try using Ardour and see what that gives me.
Could it be something to do with file permissions?


brian
I've used AntiX before.

Seeing that it's based on Debian, then you can probably just install or upgrade gcc and libstdc++ might be upgraded.

But I'm not sure what debian base version AntiX is and if gcc is available in the right version libstdc++.so.6.0.22 or higher

This (gcc5) installs libstdc++.so.6.0.24

https://packages.debian.org/sid/gcc-5

The new AntiX 17 is based on Debian 9 'Stretch'

AntiX 16.2 is based on Debian 8.8 "Jessie"

Just find Debian Jessie gcc5 and install it if you have AntiX 16.2

--------

https://unix.stackexchange.com/question ... jessie-8-1

To install GCC 5+ from testing on debian jessie using apt-pinning:

Add debian testing repo to your apt sources by creating a file on /etc/apt/sources.list.d folder containing the line deb http://ftp.us.debian.org/debian testing main contrib non-free

Instruct debian to use testing sources on certain packages by creating a file on /etc/apt/preferences.d containing the following:

Package: *
Pin: release a=testing
Pin-Priority: 100

Update apt database: sudo apt-get update

Install gcc from testing: sudo apt-get install -t testing gcc

Note that using -t testing you tell apt-get to install gcc from testing sources as configured earlier.
Last edited by ubuntuuser on Sun Jul 09, 2017 1:22 pm, edited 6 times in total.
User avatar
davephillips
Established Member
Posts: 592
Joined: Sat Aug 15, 2015 1:05 pm
Has thanked: 35 times
Been thanked: 23 times

Re: Synister Synth

Post by davephillips »

briandc wrote:Could it be something to do with file permissions?
Run ldd on the plugin binaries and post the results. See my previous message for the howto (it's just "ldd /path/to/pluginname.so").

dp
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Synister Synth

Post by briandc »

ubuntuuser wrote: I've used AntiX before.

Seeing that it's based on Debian, then you can probably just install or upgrade gcc and libstdc++ might be upgraded.

But I'm not sure what debian base version AntiX is and if gcc is available in the right version libstdc++.so.6.0.22 or higher

This (gcc5) installs libstdc++.so.6.0.24

https://packages.debian.org/sid/gcc-5

The new AntiX 17 is based on Debian 9 'Stretch'

AntiX 16.2 is based on Debian 8.8 "Jessie"

Just find Debian Jessie gcc5 and install it if you have AntiX 16.2

--------

https://unix.stackexchange.com/question ... jessie-8-1

To install GCC 5+ from testing on debian jessie using apt-pinning:

Add debian testing repo to your apt sources by creating a file on /etc/apt/sources.list.d folder containing the line deb http://ftp.us.debian.org/debian testing main contrib non-free

Instruct debian to use testing sources on certain packages by creating a file on /etc/apt/preferences.d containing the following:

Package: *
Pin: release a=testing
Pin-Priority: 100

Update apt database: sudo apt-get update

Install gcc from testing: sudo apt-get install -t testing gcc

Note that using -t testing you tell apt-get to install gcc from testing sources as configured earlier.
I can't include the Debian testing repository with uninstalling a whole lot of apps that I need.
I did however find the Kxstudio GCC5 package, but I get this error:

Code: Select all

kxstudio-repos-gcc5:
 PreDepends: libglibmm-2.4-1v5  but it is not installable
brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Synister Synth

Post by briandc »

davephillips wrote: Run ldd on the plugin binaries and post the results. See my previous message for the howto (it's just "ldd /path/to/pluginname.so").

dp

Code: Select all

ldd synister32.so 
./synister32.so: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./synister32.so)
	linux-gate.so.1 (0xb777a000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6fe0000)
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb6fcb000)
	libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb6f18000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6f13000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6ef8000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6eef000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6dfd000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6db7000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6c43000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6c1d000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6c00000)
	libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6bd3000)
	/lib/ld-linux.so.2 (0x800f2000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6bb5000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb6bb1000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6bab000)

brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
User avatar
davephillips
Established Member
Posts: 592
Joined: Sat Aug 15, 2015 1:05 pm
Has thanked: 35 times
Been thanked: 23 times

Re: Synister Synth

Post by davephillips »

briandc wrote:
davephillips wrote:Run ldd on the plugin binaries and post the results.

Code: Select all

ldd synister32.so 
./synister32.so: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./synister32.so)
Boom. As advised, upgrade your C/C++ compiler, upgrade the system itself, or build the synth locally.

Best,

dp
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Synister Synth

Post by ubuntuuser »

briandc wrote:
ubuntuuser wrote: I've used AntiX before.

Seeing that it's based on Debian, then you can probably just install or upgrade gcc and libstdc++ might be upgraded.

But I'm not sure what debian base version AntiX is and if gcc is available in the right version libstdc++.so.6.0.22 or higher

This (gcc5) installs libstdc++.so.6.0.24

https://packages.debian.org/sid/gcc-5

The new AntiX 17 is based on Debian 9 'Stretch'

AntiX 16.2 is based on Debian 8.8 "Jessie"

Just find Debian Jessie gcc5 and install it if you have AntiX 16.2

--------

https://unix.stackexchange.com/question ... jessie-8-1

To install GCC 5+ from testing on debian jessie using apt-pinning:

Add debian testing repo to your apt sources by creating a file on /etc/apt/sources.list.d folder containing the line deb http://ftp.us.debian.org/debian testing main contrib non-free

Instruct debian to use testing sources on certain packages by creating a file on /etc/apt/preferences.d containing the following:

Package: *
Pin: release a=testing
Pin-Priority: 100

Update apt database: sudo apt-get update

Install gcc from testing: sudo apt-get install -t testing gcc

Note that using -t testing you tell apt-get to install gcc from testing sources as configured earlier.
I can't include the Debian testing repository with uninstalling a whole lot of apps that I need.
I did however find the Kxstudio GCC5 package, but I get this error:

Code: Select all

kxstudio-repos-gcc5:
 PreDepends: libglibmm-2.4-1v5  but it is not installable
brian
https://www.linuxmusicians.com/viewtopic.php?t=15374
ubuntuuser
Established Member
Posts: 315
Joined: Mon Jan 02, 2017 9:46 am
Has thanked: 1 time
Been thanked: 5 times

Re: Synister Synth

Post by ubuntuuser »

I've made Ubuntu 14.04 64 bit and 32 bit versions, so they should also run on older systems.

I've updated the link in the first post.
Last edited by ubuntuuser on Sat Nov 18, 2017 4:41 am, edited 1 time in total.
User avatar
gennargiu
Established Member
Posts: 389
Joined: Sun Dec 18, 2016 9:56 pm
Been thanked: 14 times

Re: Synister Synth

Post by gennargiu »

Hi, i have a test synister synth on debian 9 stretch with kxstudio repository and ardour 5.12. It's work perfect :wink:

gennaro

Image
Hp Elite 8200 3,1 Ghz - 16 Giga Ram Hd 2 Terabyte - Mx Linux 19.4-Ardour 6.8 - Mixbus 7
Asus X54c - Mx Linux 19.4-Ardour 6.8- Mixbus 7-RPI3 + Raspbian Buster- Rpi4 (4giga ram)
Post Reply