-   Linux - Server (
-   -   /usr/bin/ld: skipping incompatible /usr/lib/ when searching for -lXpm (

sqn 05-12-2009 01:46 AM

/usr/bin/ld: skipping incompatible /usr/lib/ when searching for -lXpm
Hi all

I am trying to install OTRS 2.3.4 on an Centos release 5.3 (Final) with Kernel 2.6.18-92.el5xen on an x86_64 with an yum -y update after setup

the problem is when I try to install the perl:GD GD::Text GD::Graph GD::Graph::lines GD::Text::Align

on installing the GD I receive:


/usr/bin/ld: skipping incompatible /usr/lib/ when searching for -lXpm
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/] Error 1
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 LDS/GD-2.41.tar.gz                          : make NO

I have tried manually and got the same message.

my ld version:

[root@otrs bin]# ld -v
GNU ld version 20061020
[root@otrs bin]#

and uname -a

[root@otrs bin]# uname -a
Linux otrs 2.6.18-92.el5xen #1 SMP Tue Jun 10 19:20:18 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@otrs bin]#

Thanks in advanced

knudfl 05-12-2009 03:31 AM


incompatible /usr/lib/
Probably the wrong architecture. GD is arch dependent.

Why not start installing the available packages with yum ?
# yum search perl-gd
# yum install perl-GD<arch> perl-GDGraph ........

Then the dependencies will be installed too.

And # 'cpan' for the remaining packages.

sqn 05-12-2009 03:53 AM

needed to add a new repository:

rpm -Uhv
and then yum search perl-gd and now its ok :)

thanks again :D

All times are GMT -5. The time now is 10:10 PM.