Re: [rt-users] Installing GD components

2015-09-22 Thread Kobus Bensch
Running this command does not mean it is installed. It just tells you 
which packages provides the libjpeg.so


Does the lib actually exist in

/usr/lib/libjpeg.so or /usr/lib64/libjpeg.so


On 22/09/2015 11:50, Asanka Gunasekera wrote:

yum whatprovides "*/libjpeg.so"


--
Kobus Bensch Trustpay Global LTD email signature Kobus Bensch
Senior Systems Administrator
Address:  22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
DDI:  0207 871 3958
Tel:  0207 871 3890
Email: kobus.ben...@trustpayglobal.com 



--


Trustpay Global Limited is an authorised Electronic Money Institution 
regulated by the Financial Conduct Authority registration number 900043. 
Company No 07427913 Registered in England and Wales with registered address 
130 Wood Street, London, EC2V 6DL, United Kingdom.


For further details please visit our website at www.trustpayglobal.com.

The information in this email and any attachments are confidential and 
remain the property of Trustpay Global Ltd unless agreed by contract. It is 
intended solely for the person to whom or the entity to which it is 
addressed. If you are not the intended recipient you may not use, disclose, 
copy, distribute, print or rely on the content of this email or its 
attachments. If this email has been received by you in error please advise 
the sender and delete the email from your system. Trustpay Global Ltd does 
not accept any liability for any personal view expressed in this message.


Re: [rt-users] Installing GD components

2015-09-22 Thread Asanka Gunasekera
Hi Kobus, this is installed :(

[root@rt install]# yum whatprovides "*/libjpeg.so"  
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: kartolo.sby.datautama.net.id
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
libjpeg-turbo-devel-1.2.1-3.el6_5.i686 : Headers for the libjpeg-turbo library
Repo: base
Matched from:
Filename: /usr/lib/libjpeg.so



1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime 
Environment
Repo: base
Matched from:
Filename: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so



libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library
Repo: base
Matched from:
Filename: /usr/lib64/libjpeg.so



1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime 
Environment
Repo: updates
Matched from:
Filename: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so



libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library
Repo: installed
Matched from:
Filename: /usr/lib64/libjpeg.so



1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime 
Environment
Repo: installed
Matched from:
Filename: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so


Thanks and Regards



On Tue, 22/9/15, Kobus Bensch  wrote:

 Subject: Re: [rt-users] Installing GD components
 To: rt-users@lists.bestpractical.com
 Date: Tuesday, 22 September, 2015, 15:06
 
 
 This is the problem
 
 
 
 # Error: Can't load 
'/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so'
 for module GD: libjpeg.so.9: cannot open shared object file:
 No such file or directory at
 /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line
 193.
 
 Particularly libjpeg.so.9: cannot open shared object file
 
 When I do sudo yum whatprovides "*/libjpeg.so" on
 centos6 I get a few options. If it was me, I would install
 libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 via yum, but this
 is also with the information I have at hand. Please proceed
 carefully.
 
 libjpeg-turbo-devel-1.2.1-3.el6_5.i686 : Headers for the
 libjpeg-turbo library
 Repo: base
 Matched from:
 Filename: /usr/lib/libjpeg.so
 
 
 
 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 :
 OpenJDK Runtime Environment
 Repo: base
 Matched from:
 Filename:
 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so
 
 
 
 libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the
 libjpeg-turbo library
 Repo: base
 Matched from:
 Filename: /usr/lib64/libjpeg.so
 
 
 
 1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 :
 OpenJDK Runtime Environment
 Repo: updates
 Matched from:
 Filename:
 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so
 
 
 
 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 :
 OpenJDK Runtime Environment
 Repo: installed
 Matched from:
 Filename:
 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so
  
 
 
 
 
 
 On 21/09/2015 16:44,
 Asanka Gunasekera
   wrote:
 
 
 
   Hi Kobus below is the output
 
 [root@rt rt-4.2.12]# perl -MCPAN -e'install
 "GD"'
 Reading '/root/.cpan/Metadata'
 Database was generated on Mon, 21 Sep 2015 03:53:40 GMT
 Running install for module 'GD'
 Checksum for
 /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok
 Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL
 Configuring for libgd version 2.0.34.
 Checking for stray libgd header files...none found.
 
 Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE
 GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY
 GD_ANIMGIF GD_FTCIRCLE VERSION_33
 GD library used from: /usr
 Created MYMETA.yml and MYMETA.json
 Creating new 'Build' script for 'GD' version
 '2.56'
 LDS/GD-2.56.tar.gz
 /usr/local/bin/perl Build.PL -- OK
 Running Build for L/LD/LDS/GD-2.56.tar.gz
 Building GD
 Extracting Image.pm (with variable substitutions)
 cc -I/usr/include
 -I/usr/local/lib/perl5/5.22.0/x86_64-linux/CORE
 -DVERSION="2.56" -DXS_VERSION="2.56"
 -fPIC -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG
 -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY
 -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -c -fPIC -fwrapv
 -fno-strict-aliasing -pipe -fstack-protector
 -I/usr/local/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fPIC -fPIC
 -O2 -o lib/GD.o lib/GD.c
 ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs')
 cc -shared -O2 -L/usr/local/lib -fstack-protector -o
 blib/arch/auto/GD/GD.so lib/GD.o -L/usr/lib64 -L/usr/lib64
 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig
 -lfreetype -lpng12 -lz -lm -lgd
 LDS/GD-2.56.tar.gz
 ./Build -- OK
 Running Build test
 t/GD.t  1/11 
 # Failed test 'use GD;'
 # at t/GD.t li

Re: [rt-users] Installing GD components

2015-09-22 Thread Kobus Bensch

This is the problem

# Error: Can't load 
'/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: 
libjpeg.so.9: cannot open shared object file: No such file or directory at 
/usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193.

Particularly libjpeg.so.9: cannot open shared object file

When I do sudo yum whatprovides "*/libjpeg.so" on centos6 I get a few options. 
If it was me, I would install libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 via yum, but this 
is also with the information I have at hand. Please proceed carefully.

libjpeg-turbo-devel-1.2.1-3.el6_5.i686 : Headers for the libjpeg-turbo library
Repo: base
Matched from:
Filename: /usr/lib/libjpeg.so



1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime 
Environment
Repo: base
Matched from:
Filename: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so



libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library
Repo: base
Matched from:
Filename: /usr/lib64/libjpeg.so



1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime 
Environment
Repo: updates
Matched from:
Filename: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so



1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime 
Environment
Repo: installed
Matched from:
Filename: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so
 




On 21/09/2015 16:44, Asanka Gunasekera wrote:

Hi Kobus below is the output

[root@rt rt-4.2.12]# perl -MCPAN -e'install "GD"'
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 21 Sep 2015 03:53:40 GMT
Running install for module 'GD'
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok
Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL
Configuring for libgd version 2.0.34.
Checking for stray libgd header files...none found.

Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF 
GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'GD' version '2.56'
LDS/GD-2.56.tar.gz
/usr/local/bin/perl Build.PL -- OK
Running Build for L/LD/LDS/GD-2.56.tar.gz
Building GD
Extracting Image.pm (with variable substitutions)
cc -I/usr/include -I/usr/local/lib/perl5/5.22.0/x86_64-linux/CORE -DVERSION="2.56" 
-DXS_VERSION="2.56" -fPIC -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG 
-DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -c -fPIC -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fPIC -fPIC -O2 -o lib/GD.o lib/GD.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs')
cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/GD/GD.so 
lib/GD.o -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg 
-lfontconfig -lfreetype -lpng12 -lz -lm -lgd
LDS/GD-2.56.tar.gz
./Build -- OK
Running Build test
t/GD.t  1/11
# Failed test 'use GD;'
# at t/GD.t line 14.
# Tried to use 'GD'.
# Error: Can't load 
'/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: 
libjpeg.so.9: cannot open shared object file: No such file or directory at 
/usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193.
# at t/GD.t line 14.
# Compilation failed in require at t/GD.t line 14.
# BEGIN failed--compilation aborted at t/GD.t line 14.

# Failed test 'use GD::Simple;'
# at t/GD.t line 15.
# Tried to use 'GD::Simple'.
# Error: Attempt to reload GD.pm aborted.
# Compilation failed in require at 
/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160.
# BEGIN failed--compilation aborted at 
/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160.
# Compilation failed in require at t/GD.t line 15.
# BEGIN failed--compilation aborted at t/GD.t line 15.
# Testing using gd2 support.

# Failed test 'unable to generate comparison image for test 1: Can't locate object method 
"_new" via package "GD::Image" at 
/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83.
# '
# at t/GD.t line 246.

# Failed test 'unable to generate comparison image for test 2: Can't locate object method 
"_new" via package "GD::Image" at 
/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83.
# '
# at t/GD.t line 246.

# Failed test 'unable to generate comparison image for test 3: Can't locate object method 
"_new" via package "GD::Image" at 
/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83.
# '
# at t/GD.t line 246.

# Failed test 'unable to generate comparison image for test 4: Can't locate object method 
"_new" via package "GD::Image" at 
/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83.
# '
# at t/GD.t line 246.

# Failed test 'unable to generate comparison