<?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: Setting env LD_LIBRARY_PATH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810157#M268129</link>
    <description>Yes,&lt;BR /&gt;&lt;BR /&gt;I have it all defined in the .profile...&lt;BR /&gt;&lt;BR /&gt;# @(#)B11.23_LR&lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;        PATH=$PATH:/usr/local/bin:.&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;        set -u&lt;BR /&gt;        trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;#. oenv xchgprd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;export LD_LIBRARY_PATH=/egate/client/bin:/egate/server/bin:/egate/client/JRE/1.3.1_02/lib/PA_RISC:/opt/java1.3/jre/lib/PA_RISC:/opt&lt;BR /&gt;/foresight/HVInstream:/opt/foresight/HVInstream/java:/opt/foresight/HVInstream/bin:$LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;export LIBPATH=/egate/server/bin&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=/egate/client/bin:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC/classic:\&lt;BR /&gt;/egate/client/odbc40/lib:\&lt;BR /&gt;/egate/server/registry/repository/default/JRE/1.3.1_02/lib/PA_RISC/classic:\&lt;BR /&gt;/opt/java1.3/jre/lib/PA_RISC:\&lt;BR /&gt;/opt/foresight/HVInstream:\&lt;BR /&gt;/opt/foresight/HVInstream/java:\&lt;BR /&gt;/opt/foresight/HVInstream/bin</description>
    <pubDate>Thu, 22 Jun 2006 11:02:33 GMT</pubDate>
    <dc:creator>Rafael Casero</dc:creator>
    <dc:date>2006-06-22T11:02:33Z</dc:date>
    <item>
      <title>Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810140#M268112</link>
      <description>I'm trying to setup LD_LIBRARY_PATH env for a user, not sure how to do this. &lt;BR /&gt;&lt;BR /&gt;This is what i want it to look like.&lt;BR /&gt;&lt;BR /&gt;LD_LIBRARY_PATH=/app/oracle/product/9.2.0/lib32:/egate/client/bin:/egate/server/&lt;BR /&gt;bin:/egate/client/JRE/1.3.1_02/lib/PA_RISC:/opt/java1.3/jre/lib/PA_RISC:/opt/for&lt;BR /&gt;esight/HVInstream:/opt/foresight/HVInstream/java:/opt/foresight/HVInstream/bin:/&lt;BR /&gt;app/oracle/product/9.2.0/lib&lt;BR /&gt;&lt;BR /&gt;Can some help me out. PLEASE....</description>
      <pubDate>Wed, 21 Jun 2006 16:37:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810140#M268112</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-21T16:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810141#M268113</link>
      <description>You put that line in the user's .profile and  use this syntax:&lt;BR /&gt;&lt;BR /&gt;LD_LIBRARY_PATH=/xxx/yyy:/aaa/bbb/ccc&lt;BR /&gt;export LIBRARY_PATH &lt;BR /&gt;or&lt;BR /&gt;export LD_LIBRARY_PATH=/xxx/yyy:/aaa/bbb/ccc&lt;BR /&gt;&lt;BR /&gt;so, your original line with the keyword 'export ' prepended will do the trick. &lt;BR /&gt;&lt;BR /&gt;If the user is a csh user then you put the a similar entry in .cshrc and&lt;BR /&gt;&lt;BR /&gt;setenv LD_LIBRARY PATH /xxx/yyy:/aaa/bbb/ccc&lt;BR /&gt;&lt;BR /&gt;Often when LD_LIBRARY_PATH is needed SHLIB_PATH is also needed.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 16:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810141#M268113</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-21T16:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810142#M268114</link>
      <description>OH, in case it is not obvious, .profile and/or .cshrc are located in each user's home directory and are sourced as the user logs in.</description>
      <pubDate>Wed, 21 Jun 2006 16:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810142#M268114</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-21T16:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810143#M268115</link>
      <description>It would not let me put all the path's in, &lt;BR /&gt;&lt;BR /&gt;It cuts the end off &lt;BR /&gt;:/app/oracle/product/9.2.0/lib&lt;BR /&gt;&lt;BR /&gt;Would I be able to add more path's once it's created and how would I go along doing this.&lt;BR /&gt;&lt;BR /&gt;I very new in this env...&lt;BR /&gt;&lt;BR /&gt;Thanks..&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 16:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810143#M268115</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-21T16:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810144#M268116</link>
      <description>What is "it"? You should be using a text editor such as vi and all of this is one line. Vi allows very long lines that will wrap around. &lt;BR /&gt;&lt;BR /&gt;You can also do something like this:&lt;BR /&gt;&lt;BR /&gt;LD_LIBRARY_PATH=/xxx/yyy/zzz:/aaa/bbc&lt;BR /&gt;LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/mickey/mouse&lt;BR /&gt;LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/donald/duck&lt;BR /&gt;export LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;The idea is that you can keep adding on the the variable and then finally export it.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 16:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810144#M268116</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-21T16:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810145#M268117</link>
      <description>I must be doing something wrong. &lt;BR /&gt;&lt;BR /&gt;1. I su as the user.&lt;BR /&gt;2. I set LD_LIBRARY_PATH&lt;BR /&gt;3. I export LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;I logout and then log back in, it tells me &lt;BR /&gt;&lt;BR /&gt;$ echo $LD_LIBRARY_PATH &lt;BR /&gt;su: LD_LIBRARY_PATH: Parameter not set.</description>
      <pubDate>Wed, 21 Jun 2006 17:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810145#M268117</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-21T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810146#M268118</link>
      <description>Hi Rafael:&lt;BR /&gt;&lt;BR /&gt;If you 'su' without the '-' as:&lt;BR /&gt;&lt;BR /&gt;# su rafael&lt;BR /&gt;&lt;BR /&gt;...then user 'rafael's profile is *not* sourced!  You need to do:&lt;BR /&gt;&lt;BR /&gt;# su - rafael&lt;BR /&gt;&lt;BR /&gt;...to cause /home/rafael/.profile (for example) to be read (sourced).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 21 Jun 2006 17:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810146#M268118</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-21T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810147#M268119</link>
      <description>I use &lt;BR /&gt;&lt;BR /&gt;su - rafael&lt;BR /&gt;&lt;BR /&gt;And still getting the same results.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 20:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810147#M268119</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-21T20:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810148#M268120</link>
      <description>Okay do this and post the output of each command:&lt;BR /&gt;&lt;BR /&gt;1) Let's make certain that rafael's home directory (and shell) is what we think it is:&lt;BR /&gt;&lt;BR /&gt;logins -o -x -l rafael #(Do this as root)&lt;BR /&gt;&lt;BR /&gt;2) Now let's see if the file exists and owner/mode of the file:&lt;BR /&gt;ls -l /home/rafael/.profile&lt;BR /&gt;&lt;BR /&gt;3) Finally, let's see what your .profile actually looks like:&lt;BR /&gt;&lt;BR /&gt;cat /home/rafael/.profile&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 20:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810148#M268120</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-21T20:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810149#M268121</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are putting the LD_LIBRARY_PATH in your .profile?&lt;BR /&gt;Do you have permission to access the specified directories?&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Thu, 22 Jun 2006 00:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810149#M268121</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-22T00:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810150#M268122</link>
      <description>Here is the outcome.&lt;BR /&gt;&lt;BR /&gt;1)logins -o -x -l egate #(Do this as root)&lt;BR /&gt;&lt;BR /&gt; miaux10: / =&amp;gt;login -o -x -l egate&lt;BR /&gt;Password: &lt;BR /&gt;Login incorrect&lt;BR /&gt;&lt;BR /&gt;Wait for login retry: ..&lt;BR /&gt;login: egate&lt;BR /&gt;Password: &lt;BR /&gt;No utmp entry.You must exec "login" from the lowest level "sh".&lt;BR /&gt;&lt;BR /&gt;Wait for login exit: ..&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;2)ls -l /home/egate/.profile &lt;BR /&gt;&lt;BR /&gt;miaux10: / =&amp;gt;ls -l /home/egate/.profile&lt;BR /&gt;-r--r--r--   1 egate      egate         1794 Jun 21 15:15 /home/egate/.profile&lt;BR /&gt;&lt;BR /&gt;3) cat /home/egate/.profile &lt;BR /&gt;&lt;BR /&gt;miaux10: / =&amp;gt;cat /home/egate/.profile &lt;BR /&gt;&lt;BR /&gt;# @(#)B11.23_LR       &lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;export PATH=/egate/client/bin:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/bin:\&lt;BR /&gt;/egate/client/odbc40/bin:\&lt;BR /&gt;/egate/client/odbc40/lib:\&lt;BR /&gt;/egate/server/bin:\&lt;BR /&gt;/opt/bin:\&lt;BR /&gt;/opt/imake/bin:\&lt;BR /&gt;/opt/java1.3/bin:\&lt;BR /&gt;/opt/java1.3/lib:\&lt;BR /&gt;/opt/langtools/bin:\&lt;BR /&gt;/opt/perl/lib/5.6.1:\&lt;BR /&gt;/opt/perl/bin:\&lt;BR /&gt;/opt/sec_mgmt/spc/bin:\&lt;BR /&gt;/usr/bin:\&lt;BR /&gt;/usr/lib:\&lt;BR /&gt;/usr/local/bin:\&lt;BR /&gt;$ORACLE_HOME/bin:\&lt;BR /&gt;/opt/foresight/HVInstream:\&lt;BR /&gt;/opt/foresight/HVInstream/java:\&lt;BR /&gt;/opt/foresight/HVInstream/bin:\&lt;BR /&gt;$PATH&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;        set -u&lt;BR /&gt;        trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;. oracle_setup&lt;BR /&gt;&lt;BR /&gt;export LD_LIBRARY_PATH=/app/oracle/product/9.2.0/lib32:\&lt;BR /&gt;/egate/client/bin:\&lt;BR /&gt;/egate/server/bin:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC:\&lt;BR /&gt;/opt/java1.3/jre/lib/PA_RISC:\&lt;BR /&gt;/opt/foresight/HVInstream:\&lt;BR /&gt;/opt/foresight/HVInstream/java:\&lt;BR /&gt;/opt/foresight/HVInstream/bin:\&lt;BR /&gt;$LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;LIBPATH=/egate/server/bin&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=/app/oracle/product/9.2.0/lib32:\&lt;BR /&gt;/egate/client/bin:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC/classic:\&lt;BR /&gt;/egate/client/odbc40/lib:\&lt;BR /&gt;/egate/server/registry/repository/default/JRE/1.3.1_02/lib/PA_RISC/classic:\&lt;BR /&gt;/opt/java1.3/jre/lib/PA_RISC:\&lt;BR /&gt;/opt/foresight/HVInstream:\&lt;BR /&gt;/opt/foresight/HVInstream/java:\&lt;BR /&gt;/opt/foresight/HVInstream/bin:\&lt;BR /&gt;$SHLIB_PATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;export ODBCINI=/home/egate/.odbc.ini&lt;BR /&gt;export ORACLE_SID=xchgtst&lt;BR /&gt;&lt;BR /&gt;export PGPPASS=jumbojet&lt;BR /&gt;export PGPPATH=/home/egate&lt;BR /&gt;&lt;BR /&gt;export TEMP=/egate/SMIME_TEMP&lt;BR /&gt;export FSINSTREAMINI=/opt/foresight/HVInStream/bin&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2006 08:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810150#M268122</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-22T08:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810151#M268123</link>
      <description>You didn't execute this correctly. The command is "logins"; not "login" and you must already be logged in as root to execute it. This will look at the passwd file and tcb entries related to a specific user. I'm trying to determine home directory and shell of this user.&lt;BR /&gt;&lt;BR /&gt;logins -o -x -l egate &lt;BR /&gt;&lt;BR /&gt;Carefully check each of your continued lines that "\" is the very last character of such a line. Specificically, "\&lt;SPACE&gt;&lt;LF&gt;" is not a valid line continuation but "\&lt;LF&gt;" is.&lt;BR /&gt;&lt;BR /&gt;The other thing to check is the sourced file oracle_setup. Make sure that there are no exit or return statements in it; if any of these are found the current process exits at that point and anything in .profile after that is never executed.&lt;BR /&gt;&lt;/LF&gt;&lt;/LF&gt;&lt;/SPACE&gt;</description>
      <pubDate>Thu, 22 Jun 2006 09:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810151#M268123</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-22T09:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810152#M268124</link>
      <description>Sorry, thanks..&lt;BR /&gt;&lt;BR /&gt;miaux10: / =&amp;gt;logins -o -x -l egate     &lt;BR /&gt;egate:110:egate:110:,,,:/home/egate:/usr/bin/sh:PS:061906:0:90:14</description>
      <pubDate>Thu, 22 Jun 2006 09:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810152#M268124</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-22T09:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810153#M268125</link>
      <description>Hi Rafael:&lt;BR /&gt;&lt;BR /&gt;OK, the problem is that you are trying to setup LD_LIBRARY_PATH to contain a series of pathes prepended to whatever the variable's current value represents.  However, if the current value is null (undefined) you get the error " LD_LIBRARY_PATH: Parameter not set".&lt;BR /&gt;&lt;BR /&gt;You could place this statement ahead of your 'export' declaration.&lt;BR /&gt;&lt;BR /&gt;LD_LIBRARY_PATH=${LD_LIBRARY_PATH:=" "}&lt;BR /&gt;&lt;BR /&gt;...This should achieve your purpose.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 Jun 2006 09:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810153#M268125</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-22T09:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810154#M268126</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I perform this the same way HP-UX handles PATH and MANPATH: &lt;BR /&gt;&lt;BR /&gt;- create a file /etc/LD_LIBRARY_PATH containing the requested values&lt;BR /&gt;&lt;BR /&gt;- in ~/.profile or similar use:&lt;BR /&gt;if [ -s /etc/LD_LIBRARY_PATH ]&lt;BR /&gt;then&lt;BR /&gt;    LD_LIBRARY_PATH=`cat /etc/LD_LIBRARY_PATH`&lt;BR /&gt;    export LD_LIBRARY_PATH&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;- I would ignore a preset envvar LD_LIBRARY_PATH from the admin point of view and handle all via this file.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 22 Jun 2006 09:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810154#M268126</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-06-22T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810155#M268127</link>
      <description>You also have the same potential problem with SHLIB_PATH being undefined (as well as PATH although PATH will almost certainly have a value unless /etc/profile has been "improved").&lt;BR /&gt;&lt;BR /&gt;You could do a "set +u" so that undefined variables do not cause an error but that is really considered sloppy so the better approach is test a variable before doing an assignment.</description>
      <pubDate>Thu, 22 Jun 2006 09:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810155#M268127</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-22T09:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810156#M268128</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have to check if the user already has an env variable.&lt;BR /&gt;&lt;BR /&gt;This example is for csh and SHLIB_PATH:&lt;BR /&gt;&lt;BR /&gt;if ($?SHLIB_PATH) then&lt;BR /&gt;                setenv SHLIB_PATH ${SHLIB_PATH}:/opt/java1.4/jre/lib/PA_RISC/server:/opt/java1.4/jre/lib/PA_RISC&lt;BR /&gt;          else&lt;BR /&gt;                 setenv SHLIB_PATH /opt/java1.4/jre/lib/PA_RISC/server:/opt/java1.4/jre/lib/PA_RISC&lt;BR /&gt;          endif&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2006 10:59:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810156#M268128</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2006-06-22T10:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810157#M268129</link>
      <description>Yes,&lt;BR /&gt;&lt;BR /&gt;I have it all defined in the .profile...&lt;BR /&gt;&lt;BR /&gt;# @(#)B11.23_LR&lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;        PATH=$PATH:/usr/local/bin:.&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;        set -u&lt;BR /&gt;        trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;#. oenv xchgprd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;export LD_LIBRARY_PATH=/egate/client/bin:/egate/server/bin:/egate/client/JRE/1.3.1_02/lib/PA_RISC:/opt/java1.3/jre/lib/PA_RISC:/opt&lt;BR /&gt;/foresight/HVInstream:/opt/foresight/HVInstream/java:/opt/foresight/HVInstream/bin:$LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;export LIBPATH=/egate/server/bin&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=/egate/client/bin:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC:\&lt;BR /&gt;/egate/client/JRE/1.3.1_02/lib/PA_RISC/classic:\&lt;BR /&gt;/egate/client/odbc40/lib:\&lt;BR /&gt;/egate/server/registry/repository/default/JRE/1.3.1_02/lib/PA_RISC/classic:\&lt;BR /&gt;/opt/java1.3/jre/lib/PA_RISC:\&lt;BR /&gt;/opt/foresight/HVInstream:\&lt;BR /&gt;/opt/foresight/HVInstream/java:\&lt;BR /&gt;/opt/foresight/HVInstream/bin</description>
      <pubDate>Thu, 22 Jun 2006 11:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810157#M268129</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-22T11:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810158#M268130</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;in what way do you login to the host?&lt;BR /&gt;&lt;BR /&gt;- CDE&lt;BR /&gt;  Check&lt;BR /&gt;     fgrep PROFILE ~/.dtprofile&lt;BR /&gt;  for a line like&lt;BR /&gt;  DTSOURCEPROFILE=true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- telnet&lt;BR /&gt;- ssh&lt;BR /&gt;&lt;BR /&gt;What is the result of&lt;BR /&gt;set | fgrep LIB&lt;BR /&gt;after login?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 22 Jun 2006 11:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810158#M268130</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-06-22T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting env LD_LIBRARY_PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810159#M268131</link>
      <description>I use telnet to connect.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ set |fgrep LIB&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Comes back to a prompt...</description>
      <pubDate>Thu, 22 Jun 2006 11:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-ld-library-path/m-p/3810159#M268131</guid>
      <dc:creator>Rafael Casero</dc:creator>
      <dc:date>2006-06-22T11:20:44Z</dc:date>
    </item>
  </channel>
</rss>

