Installation issue on Ubuntu

Trouble during PacsOne Server installations
pdoukas
Posts:16
Joined:Thu Sep 13, 2007 1:12 pm
Installation issue on Ubuntu

Post by pdoukas » Thu Sep 13, 2007 1:32 pm

All,

Therer is a post which is similar and I have followed it but to no avail. I will post the link but hope someone can guide me through the installation here. I just didn't want an admin to think I did not look for a solution prior to posting:

http://pacsone.net/forum/viewtopic.php? ... ht=install

My issue pertains to Ubuntu server 6.06 LTS. I get all the way to the install script and get an error message that says that I need libtools but they do not exist.

I did a which libtool and got no reply. I cannot find libtool for ubuntu at the rpmfind site. However, I did do a sudo apt-get install libtool and a series of things occurred and something installed so I assumed it was libtool. I did another which libtool and nothing appeared in the output.

Now, I am no linux guru at all, been messing with it for about a week! However, I'm not an idiot and I can manage to get around just fine. Please bear with me and I'm sure we will get this installed. Any assistance would be greatly appreaciated.

Pete

For whatever reason, I was able to get libtool installed and placed in the correct directory. However now I get this:


root@ubuntu:/home/pacsone# ./install.sh
Checking for pre-requisites...
libfreetype package is required but not installed.

so I did a which libfreetype and got no output.

so then I did this:

root@ubuntu:/home/pacsone# sudo apt-get install libfreetype
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package libfreetype

I also want to add that when I do a which libtool the output is at
/usr/bin/libtool

I just want to make sure that is the right directory.

And this is where I am now stuck at.

Pete

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

Post by pacsone » Thu Sep 13, 2007 2:42 pm

Here's the RPM packages for libfreetype from rpmfind.net:

http://www.rpmfind.net/linux/rpm2html/s ... mit=Search+...

And here's for libtool:

http://www.rpmfind.net/linux/rpm2html/s ... tem=&arch=

pdoukas
Posts:16
Joined:Thu Sep 13, 2007 1:12 pm

Post by pdoukas » Thu Sep 13, 2007 3:25 pm

Hi,

Well this is where it gets confusing for me since I have no linux experience. As I said before I was able to get libtool installed. But in your post, you have 9 packages at that site and non of them refer to ubuntu. Additionally, I do not know how to download or install from that site from the command line. I apologize for my ignorance but that's the truth. I can do a "wget" but from that point I wouldn't know what directory to download it to or anything.

Pete

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

Post by pacsone » Thu Sep 13, 2007 5:48 pm

You can download the particular package for your processor type, i.e., i586, i386, x86_64, etc. The Linux variants should not matter but if they did, you can always download the source package and build it on your Linux box.

To install the RPM package from a command shell, run the following command

Code: Select all

# rpm -ivh your.package.rpm
# man rpm

pdoukas
Posts:16
Joined:Thu Sep 13, 2007 1:12 pm

Post by pdoukas » Thu Sep 13, 2007 6:32 pm

Once again, I have no experience with linux aside from general commands and being just dangerous enough to really freak things up.

I'll make it simple for everyone, is there a free linux distro that this works on AND installs without any issues?

Pete

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

Post by pacsone » Thu Sep 13, 2007 6:39 pm

You'll need to find a Linux distribution that comes with libtool and libfreetype pre-installed, or make sure you select these software packages during the Linux installation.

We've tested PacsOne Server Premium Edition on the following Linux distributions:

Fedora Core 4/5
SuSe Linux 9.x/10.x
Redhat Enterprise Linux 5

pdoukas
Posts:16
Joined:Thu Sep 13, 2007 1:12 pm

Post by pdoukas » Thu Sep 13, 2007 8:23 pm

Ok I've been able to get the script to begin the install but now I am stuck with mysql.

When I try to create the database and username I get an error saying:

Failed to setup mysql user : [username] : [can't connect to local mysql server through socket ' /var/lib/mysql/mysql.sock' (2)]

I used all default entries up until now.

Pete

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

Post by pacsone » Fri Sep 14, 2007 1:47 am

It's most probably because MySQL is using a non-default socket on your server, and you can run the following command from a local shell to find out which socket name MySQL is using:

Code: Select all

# ps -ef|grep mysqld

pdoukas
Posts:16
Joined:Thu Sep 13, 2007 1:12 pm

Post by pdoukas » Fri Sep 14, 2007 1:09 pm

You were absolutely correct. Additionally, I was able to get the application to install on ubuntu. I will post my corrections so others using ubuntu do no have this issue.

HOWEVER, although it seems the install went well, I cannot bring up the application on a web browser but that's an issue for another day as my laptop is about to die and I have to travel today.

Regards,

Pete

rvencu
Posts:53
Joined:Thu Aug 16, 2012 9:46 am

CentOS installation troubles

Post by rvencu » Thu Aug 16, 2012 9:50 am

pacsone wrote:You'll need to find a Linux distribution that comes with libtool and libfreetype pre-installed, or make sure you select these software packages during the Linux installation.

We've tested PacsOne Server Premium Edition on the following Linux distributions:

Fedora Core 4/5
SuSe Linux 9.x/10.x
Redhat Enterprise Linux 5
Hi, I try to install PACSOne Premium to this environment:
ESXi5 Free with VM
CentOS 6.3, 64bits,
Package freetype-2.3.11-6.el6_2.9.x86_64 already installed and latest version
Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version

and I still get the error:

libfreetype package is required but not installed.

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

Post by pacsone » Thu Aug 16, 2012 12:11 pm

The Linux version of the PacsOne Server Installer checks the following path for the installed libfreetype library:

Code: Select all

/usr/lib/libfreetype.so
So if your Linux distribution has installed the libfreetype package somewhere else, you can simply create a symbolic link with the above path to the actual location where the libfreetype library is installed. This should get you past the Installer check and allow it to continue with the rest of the PacsOne Server installation.

rvencu
Posts:53
Joined:Thu Aug 16, 2012 9:46 am

Post by rvencu » Thu Aug 16, 2012 3:10 pm

pacsone wrote:The Linux version of the PacsOne Server Installer checks the following path for the installed libfreetype library:

Code: Select all

/usr/lib/libfreetype.so
So if your Linux distribution has installed the libfreetype package somewhere else, you can simply create a symbolic link with the above path to the actual location where the libfreetype library is installed. This should get you past the Installer check and allow it to continue with the rest of the PacsOne Server installation.
Done that, now I have problems with:
libmysqlclient.so.15 => not found libmysqlclient.so.15 => not found

I tried to locate it and I found installed the

/usr/lib64/mysql/libmysqlclient.so.16

symlink trick did not work... no matter where I tried to put it

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

Post by pacsone » Thu Aug 16, 2012 11:11 pm

You'll need to download and install the MySQL Shared Compatibility package (MySQL-shared-compat-*.rpm) for your installed MySQL version and platform, which includes the missing older MySQL client library you reported above.

rvencu
Posts:53
Joined:Thu Aug 16, 2012 9:46 am

Post by rvencu » Fri Aug 17, 2012 7:50 am

pacsone wrote:You'll need to download and install the MySQL Shared Compatibility package (MySQL-shared-compat-*.rpm) for your installed MySQL version and platform, which includes the missing older MySQL client library you reported above.
So I did, now I have it in /usr/lib and the error persists.

I created a new symlink into /usr/lib64 and there is no chance, the error still pops up.

rvencu
Posts:53
Joined:Thu Aug 16, 2012 9:46 am

Post by rvencu » Fri Aug 17, 2012 1:09 pm

rvencu wrote:
pacsone wrote:You'll need to download and install the MySQL Shared Compatibility package (MySQL-shared-compat-*.rpm) for your installed MySQL version and platform, which includes the missing older MySQL client library you reported above.
So I did, now I have it in /usr/lib and the error persists.

I created a new symlink into /usr/lib64 and there is no chance, the error still pops up.
Solved. I found out that my db installation was 32bit not 64bit as supposed to. Wrong yum repository for MariaDB. After reinstalling all 64 bit components I could finish the installation.

Thanks

Post Reply