libmysqlclient.so.15 not found...

Trouble during PacsOne Server installations
Post Reply
gjame
Posts:30
Joined:Mon Jul 03, 2006 5:03 pm
libmysqlclient.so.15 not found...

Post by gjame » Thu Apr 14, 2011 6:24 pm

I am running Fedora 14 64 bit version, with mysql 5.5.11 and I have downloaded and installed the mysql-shared-compat-5.5.11-1 package but am still getting an error when trying to install that the libmysqlclient.so.15 file is not found. I have verified the file does exist in the /usr/lib64/ directory. Any help as to why pacsone is not installing would be appreciated!

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

Post by pacsone » Thu Apr 14, 2011 10:44 pm

Did you run the ldconfig command to update the link editor (LD) cache to include the directory where the MySQL client shared compatibility library is installed (/usr/lib64/)?

gjame
Posts:30
Joined:Mon Jul 03, 2006 5:03 pm

Post by gjame » Fri Apr 15, 2011 1:27 pm

I'm not an expert in linux so I may be doing something wrong, but I've run the command 'ldconfig /usr/lib64/' and still get this error when I run the 'ldd Setup.exe' command:

linux-gate.so.1 => (0x00af9000)
libmysqlpp.so.2 => /usr/local/lib/libmysqlpp.so.2 (0x00c13000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00e56000)
libm.so.6 => /lib/libm.so.6 (0x00405000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a90000)
libc.so.6 => /lib/libc.so.6 (0x411c9000)
/lib/ld-linux.so.2 (0x411a8000)
libmysqlclient.so.15 => not found
libz.so.1 => not found
libmysqlclient.so.15 => not found

Am I doing something wrong?

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

Post by pacsone » Fri Apr 15, 2011 3:22 pm

Are you sure you've downloaded the 64-bit version of PacsOne Server? The output of the ldd command above suggests it's 32-bit version instead.

gjame
Posts:30
Joined:Mon Jul 03, 2006 5:03 pm

Post by gjame » Fri Apr 15, 2011 4:51 pm

I guess that would be a problem huh :D It now sees all the libraries and continues on through the setup, but it gets stuck when trying to create the database and username saying it can't connect to database as root, even though I can connect to mysql through the command line using mysql -u root -p. This is the output the setup is giving me:

Use Default Database Client Connection Settings Below ?
(TCP Port = [3306], Socket = [/var/lib/mysql/mysql.sock])
Please Type [Y]es, [N]o or ENTER to Use Default => Y

Please Enter Logfile Directory for PacsOne Server Premium Edition: [/home/pacsone/log]
Press ENTER if default value is OK =>

Please Enter Default Archive Directory for PacsOne Server Premium Edition: [/var/pacsone/]
Press ENTER if default value is OK =>

Please Enter Storage Format: Dicom Part 10[X] or [N]ative
Please Enter [X] or [N] => X

Enable HL-7 Message Listner Option?
Please Enter [Y] or [N] => N

*******************************************************************
Setup will delete any existing tables in database 'miarchive2'
before creating new tables

Press OK to confirm or CANCEL to abort.
*******************************************************************
[O]K [C]ANCEL =>O

*******************************************************************
Database 'miarchive2' and/or Username 'jsamson' does not appear to be valid

Would you like to set it up?
*******************************************************************
[Y]ES [N]O =>Y

Please Enter Database Password for Administrator [root]: =>
*******************************************************************
Failed to connect to database as: 'root'
*******************************************************************
[O]K =>O

Please Enter Database Password for Administrator [root]: =>
*******************************************************************
Failed to connect to database as: 'root'
*******************************************************************
[O]K =>^C

I'm positive I'm entering the correct password that's setup for root, any ideas?

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

Post by pacsone » Sat Apr 16, 2011 3:32 am

Check the socket name MySQL is currently running on your server actually matches with the default socket name you selected (i.e., /var/lib/mysql/mysql.sock):

Code: Select all

# ps -ef|grep mysqld
The output of the above command should reveal exactly what socket name MySQL is currently listening to, so you need to use that same socket name if it's different from the default.

gjame
Posts:30
Joined:Mon Jul 03, 2006 5:03 pm

Post by gjame » Mon Apr 18, 2011 2:21 pm

This is my output from that command. I don't see a sock file which is wierd. I can find the sock file in the /var/lib/mysql/ directory:

root 10198 1 0 09:11 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/miarchive3.medicalimagingkc.com.pid
mysql 10275 10198 0 09:11 pts/0 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/miarchive3.medicalimagingkc.com.err --pid-file=/var/lib/mysql/miarchive3.medicalimagingkc.com.pid
root 10934 4271 0 09:19 pts/0 00:00:00 grep --color=auto mysqld

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

Post by pacsone » Mon Apr 18, 2011 3:44 pm

You can also check your MySQL configuration file (default is /etc/my.cnf for Linux platforms) to see what socket name is currently configured.

gjame
Posts:30
Joined:Mon Jul 03, 2006 5:03 pm

Post by gjame » Mon Apr 18, 2011 7:23 pm

I gave up an reloaded Fedora 14 and tried to start from scratch. I'm now getting a completely different problem and it seems I've gone backwards. I'm running mysql 5.5, can log in from the console. I try to run install.sh and it tells me libfreetype package is not installed, but it is. I run the ldd Setup.exe command and it gives me this output:

linux-vdso.so.1 => (0x00007fff9e4fe000)
libmysqlpp.so.2 => not found
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000031ce600000)
libm.so.6 => /lib64/libm.so.6 (0x00000031c3200000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000031c3600000)
libc.so.6 => /lib64/libc.so.6 (0x00000031c2200000)
libmysqlclient.so.15 => /usr/lib64/libmysqlclient.so.15 (0x00007f04015b0000)
/lib64/ld-linux-x86-64.so.2 (0x00000031c1a00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000031c2600000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000031cd200000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00000031d2600000)
libfreebl3.so => /usr/lib64/libfreebl3.so (0x00000031cd600000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000031c2a00000)

This is the output of ldconfig -p | grep libfree:

libfreetype.so.6 (libc6,x86-64) => /usr/lib64/libfreetype.so.6
libfreetype.so.6 (libc6) => /usr/lib/freetype-freeworld/libfreetype.so.6
libfreetype.so (libc6,x86-64) => /usr/lib64/libfreetype.so
libfreebob.so.0 (libc6,x86-64) => /usr/lib64/libfreebob.so.0
libfreebl3.so (libc6,x86-64) => /lib64/libfreebl3.so
libfreebl3.so (libc6,x86-64) => /usr/lib64/libfreebl3.so
libfreebl3.so (libc6) => /lib/libfreebl3.so
libfreebl3.so (libc6) => /usr/lib/libfreebl3.so

It sees it as there, but does not recognize it when I run the install. I see it does not see the libmysqlpp.so.2 package, but I have every mysql package installed I know of, and don't know where it's trying to find this. Please help, I'm getting extremely frustrated :)

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

Post by pacsone » Wed Apr 20, 2011 3:52 am

Try creating a symbolic link from the /usr/lib directory to the /usr/lib64/libfreetype.so:

Code: Select all

# ln -s /usr/lib64/libfreetype.so /usr/lib/libfreetype.so
Then re-run the install.sh Installer and the missing free type library error should disappear.

The libmysqlpp.so will be installed by the PacsOne Server Installer, so you don't need to worry about that before you run the install.sh Installer.

gjame
Posts:30
Joined:Mon Jul 03, 2006 5:03 pm

Post by gjame » Wed Apr 20, 2011 4:00 pm

That worked! Thanks so much for your help!

Post Reply