<?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: can't find library for -lexpat in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204836#M714236</link>
    <description>I will check that as I believe that may be the case.  Thanks</description>
    <pubDate>Mon, 01 Mar 2004 08:48:52 GMT</pubDate>
    <dc:creator>Brett Simpson</dc:creator>
    <dc:date>2004-03-01T08:48:52Z</dc:date>
    <item>
      <title>ld: can't find library for -lexpat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204831#M714231</link>
      <description>All,&lt;BR /&gt;I've been trying to make the XML Parser module and keep getting the following error:&lt;BR /&gt;&lt;BR /&gt;cc -c    -Ae -D_HPUX_SOURCE +z +e Wl ,+vnocompatwarnings +DD64 -I/usr/lo&lt;BR /&gt;cal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit    -DVERSIO&lt;BR /&gt;N=\"2.34\"  -DXS_VERSION=\"2.34\" +Z "-I/opt/perl5/lib/5.8.3/PA-RISC2.0-LP64/COR&lt;BR /&gt;E"   Expat.c                                                                    &lt;BR /&gt;Running Mkbootstrap for XML::Parser::Expat ()                                   &lt;BR /&gt;        chmod 644 Expat.bs                                                      &lt;BR /&gt;        rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl                       &lt;BR /&gt;        LD_RUN_PATH="/usr/local/lib" /usr/bin/ld  -b +vnocompatwarnings -L/usr/l&lt;BR /&gt;ocal/lib -L/lib/pa20_64 Expat.o  -o ../blib/arch/auto/XML/Parser/Expat/Expat.sl &lt;BR /&gt;  -lexpat                                                                       &lt;BR /&gt;ld: Can't find library for -lexpat                                             &lt;BR /&gt;Fatal                             error.                                                                    &lt;BR /&gt;*** Error exit code 1                             &lt;BR /&gt;&lt;BR /&gt;I've set the LDPATH, LD_RUN_PATH, etc.  I still get the error.  Does anyone have any ideas?  &lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brett</description>
      <pubDate>Fri, 27 Feb 2004 17:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204831#M714231</guid>
      <dc:creator>Brett Simpson</dc:creator>
      <dc:date>2004-02-27T17:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: ld: can't find library for -lexpat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204832#M714232</link>
      <description>Well, I'm going to ask an extremely obvious question: Have you downloaded and installed expat?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Development/Tools/expat-1.95.7/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Development/Tools/expat-1.95.7/&lt;/A&gt;</description>
      <pubDate>Fri, 27 Feb 2004 18:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204832#M714232</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-02-27T18:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: ld: can't find library for -lexpat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204833#M714233</link>
      <description>you should be setting LPATH or specify the search path to linker using -L .</description>
      <pubDate>Sat, 28 Feb 2004 03:22:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204833#M714233</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-02-28T03:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: ld: can't find library for -lexpat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204834#M714234</link>
      <description>1. Yes.  Expat is installed and the libs are in /usr/local/lib.&lt;BR /&gt;&lt;BR /&gt;2. I tried setting LPATH earlier, but it still didn't work.  The -L/usr/local/lib is also set in the linker section of the makefile. &lt;BR /&gt;&lt;BR /&gt;That's what makes this so weird!  &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 28 Feb 2004 08:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204834#M714234</guid>
      <dc:creator>Brett Simpson</dc:creator>
      <dc:date>2004-02-28T08:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: ld: can't find library for -lexpat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204835#M714235</link>
      <description>since you are building 64-bit, are you sure that the 64-bit libexpat is in /usr/local/lib ? there may be a libexpat there which is actually 32-bit and the 64-bit one may be in /usr/local/lib/pa20_64 ?&lt;BR /&gt;&lt;BR /&gt;if 'file /usr/local/lib/libexpat.*' does not say 'ELF shared library' (and says 'PA 2.0' or some such thing) then its not a 64-bit library. i think the 64-bit linker ignores 32-bit libraries in the search path, but i am not sure of that.</description>
      <pubDate>Sun, 29 Feb 2004 00:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204835#M714235</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-02-29T00:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: ld: can't find library for -lexpat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204836#M714236</link>
      <description>I will check that as I believe that may be the case.  Thanks</description>
      <pubDate>Mon, 01 Mar 2004 08:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-can-t-find-library-for-lexpat/m-p/3204836#M714236</guid>
      <dc:creator>Brett Simpson</dc:creator>
      <dc:date>2004-03-01T08:48:52Z</dc:date>
    </item>
  </channel>
</rss>

