libmysqlclient.so.15 and newer distributions

Trouble during PacsOne Server installations
Post Reply
tburba
Posts:50
Joined:Fri Apr 23, 2010 5:02 pm
Contact:
libmysqlclient.so.15 and newer distributions

Post by tburba » Mon Oct 06, 2014 12:36 pm

I remember that even about 2 years ago it was rather difficult to find these old MySQL client libraries for some Linux distributions. But, the customer didn't object about installing a package from older release or from some non-official repository.

This time the requirements are more strict:
Since we always have the latest versions of all system softwares due to security reasons AND we are using other softwares on our servers too we definately need a PacsServer which we are able to run on this environment. We can not accept using an old mysql library on our servers.

Is it possible to us use your software without the runtime environment so we will always be able to update our system and run your software in the same time?
This is PacsOne 6.4.1 and, if I remember correctly, they have already paid for a 5-AE license. I checked your newest 6.4.3, it is still linked against the .15, while Debian, for example, offers .18 currently.

Do you by chance have a build that always uses the newest possible dependencies?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Mon Oct 06, 2014 4:42 pm

Can you try simply creating a symlink named libmysqlclient.so.15 and link it to the current libmysqlclient.so.18 under the same directory where libmysqlclient.so.18 is located? e.g.,

Code: Select all

# ln -s libmysqlclient.so.15 libmysqlclient.so.18
Then check and verify the run-time link editor can find it by running the following command from the directory where PacsOne is installed:

Code: Select all

# ldd PacsOne.exe

FWmaster
Posts:4
Joined:Thu Feb 04, 2016 5:00 pm

Re: libmysqlclient.so.15 and newer distributions

Post by FWmaster » Thu Feb 04, 2016 5:09 pm

Up

Same problem on Debian 8 distrib and libmysqlclient.so.15 as symlink to libmysqlclient.so.18.
Setup.exe is searching for library version and ends with the following error :

Code: Select all

The following library is missing:
./Setup.exe: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.15: version `libmysqlclient_15' not found (required by ./Setup.exe) ./Setup.exe: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.15: version `libmysqlclient_15' not found (required by /usr/local/lib/libmysqlpp.so.2)
Some other libraries paths are hardcoded in install.sh and don't match with debian distrib lib paths.

Maybe install scripts should be a little "modernized" with more recent libraries...

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: libmysqlclient.so.15 and newer distributions

Post by pacsone » Thu Feb 04, 2016 5:36 pm

We have included a copy of the "libmysqlclient.so.15" library with all Linux packages of PacsOne Server, and it should have been extracted into the same directory where PacsOne Server is installed. So you no longer need to create any sym link to the newer versions of the MySQL client library.

Can you verify that "libmysqlclient.so.15" library does exist in the directory where PacsOne Server is installed?

FWmaster
Posts:4
Joined:Thu Feb 04, 2016 5:00 pm

Re: libmysqlclient.so.15 and newer distributions

Post by FWmaster » Mon Feb 08, 2016 10:30 am

libmysqlclient.so.15 exists in pacsone directory, but install script returns error :

Code: Select all

The following library is missing:
libmysqlclient.so.15 => not found
I had to add a symlink for /usr/lib64 to /usr/lib/x86_64-linux-gnu, where libfreetype libraries are installed in debian distrib, because the path is hardcoded in install.sh. Maybe the path to mysql libraries is hardcoded somewhere too, and I must add another symlink. Can you tell me ?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: libmysqlclient.so.15 and newer distributions

Post by pacsone » Tue Feb 09, 2016 3:50 pm

Can you run the following command from the directory where PacsOne Server is installed?

Code: Select all

# ldd Setup.exe
It seems odd that the link editor (LD) could not find "libmysqlclient.so.15" which should be in the exact same directory as all the PacsOne run-time executables, e.g., "Setup.exe". So you may have to modify the search path of the link editor (LD) and include the current directory ("./") in the list of its search paths.

FWmaster
Posts:4
Joined:Thu Feb 04, 2016 5:00 pm

Re: libmysqlclient.so.15 and newer distributions

Post by FWmaster » Wed Feb 10, 2016 4:06 pm

Finaly I symlinked the library :

Code: Select all

ln -s /home/pacsone/libmysqlclient.so.15.0.0 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.15
and the install ended with success !

Now I have another problem when starting pacsone : there's no licence.dat file in the directory and the daemon ends with error : Invalid license or license has expired!

How can I get a trying licence for Linux ?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: libmysqlclient.so.15 and newer distributions

Post by pacsone » Thu Feb 11, 2016 4:48 pm

You can request foone@r a new trial license by sending the output text of the following command run from a local shell to mailto:pacsone@pacsone.net:

1. you are running Windows, type:

C:\>ipconfig /all

2. If you are running Linux/MacOS, type:

% uname -a;/sbin/ifconfig

Please also indicate whether you need a 32-bit or 64-bit version for the new trial license.

Post Reply