<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ld: Mismatched ABI (not an ELF file) for -lgd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092610#M93428</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Your file is 32-bit.  A 64-bit object will be reported by 'file' with the string "ELF" like:&lt;BR /&gt;&lt;BR /&gt;ELF-64 shared object file - PA-RISC 2.0 (LP64)&lt;BR /&gt;&lt;BR /&gt;A 32-bit object would simply say:&lt;BR /&gt;&lt;BR /&gt;PA-RISC2.0 shared library&lt;BR /&gt;&lt;BR /&gt;Another (crude) way to tell the difference is to run 'odump' on the object.  This will only work for 32-bit ones.  You use 'elfdump' for 64-bit objects.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Feb 2008 14:05:17 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-02-14T14:05:17Z</dc:date>
    <item>
      <title>ld: Mismatched ABI (not an ELF file) for -lgd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092607#M93425</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to compile the perl module GD-2.35 but I' getting this error:&lt;BR /&gt;&lt;BR /&gt;Running Mkbootstrap for GD ()&lt;BR /&gt;        chmod 644 GD.bs&lt;BR /&gt;        rm -f blib/arch/auto/GD/GD.sl&lt;BR /&gt;        LD_RUN_PATH="/usr/local/lib:/usr/local/pa20_64/lib:/usr/lib" /usr/bin/ld  -b -L/usr/local/pa20_64/lib -L/lib/pa20_64 GD.o  -o blib/arch/auto/GD/GD.sl \&lt;BR /&gt;           -L/usr/local/lib -L/usr/lib/X11 -L/usr/lib -lgd -lfreetype -ljpeg -lpng -lz -lm -lX11 -lXpm          \&lt;BR /&gt;&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lgd, found /usr/local/lib/libgd.sl&lt;BR /&gt;Fatal error.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Any idei fo what might be the problem?&lt;BR /&gt;&lt;BR /&gt;Thks!&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2008 12:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092607#M93425</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2008-02-14T12:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lgd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092608#M93426</link>
      <description>Hi Pedro:&lt;BR /&gt;&lt;BR /&gt;The error indicates that you are trying to mix 32-bit and 64-bit objects in your linking.  This is illegal.  '/usr/local/lib/libgd.sl' appears to be a 32-bit object.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 14 Feb 2008 13:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092608#M93426</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-02-14T13:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lgd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092609#M93427</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;I think libgd.sl is 64bits:&lt;BR /&gt;&lt;BR /&gt;root@porsx013:/tmp/GD-2.35# file /usr/local/lib/libgd.sl&lt;BR /&gt;/usr/local/lib/libgd.sl:        PA-RISC2.0 shared library -not stripped&lt;BR /&gt;&lt;BR /&gt;PA-RISC2.0 is 64bits, isn't it?&lt;BR /&gt;&lt;BR /&gt;Thks!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2008 13:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092609#M93427</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2008-02-14T13:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lgd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092610#M93428</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Your file is 32-bit.  A 64-bit object will be reported by 'file' with the string "ELF" like:&lt;BR /&gt;&lt;BR /&gt;ELF-64 shared object file - PA-RISC 2.0 (LP64)&lt;BR /&gt;&lt;BR /&gt;A 32-bit object would simply say:&lt;BR /&gt;&lt;BR /&gt;PA-RISC2.0 shared library&lt;BR /&gt;&lt;BR /&gt;Another (crude) way to tell the difference is to run 'odump' on the object.  This will only work for 32-bit ones.  You use 'elfdump' for 64-bit objects.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2008 14:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092610#M93428</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-02-14T14:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lgd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092611#M93429</link>
      <description>Thks!</description>
      <pubDate>Thu, 14 Feb 2008 15:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lgd/m-p/5092611#M93429</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2008-02-14T15:14:23Z</dc:date>
    </item>
  </channel>
</rss>

