<?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: gcc can't find system shared libraries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142918#M717839</link>
    <description>Do you mean "Merijn", instead of "Merrit"?&lt;BR /&gt;&lt;BR /&gt;Yes you can install them next to eachother, which it does by default: /usr/local/pa20_64 for the 64bit environment, and /usr/local/pa20_32 for the 32bit environment. It *needs* those path's. You can install them anywhere you want, but then you will have to symlink those other flders to be available from /usr/local&lt;BR /&gt;&lt;BR /&gt;When calling either be sure to have the $PATH have the wanted arch in front. I've made it easier for you by making the 64bit GNU gcc available as gcc64, so you can add both pa20_32 and pa20_64 in your $PATH (in that order) and still use both at the same time.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
    <pubDate>Fri, 12 Dec 2003 02:07:12 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2003-12-12T02:07:12Z</dc:date>
    <item>
      <title>gcc can't find system shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142913#M717834</link>
      <description>I have downloaded and installed the GCC from Merrit's web page. I am trying to compile a program with the -lpam option and it says it can't find the pam library:&lt;BR /&gt;&lt;BR /&gt; gcc -o poppassd  poppassd_pam.o -lpam&lt;BR /&gt;/opt/pa20_64/bin/../lib/gcc-lib/hppa64-hp-hpux11.11/3.3.1/../../../../hppa64-hp-&lt;BR /&gt;hpux11.11/bin/ld: cannot find -lpam&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;I have verified that libpam.sl exsists in the /lib directory. So, I put a symbolic link to it in the /opt/pa20_64/lib directory and then it complains that it is an invalid file format: &lt;BR /&gt;&lt;BR /&gt;gcc -o poppassd  poppassd_pam.o -lpam&lt;BR /&gt;/opt/pa20_64/bin/../lib/gcc-lib/hppa64-hp-hpux11.11/3.3.1/../../../libpam.sl: fi&lt;BR /&gt;le not recognized: File format not recognized&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;How can I get GCC to recognize and use the libraries in the /lib directory? Below is the configuration of the GCC:&lt;BR /&gt;&lt;BR /&gt;eading specs from /opt/pa20_64/bin/../lib/gcc-lib/hppa64-hp-hpux11.11/3.3.1/spe&lt;BR /&gt;cs&lt;BR /&gt;Configured with: ../src/configure --enable-languages=c,c++ --prefix=/usr/local/p&lt;BR /&gt;a20_64 --with-local-prefix=/usr/local/pa20_64 --with-gnu-as --with-as=/usr/local&lt;BR /&gt;/pa20_64/bin/as --with-gnu-ld --with-ld=/usr/local/pa20_64/bin/ld --disable-shar&lt;BR /&gt;ed --disable-nls --host=hppa64-hp-hpux11.11&lt;BR /&gt;Thread model: single&lt;BR /&gt;gcc version 3.3.1</description>
      <pubDate>Thu, 11 Dec 2003 19:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142913#M717834</guid>
      <dc:creator>Kenneth Smith_2</dc:creator>
      <dc:date>2003-12-11T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: gcc can't find system shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142914#M717835</link>
      <description>I forgot to mention that this is on HPUX 11i running in 64 bit mode.</description>
      <pubDate>Thu, 11 Dec 2003 19:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142914#M717835</guid>
      <dc:creator>Kenneth Smith_2</dc:creator>
      <dc:date>2003-12-11T19:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: gcc can't find system shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142915#M717836</link>
      <description>Your 64-bit gcc is looking for 64-bit libraries, which are located in /lib/pa20_64 directory. It seems that there is no 64-bit libpam. So it looks like you'll have to get 32-bit gcc and compile your app with it.</description>
      <pubDate>Thu, 11 Dec 2003 19:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142915#M717836</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2003-12-11T19:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: gcc can't find system shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142916#M717837</link>
      <description>Do you if it is possible to have both the 32 bit and 64 bit versions of GCC installed on the machine and use which ever is appropriate for the task?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Ken</description>
      <pubDate>Thu, 11 Dec 2003 20:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142916#M717837</guid>
      <dc:creator>Kenneth Smith_2</dc:creator>
      <dc:date>2003-12-11T20:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: gcc can't find system shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142917#M717838</link>
      <description>Yes, it is possible to have both 32-bit and 64-bit. Of course they need to be installed in different directories.</description>
      <pubDate>Thu, 11 Dec 2003 20:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142917#M717838</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2003-12-11T20:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: gcc can't find system shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142918#M717839</link>
      <description>Do you mean "Merijn", instead of "Merrit"?&lt;BR /&gt;&lt;BR /&gt;Yes you can install them next to eachother, which it does by default: /usr/local/pa20_64 for the 64bit environment, and /usr/local/pa20_32 for the 32bit environment. It *needs* those path's. You can install them anywhere you want, but then you will have to symlink those other flders to be available from /usr/local&lt;BR /&gt;&lt;BR /&gt;When calling either be sure to have the $PATH have the wanted arch in front. I've made it easier for you by making the 64bit GNU gcc available as gcc64, so you can add both pa20_32 and pa20_64 in your $PATH (in that order) and still use both at the same time.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 12 Dec 2003 02:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-can-t-find-system-shared-libraries/m-p/3142918#M717839</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-12-12T02:07:12Z</dc:date>
    </item>
  </channel>
</rss>

