Topic: missing shared libX11 in Ubuntu 16.04

I have started using an old linux PC on which I had an old pianoteq running.
I have upgraded the OS to Ubuntu 16.04, running in a new partition, and downloaded and uncompressed the latest pianoteq 5 upgrade.
When I try to run it from the command line it complains it cannot find libX11 version 6 shared lib.  It is there in the usual Ubuntu place.

Do I need to do a symbolic link somewhere or extend the environment variable shared lib path?

Will the licence accept running in the new partition?

If I do a clean linux mint install, can I download and run pianoteq on the existing registration , or do I need to unregister the machine?

I will probably go to version 6 anyway, and add some more instruments - the demo recordings sound good.

I have recently got a Yamaha n1x - excellent action, decent sound system, limited instruments, lousy control interface, but should work nicely with pianoteq?

Last edited by stuartmacg (16-08-2019 19:59)

Re: missing shared libX11 in Ubuntu 16.04

Hi there,

my answer might not be an exact solution... but I recommend trying to install Pianoteq from the repository instead of downloading it. I am running Arch Linux, and could not get Pianoteq to run when I tried the downloaded version from Pianoteq. Then I realized there is repository for Arch Linux to install it, and that worked out of the box.

I haven't checked whether that is the same on Ubuntu, but I would be surprised if they didn't have some ready to install package for you... and if they do, I would try that first.

Cheers,
DrTebi

Re: missing shared libX11 in Ubuntu 16.04

@stuartmacg
Have you started the Pianoteq binary in the amd64 or i386 directory?
What is logged to the commandline when it fails?
You can run ldconfig as root from commandline to refresh your dynamic linked libs first.

Re: missing shared libX11 in Ubuntu 16.04

to groovy

Here is what I have done:-

sudo ldconfig

cd Pianoteq\ 5\ STAGE/i386

./Pianoteq\ 5\ STAGE

./Pianoteq 5 STAGE: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

The X11 stuff is here:

/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libX11.so.6
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.

I will look for a Ubuntu installer.

Thanks

Last edited by stuartmacg (17-08-2019 11:59)

Re: missing shared libX11 in Ubuntu 16.04

stuartmacg wrote:

to groovy

Here is what I have done:-

sudo ldconfig

cd Pianoteq\ 5\ STAGE/i386

./Pianoteq\ 5\ STAGE

./Pianoteq 5 STAGE: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

The X11 stuff is here:

/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libX11.so.6
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.


... you are trying to start the 32-bit binary. You should probably use the 64-bit version (for intel and amd cpu) -->

cd Pianoteq\ 5\ STAGE/amd64
./Pianoteq\ 5\ STAGE

Re: missing shared libX11 in Ubuntu 16.04

Yes I found that out finally - I assumed amd64 required an AMD processor.
Thanks

I get to the next hurdle - it wants to register, but the machine is already registered via an old OS in a different partition in the same PC.

Will this use a new "slot"?

If so can i unregister the old/current slot allocation, without killing pianoteq in that machine for ever after?

Re: missing shared libX11 in Ubuntu 16.04

stuartmacg wrote:

Yes I found that out finally - I assumed amd64 required an AMD processor.
Thanks

I get to the next hurdle - it wants to register, but the machine is already registered via an old OS in a different partition in the same PC.

Will this use a new "slot"?

If so can i unregister the old/current slot allocation, without killing pianoteq in that machine for ever after?

Glad to hear it works with 64-bit!

Has the second OS on the machine gotten the same hostname? Then it should use the same "slot" for registration as before. But that is just my guess/opinion, because anything else makes no sense to me.

PS: I would NOT unregister the machine until you know what would happen!

Re: missing shared libX11 in Ubuntu 16.04

All OK now.

I did the activation and it correctly updated my registration without using a new slot.

I expect a re-format and new OS install would also work - it must get hardware stats somehow - don't care as long as it works :-).

Re: missing shared libX11 in Ubuntu 16.04

Thumbs up!

Re: missing shared libX11 in Ubuntu 16.04

stuartmacg wrote:

Yes I found that out finally - I assumed amd64 required an AMD processor.

Don't feel bad about it, it happened to me countless of times as well! I don't know why they had to name it amd64... very confusing indeed.