When running ./install.sh. It runs OK until it gets down to:
Configuring PacsOne Server...
/home/pacsone/Setup.exe: error while loading shared libraries: libmysqlpp.so.1: cannot open shared object file: no such file or directory.
This file does exists in /usr/loca/lib.
Our Software Versions are:
Fedora Core2 2.6.9-1.11_FC2
PHP 4.3.10
MySQL 3.23.58
Apache 2.0.51
Any ideas how to fix the problem?
Setup.exe error - libmysqlpp.so.1 cannot open shared object
You can run ldconfig or add /usr/local/lib to your PATH environment variable.
The above is done in the installation script install.sh so I'm not sure why you would get such errors from running the script. Did you run the install.sh as root?
You can run ldd on Setup.exe and make sure there is no missing libraries in the output:
#ldd Setup.exe
The above is done in the installation script install.sh so I'm not sure why you would get such errors from running the script. Did you run the install.sh as root?
You can run ldd on Setup.exe and make sure there is no missing libraries in the output:
#ldd Setup.exe
Still not working after addingi /usr/local/lib to the path
We are running install.sh as root. We are still having problems after adding /usr/local/lib to our path. Below is some more info.
OUR PATH:
echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/local/lib
FILES IN /USR/LOCAL/LIB
[root@localhost pacsone]# ll /usr/local/lib
total 4172
drwxr-xr-x 3 root root 4096 Jan 4 15:41 ImageMagick-5.5.6-Q16
-rwxr-xr-x 1 root root 466 Jan 4 17:58 libjpeg.la
lrwxrwxrwx 1 root root 17 Jan 4 17:58 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 Jan 4 17:58 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 158708 Jan 4 17:58 libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 28 Jan 4 17:58 libMagick-5.5.6-Q16.so.0 -> libMagick-5.5.6-Q16.so.0.0.0
-rwxr-xr-x 1 root root 1523738 Jan 4 17:58 libMagick-5.5.6-Q16.so.0.0.0
-rwxr-xr-x 1 root root 795 Jan 4 17:58 libMagick.la
lrwxrwxrwx 1 root root 28 Jan 4 17:58 libMagick.so -> libMagick-5.5.6-Q16.so.0.0.0
-rwxr-xr-x 1 root root 801 Jan 4 17:58 libmysqlpp.la
lrwxrwxrwx 1 root root 19 Jan 4 17:58 libmysqlpp.so -> libmysqlpp.so.1.0.0
lrwxrwxrwx 1 root root 19 Jan 4 17:58 libmysqlpp.so.1 -> libmysqlpp.so.1.0.0
-rwxr-xr-x 1 root root 2555650 Jan 4 17:58 libmysqlpp.so.1.0.0
INFO FROM LDD SETUP.EXE
[root@localhost pacsone]# ldd Setup.exe
libmysqlpp.so.1 => not found
libm.so.6 => /lib/tls/libm.so.6 (0x00b1b000)
libc.so.6 => /lib/tls/libc.so.6 (0x007e4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x006fb000)
OUR PATH:
echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/local/lib
FILES IN /USR/LOCAL/LIB
[root@localhost pacsone]# ll /usr/local/lib
total 4172
drwxr-xr-x 3 root root 4096 Jan 4 15:41 ImageMagick-5.5.6-Q16
-rwxr-xr-x 1 root root 466 Jan 4 17:58 libjpeg.la
lrwxrwxrwx 1 root root 17 Jan 4 17:58 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 Jan 4 17:58 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 158708 Jan 4 17:58 libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 28 Jan 4 17:58 libMagick-5.5.6-Q16.so.0 -> libMagick-5.5.6-Q16.so.0.0.0
-rwxr-xr-x 1 root root 1523738 Jan 4 17:58 libMagick-5.5.6-Q16.so.0.0.0
-rwxr-xr-x 1 root root 795 Jan 4 17:58 libMagick.la
lrwxrwxrwx 1 root root 28 Jan 4 17:58 libMagick.so -> libMagick-5.5.6-Q16.so.0.0.0
-rwxr-xr-x 1 root root 801 Jan 4 17:58 libmysqlpp.la
lrwxrwxrwx 1 root root 19 Jan 4 17:58 libmysqlpp.so -> libmysqlpp.so.1.0.0
lrwxrwxrwx 1 root root 19 Jan 4 17:58 libmysqlpp.so.1 -> libmysqlpp.so.1.0.0
-rwxr-xr-x 1 root root 2555650 Jan 4 17:58 libmysqlpp.so.1.0.0
INFO FROM LDD SETUP.EXE
[root@localhost pacsone]# ldd Setup.exe
libmysqlpp.so.1 => not found
libm.so.6 => /lib/tls/libm.so.6 (0x00b1b000)
libc.so.6 => /lib/tls/libc.so.6 (0x007e4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x006fb000)
Brent
Looks like /usr/local/lib is not added to your LD cache.
Run the following to see if anything from /usr/local/lib is in your current LD cache:
# /sbin/ldconfig -p
If not, add it as below:
# /sbin/ldconfig -n /usr/local/lib
and then verify using the first command to see if anything from /usr/local/lib gets added to the ld cache.
The bottom line is: there should be no missing libraries from the ldd Setup.exe output.
Run the following to see if anything from /usr/local/lib is in your current LD cache:
# /sbin/ldconfig -p
If not, add it as below:
# /sbin/ldconfig -n /usr/local/lib
and then verify using the first command to see if anything from /usr/local/lib gets added to the ld cache.
The bottom line is: there should be no missing libraries from the ldd Setup.exe output.
libmysqlpp.so.1 => not found by Setup.exe
We ran # /sbin/ldconfig -p and usr/local/lib was not listed in the cache
Then we ran
# /sbin/ldconfig -n /usr/local/lib
Then we verfied with /sbin/ldconfig -p usr/local/lib was not listed
Also ran ldd Setup.exe with same result
libmysqlpp.so.1 => not found
We can put this server out on the web if you would like to ssh in and take a look.
Then we ran
# /sbin/ldconfig -n /usr/local/lib
Then we verfied with /sbin/ldconfig -p usr/local/lib was not listed
Also ran ldd Setup.exe with same result
libmysqlpp.so.1 => not found
We can put this server out on the web if you would like to ssh in and take a look.
ldconfig no flag corrected issue
Running ldconfig without the flag corrrected the issue.
ldd Setup.exe showed the correct output
install.sh ran and let us complete the setup
Thanks .
ldd Setup.exe showed the correct output
install.sh ran and let us complete the setup
Thanks .
Brent