<?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: lib in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151814#M900985</link>
    <description>It depends entirely on what you are compiling and what it requires.  Some software may require libraries from the above pahts, some may not.&lt;BR /&gt;&lt;BR /&gt;To be on the save side, set your SHLIB_PATH and LD_LIBRARY_PATH to include those directories.</description>
    <pubDate>Tue, 23 Dec 2003 12:50:00 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2003-12-23T12:50:00Z</dc:date>
    <item>
      <title>lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151813#M900984</link>
      <description>When I need to configure with ./configure...Will I use these kind of paths to ensure it works?&lt;BR /&gt;/usr/local/lib or /opt/gnome/lib?</description>
      <pubDate>Tue, 23 Dec 2003 12:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151813#M900984</guid>
      <dc:creator>Ceaser123</dc:creator>
      <dc:date>2003-12-23T12:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151814#M900985</link>
      <description>It depends entirely on what you are compiling and what it requires.  Some software may require libraries from the above pahts, some may not.&lt;BR /&gt;&lt;BR /&gt;To be on the save side, set your SHLIB_PATH and LD_LIBRARY_PATH to include those directories.</description>
      <pubDate>Tue, 23 Dec 2003 12:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151814#M900985</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-12-23T12:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151815#M900986</link>
      <description>I know it varies with whatever I'm configuring. My question was are these the "TYPE" of libs I point the ./configuration to.</description>
      <pubDate>Tue, 23 Dec 2003 12:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151815#M900986</guid>
      <dc:creator>Ceaser123</dc:creator>
      <dc:date>2003-12-23T12:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151816#M900987</link>
      <description>what 'type's are you referring to ? if you mean 32-bit and 64-bit libraries, you can easily check that by using the 'file' command on any library in the path you are considering. for example, /usr/lib/libc.sl is a 32-bit library whereas /usr/lib/pa20_64/libc.sl is a 64-bit library.</description>
      <pubDate>Thu, 25 Dec 2003 00:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151816#M900987</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-12-25T00:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151817#M900988</link>
      <description>Good configure scripts know where to look for them, and if they cannot find them, they will ask you to type them in&lt;BR /&gt;&lt;BR /&gt;Not so good configure script don't&lt;BR /&gt;&lt;BR /&gt;All configure scripts from the GNU world, however know about $CONFIG_SITE an environment variable that should point to a shell script in which you can influence all configure's behaviour&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.google.com/search?q=.CONFIG_SITE&amp;amp;sourceid=opera&amp;amp;num=0&amp;amp;ie=utf-8&amp;amp;oe=utf-8" target="_blank"&gt;http://www.google.com/search?q=.CONFIG_SITE&amp;amp;sourceid=opera&amp;amp;num=0&amp;amp;ie=utf-8&amp;amp;oe=utf-8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;should give you some hints&lt;BR /&gt;&lt;BR /&gt;Example (my $CONFIG_SITE on HP-UX and AIX):&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;--- /pro/3gl/GNU/Policy.sh&lt;BR /&gt;# $CONFIG_SITE -&amp;gt; /pro/3gl/GNU/policy.sh&lt;BR /&gt;&lt;BR /&gt;echo "OSTYPE: $OSTYPE, CC: $CC, CFLAGS: $CFLAGS, LDFLAGS: $LDFLAGS"&lt;BR /&gt;if [ $OSTYPE = hpux -a ${CC:-x} = x ]; then&lt;BR /&gt;    CC=cc&lt;BR /&gt;#   CFLAGS="-Ae -fast +Onolimit"&lt;BR /&gt;    LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS"&lt;BR /&gt;    CFLAGS="-Ae +O2 +Onolimit $CFLAGS"&lt;BR /&gt;    if [ $HOST = d3 ]; then&lt;BR /&gt;        CFLAGS=$CFLAGS" +DAportable"&lt;BR /&gt;        fi&lt;BR /&gt;elif [ $OSTYPE = aix -a ${CC:-x} = x ]; then&lt;BR /&gt;    CC=cc&lt;BR /&gt;    CFLAGS="-O2 -qmaxmem=204800"&lt;BR /&gt;elif [ $OSTYPE = osf1 ]; then&lt;BR /&gt;    CC=cc&lt;BR /&gt;    CFLAGS="-O2 -std"&lt;BR /&gt;elif [ ${CC:-x} = gcc -o ${CC:-x} = gcc32 -o ${CC:-x} = gcc64 ]; then&lt;BR /&gt;    CFLAGS="-O4 $CFLAGS"&lt;BR /&gt;else&lt;BR /&gt;    #CC=cc&lt;BR /&gt;    CFLAGS=-O2&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;if [ $OSTYPE = hpux -a ${CC:-x} = gcc64 ]; then&lt;BR /&gt;    PATH="/usr/local/pa20_64:$PATH"&lt;BR /&gt;    CC=gcc&lt;BR /&gt;    CFLAGS=$CFLAGS" -mpa-risc-2-0"&lt;BR /&gt;    LDFLAGS="-s -L/usr/lib/pa20_64 "$LDFLAGS&lt;BR /&gt;elif [ $OSTYPE = hpux -a ${CC:-x} = gcc ]; then&lt;BR /&gt;    if [ $HOST = d3 -o `uname -r` = "B.10.20" ]; then&lt;BR /&gt;        CFLAGS=$CFLAGS" -mpa-risc-1-1"&lt;BR /&gt;    else&lt;BR /&gt;        CFLAGS=$CFLAGS" -mpa-risc-2-0"&lt;BR /&gt;        fi&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;case "$CFLAGS:$CC" in&lt;BR /&gt;    *DA2.0w*|*DD64*|*:gcc64) ;;&lt;BR /&gt;    *)  CFLAGS=$CFLAGS" -I/pro/local/include"&lt;BR /&gt;        LDFLAGS=$LDFLAGS" -s -L/pro/local/lib"&lt;BR /&gt;    esac&lt;BR /&gt;&lt;BR /&gt;if [ "${USE_NCURSES:-}" = "YES" ]; then&lt;BR /&gt;    CFLAGS=`echo "$CFLAGS -I." | sed -e 's,-I,-I/pro/local/include/ncurses -I,'&lt;BR /&gt;-e 's, -I.$,,'`&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;if [ -d /usr/include/X11R6 ]; then&lt;BR /&gt;    CFLAGS=$CFLAGS" -I/usr/include/X11R6"&lt;BR /&gt;    fi&lt;BR /&gt;if [ -d /usr/lib/X11R6 ]; then&lt;BR /&gt;    LDFLAGS=$LDFLAGS" -L/usr/lib/X11R6"&lt;BR /&gt;    fi&lt;BR /&gt;echo "OSTYPE: $OSTYPE, CC: $CC, CFLAGS: $CFLAGS, LDFLAGS: $LDFLAGS"&lt;BR /&gt;&lt;BR /&gt;#In $CONFIG_SITE, you can do things like&lt;BR /&gt;#&lt;BR /&gt;#    test x$CPPFLAGS = x &amp;amp;&amp;amp; CPPFLAGS='-I/bla/bla/include'&lt;BR /&gt;#    test x$LDFALGS = x &amp;amp;&amp;amp; LDFLAGS='-L/bla/bla/lib'&lt;BR /&gt;#&lt;BR /&gt;#But even better, you can do things conditionally on whether or not&lt;BR /&gt;#you've set --prefix to something other than /usr/local:&lt;BR /&gt;#&lt;BR /&gt;#    if test x$prefix != xNONE -a x$prefix != x/usr/local; then&lt;BR /&gt;#        test -d $prefix/include &amp;amp;&amp;amp; CPPFLAGS="$CPPFLAGS&lt;BR /&gt;#        -I$prefix/include" test -d $prefix/lib &amp;amp;&amp;amp; LDFLAGS="$LDFLAGS&lt;BR /&gt;#        -L$prefix/lib"&lt;BR /&gt;#        fi&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;Sorry that the forum removes the formatting&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 25 Dec 2003 04:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lib/m-p/3151817#M900988</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-12-25T04:06:02Z</dc:date>
    </item>
  </channel>
</rss>

