LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-12-2009, 02:46 AM   #1
sqn
Member
 
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Rep: Reputation: 30
Question /usr/bin/ld: skipping incompatible /usr/lib/libXpm.so 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:

Code:
/usr/bin/ld: skipping incompatible /usr/lib/libXpm.so when searching for -lXpm
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1
  LDS/GD-2.41.tar.gz
  /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:
Code:
[root@otrs bin]# ld -v
GNU ld version 2.17.50.0.6-9.el5 20061020
[root@otrs bin]#
and uname -a
Code:
[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
 
Old 05-12-2009, 04:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,125

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Quote:
incompatible /usr/lib/libXpm.so
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.
.....
 
Old 05-12-2009, 04:53 AM   #3
sqn
Member
 
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Original Poster
Rep: Reputation: 30
Thumbs up

needed to add a new repository:
Code:
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
and then yum search perl-gd and now its ok

thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to chck remot comnd executin using shells /usr/bin/ssh and /usr/bin/rsh farnaw4u Linux - Software 2 04-06-2009 01:08 AM
make error : incompatible /usr/lib64/mysql/libmysqlclient_r.a when searching for -lmy hotsouce Red Hat 3 03-26-2009 11:40 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
Relationship between /usr/bin and /usr/lib glume Linux - Newbie 4 04-16-2004 09:11 AM
Xawtv - Wont compile - /usr/bin/ld: cannot find -lXpm Bubba256 Linux - Software 0 10-26-2003 01:38 AM


All times are GMT -5. The time now is 12:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration