Hi! I am trying to install pacsone into ubuntu server 10.10 and when try run install.sh scrpit I have the following error:
Configuring PacsOne Server...
The following library is missing:
libmysqlclient.so.15 => not found libmysqlclient.so.15 => not found
where I could get the libMySQLClient.so.15 library? or update pacsone to new 16 library?
Best regards
Ricardo
Ubuntu server error with libmysqlclient.so.15
-
- Posts:15
- Joined:Fri Jun 18, 2010 3:14 am
You'll need to download the shared compatibility MySQL client package for the version/platform of MySQL installed on your server, e.g.,
MySQL-shared-compat-x.y.z.i586.rpm
from the MySQL download size:
http://www.mysql.com/downloads/mysql/#downloads
The compatibility package will include older client libraries such as the libmysqlclient.so.15 required by PacsOne Server.
MySQL-shared-compat-x.y.z.i586.rpm
from the MySQL download size:
http://www.mysql.com/downloads/mysql/#downloads
The compatibility package will include older client libraries such as the libmysqlclient.so.15 required by PacsOne Server.
-
- Posts:15
- Joined:Fri Jun 18, 2010 3:14 am
Ubuntu Server MySQL error
Ok the MySQL library problem is solved download this chrome://downloads/home/ricardo/Downloads/MySQL-shared-compat-5.5.8-1.linux2.6.i386.rpm
Now create the user, and database and when execute sudo ./install.sh run fine to step:
ricardo@ubuntu-pacs:~/pacsone$ sudo ./install.sh
[sudo] password for ricardo:
Checking for pre-requisites...
OK.
Using default /sbin/chkconfig.
Configuring PacsOne Server Startup Scripts...
Done.
Configuring JPEG-LS Library...
libtool: install: /usr/bin/install -c .libs/libjpegls.so.1.0 /usr/local/lib/libjpegls.so.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libjpegls.so.1.0 libjpegls.so.1 || { rm -f libjpegls.so.1 && ln -s libjpegls.so.1.0 libjpegls.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libjpegls.so.1.0 libjpegls.so || { rm -f libjpegls.so && ln -s libjpegls.so.1.0 libjpegls.so; }; })
libtool: install: /usr/bin/install -c .libs/libjpegls.lai /usr/local/lib/libjpegls.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Configuring MySql Libraries...
libtool: install: /usr/bin/install -c .libs/libmysqlpp.so.2.3.2 /usr/local/lib/libmysqlpp.so.2.3.2
libtool: install: (cd /usr/local/lib && { ln -s -f libmysqlpp.so.2.3.2 libmysqlpp.so.2 || { rm -f libmysqlpp.so.2 && ln -s libmysqlpp.so.2.3.2 libmysqlpp.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmysqlpp.so.2.3.2 libmysqlpp.so || { rm -f libmysqlpp.so && ln -s libmysqlpp.so.2.3.2 libmysqlpp.so; }; })
libtool: install: /usr/bin/install -c .libs/libmysqlpp.lai /usr/local/lib/libmysqlpp.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Done.
Configuring ImageMagick Libraries...
libtool: install: /usr/bin/install -c .libs/libMagick-5.5.6-Q16.so.0.0.0 /usr/local/lib/libMagick-5.5.6-Q16.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libMagick-5.5.6-Q16.so.0.0.0 libMagick-5.5.6-Q16.so.0 || { rm -f libMagick-5.5.6-Q16.so.0 && ln -s libMagick-5.5.6-Q16.so.0.0.0 libMagick-5.5.6-Q16.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libMagick-5.5.6-Q16.so.0.0.0 libMagick.so || { rm -f libMagick.so && ln -s libMagick-5.5.6-Q16.so.0.0.0 libMagick.so; }; })
libtool: install: /usr/bin/install -c .libs/libMagick.lai /usr/local/lib/libMagick.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
dcm.la
gif.la
jpeg.la
ttf.la
Done.
Configuring PacsOne Server...
************************************************************
Welcome to PacsOne Server Premium Edition Installation!
************************************************************
Will This Be a [N]ew Installation or pgrade?
Please Enter [N] or => N
Please Enter Application Entity Title for PacsOne Server Premium Edition: =>pac
Please Enter Server Port Number for PacsOne Server Premium Edition: =>4006
Please Enter Database Name for PacsOne Server Premium Edition: =>pac
Please Enter Username for PacsOne Server Premium Edition: =>pacsone
Please Enter User Password for PacsOne Server Premium Edition: (Not Echoed for Security) =>
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/ricardo/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 'smsrl'
before creating new tables
Press OK to confirm or CANCEL to abort.
*******************************************************************
[O]K [C]ANCEL =>O
*******************************************************************
Database 'smsrl' and/or Username 'pacsone' 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]: =>
the root password it's OK!! and user is created with all grants !! but not login
I try mysql from command prompt and it's ok but ... please help me
Best Regards
Ricardo
Now create the user, and database and when execute sudo ./install.sh run fine to step:
ricardo@ubuntu-pacs:~/pacsone$ sudo ./install.sh
[sudo] password for ricardo:
Checking for pre-requisites...
OK.
Using default /sbin/chkconfig.
Configuring PacsOne Server Startup Scripts...
Done.
Configuring JPEG-LS Library...
libtool: install: /usr/bin/install -c .libs/libjpegls.so.1.0 /usr/local/lib/libjpegls.so.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libjpegls.so.1.0 libjpegls.so.1 || { rm -f libjpegls.so.1 && ln -s libjpegls.so.1.0 libjpegls.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libjpegls.so.1.0 libjpegls.so || { rm -f libjpegls.so && ln -s libjpegls.so.1.0 libjpegls.so; }; })
libtool: install: /usr/bin/install -c .libs/libjpegls.lai /usr/local/lib/libjpegls.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Configuring MySql Libraries...
libtool: install: /usr/bin/install -c .libs/libmysqlpp.so.2.3.2 /usr/local/lib/libmysqlpp.so.2.3.2
libtool: install: (cd /usr/local/lib && { ln -s -f libmysqlpp.so.2.3.2 libmysqlpp.so.2 || { rm -f libmysqlpp.so.2 && ln -s libmysqlpp.so.2.3.2 libmysqlpp.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmysqlpp.so.2.3.2 libmysqlpp.so || { rm -f libmysqlpp.so && ln -s libmysqlpp.so.2.3.2 libmysqlpp.so; }; })
libtool: install: /usr/bin/install -c .libs/libmysqlpp.lai /usr/local/lib/libmysqlpp.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Done.
Configuring ImageMagick Libraries...
libtool: install: /usr/bin/install -c .libs/libMagick-5.5.6-Q16.so.0.0.0 /usr/local/lib/libMagick-5.5.6-Q16.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libMagick-5.5.6-Q16.so.0.0.0 libMagick-5.5.6-Q16.so.0 || { rm -f libMagick-5.5.6-Q16.so.0 && ln -s libMagick-5.5.6-Q16.so.0.0.0 libMagick-5.5.6-Q16.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libMagick-5.5.6-Q16.so.0.0.0 libMagick.so || { rm -f libMagick.so && ln -s libMagick-5.5.6-Q16.so.0.0.0 libMagick.so; }; })
libtool: install: /usr/bin/install -c .libs/libMagick.lai /usr/local/lib/libMagick.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
dcm.la
gif.la
jpeg.la
ttf.la
Done.
Configuring PacsOne Server...
************************************************************
Welcome to PacsOne Server Premium Edition Installation!
************************************************************
Will This Be a [N]ew Installation or pgrade?
Please Enter [N] or => N
Please Enter Application Entity Title for PacsOne Server Premium Edition: =>pac
Please Enter Server Port Number for PacsOne Server Premium Edition: =>4006
Please Enter Database Name for PacsOne Server Premium Edition: =>pac
Please Enter Username for PacsOne Server Premium Edition: =>pacsone
Please Enter User Password for PacsOne Server Premium Edition: (Not Echoed for Security) =>
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/ricardo/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 'smsrl'
before creating new tables
Press OK to confirm or CANCEL to abort.
*******************************************************************
[O]K [C]ANCEL =>O
*******************************************************************
Database 'smsrl' and/or Username 'pacsone' 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]: =>
the root password it's OK!! and user is created with all grants !! but not login
I try mysql from command prompt and it's ok but ... please help me
Best Regards
Ricardo
There seemed to be conflicting database names from the screen-shot you posted, i.e., is the database name 'pacs' or 'smsrl'?
If not sure, you can login to MySQL and run the following command at the MySQL shell prompt to find out:
If not sure, you can login to MySQL and run the following command at the MySQL shell prompt to find out:
Code: Select all
# mysql -u root -p
mysql>show databases;