Reset osticket admin password […]
Wrong JPEG library version: library is 62, caller expects 80
This is caused by multiple versions of libjpeg installed on the server. Check for libjpeg in library folders. Lib folders can be find by checking /etc/ld.so.conf
1 2 3 4 5 6 |
root@serv02 [/usr/lib]# cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib64/ /usr/local/lib /usr/lib root@serv02 [/usr/lib]# cd /usr/lib64/ |
Check version of libjpeg installed
1 2 3 4 5 6 7 8 |
cd /usr/lib64/ ls -la | grep jpeg cd /usr/local/lib ls -la | grep jpeg cd /usr/lib ls -la | grep jpeg |
Folder /usr/lib64/ have libjpeg.so.62.0.0 installed.
1 2 3 4 5 6 |
root@serv02 [/usr/lib]# cd /usr/lib64/ root@serv02 [/usr/lib64]# ls -la | grep jpeg lrwxrwxrwx 1 root root 17 Mar 8 09:54 libjpeg.so -> libjpeg.so.62.0.0* lrwxrwxrwx 1 root root 17 Mar 8 09:14 libjpeg.so.62 -> libjpeg.so.62.0.0* -rwxr-xr-x 1 root root 138936 Jan 6 2007 libjpeg.so.62.0.0* root@serv02 [/usr/lib64]# |
Folder /usr/local/lib have libjpeg.so.8.3.0 installed
1 2 3 4 5 6 7 8 9 10 11 |
root@serv02 [/usr/local/lib]# ls -la | grep jpeg drwxr-xr-x 4 uploadin users 12288 Mar 9 11:43 jpeg-8c/ -rw-r--r-- 1 root root 986681 Jan 16 10:22 jpegsrc.v8c.tar.gz -rw-r--r-- 1 root root 1759458 Mar 9 11:43 libjpeg.a -rwxr-xr-x 1 root root 916 Mar 9 11:43 libjpeg.la* lrwxrwxrwx 1 root root 16 Mar 9 11:43 libjpeg.so -> libjpeg.so.8.3.0* lrwxrwxrwx 1 root root 16 Mar 8 15:36 libjpeg.so.7 -> libjpeg.so.7.0.0* -rwxr-xr-x 1 root root 335442 Mar 8 15:36 libjpeg.so.7.0.0* lrwxrwxrwx 1 root root 16 Mar 9 11:43 libjpeg.so.8 -> libjpeg.so.8.3.0* -rwxr-xr-x 1 root root 968498 Mar 9 11:43 libjpeg.so.8.3.0* root@serv02 [/usr/local/lib]# |
To fix, deleted all libjpeg.so.62.0.0 files
1 2 |
cd /usr/lib64/ rm -f libjpeg.so.* |
Now create a […]
error while loading shared libraries: libmysqlclient.so.16
On installing postfix from source, when running make install command i get error
1 |
bin/postconf: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory |
This is because mysql library path is not in system library locations. To fix the error edit /etc/ld.so.conf
1 |
vi /etc/ld.so.conf |
Add following line to end of the file
1 |
/usr/lib/mysql |
Now run ldconfig
1 |
ldconfig |
[…]
configure: error: XML configuration could not be found
When i install php from source, i get the error
1 2 3 4 5 6 7 8 |
Running FastCGI Process Manager checks checking for php-fpm config file path... $prefix/etc/php-fpm.conf checking for php-fpm log file path... $prefix/logs/php-fpm.log checking for php-fpm pid file path... $prefix/logs/php-fpm.pid checking for XML configuration checking for xml2-config... no checking for xml-config... no configure: error: XML configuration could not be found |
The problem is fixed by installing libxml2-devel
1 |
yum install libxml2-devel |
See Errors […]
configure: error: Please reinstall the libcurl distribution
When compiling php from source for nginx web server, i get error
1 2 3 4 5 |
checking for cURL support... yes checking if we should use cURL for url streams... yes checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ |
On checking, found curl-devel not installed
1 2 3 4 5 6 |
[root@vps1 php-5.2.8]# yum list|grep curl curl.x86_64 7.15.5-2.el5 installed curl.i386 7.15.5-2.el5 installed curl-devel.x86_64 7.15.5-2.el5 base curl-devel.i386 7.15.5-2.el5 base [root@vps1 php-5.2.8]# |
The problem is fixed by installing curl-devel
1 |
yum -y install curl-devel |
See Errors […]
configure: error: No curses/termcap library found
On installing MySQL from source, i get error
1 2 3 4 5 |
checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap functions library... configure: error: No curses/termcap library found |
SOLUTION Lets search for ncurses
1 2 3 4 5 6 7 8 9 10 |
[root@server52 mysql-5.1.23-ndb-6.2.15]# yum list|grep ncurses Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Repository extras is listed more than once in the configuration ncurses.x86_64 5.5-24.20060715 installed ncurses.i386 5.5-24.20060715 installed ncurses-devel.i386 5.5-24.20060715 base ncurses-devel.x86_64 5.5-24.20060715 base php-ncurses.x86_64 5.1.6-15.el5 base [root@server52 mysql-5.1.23-ndb-6.2.15]# |
To fix the problem, install ncurses-devel
1 |
yum -y install ncurses-devel |
On Debian/Ubuntu do
1 2 |
apt-cache search ncurses apt-get install libncurses5-dev |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
[root@server52 mysql-5.1.23-ndb-6.2.15]# yum install ncurses-devel Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Repository extras is listed more than once in the configuration Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for ncurses-devel to pack into transaction set. ncurses-devel-5.5-24.2006 100% |=========================| 98 kB 00:00 ---> Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated ---> Downloading header for ncurses-devel to pack into transaction set. ncurses-devel-5.5-24.2006 100% |=========================| 98 kB 00:00 ---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ncurses-devel x86_64 5.5-24.20060715 base 1.7 M ncurses-devel i386 5.5-24.20060715 base 1.6 M Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.3 M Is this ok [y/N]: y Downloading Packages: (1/2): ncurses-devel-5.5- 100% |=========================| 1.7 MB 00:00 (2/2): ncurses-devel-5.5- 100% |=========================| 1.6 MB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: ncurses-devel ######################### [1/2] Installing: ncurses-devel ######################### [2/2] Installed: ncurses-devel.x86_64 0:5.5-24.20060715 ncurses-devel.i386 0:5.5-24.20060715 Complete! [root@server52 mysql-5.1.23-ndb-6.2.15]# |
See Errors […]
Lynx
lynx is a text based browser for Linux and FreeBSD http://lynx.isc.org Install lynx on CentOS/RHEL/Oracle Linux
1 |
yum install lynx |
Install lynx on Debian/Ubuntu
1 |
apt install lynx |
Install Lynx from Source
1 2 3 4 5 6 |
wget http://lynx.isc.org/release/lynx2.8.5.tar.gz tar -zxvf lynx2.8.5.tar.gz cd lynx2-8-5 ./configure make make install |
Install from ports on FreeBSD
1 2 3 4 5 |
cd /usr/ports/www/lynx make make install make clean rehash |
On FreeBSD, to see if lynx is installed
1 2 3 |
server26# pkg_info|grep lynx lynx-2.8.6d18 A non-graphical, text-based World-Wide Web client server26# |
See Linux Commands […]