<?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: /usr/lib/dld.sl: Call to mmap() failed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156910#M726478</link>
    <description>What about your SHLIB_PATH? It should contain the /opt/sybase/OCS-12_5/lib in it in addition to the existing settings. Also there may be other library paths under /opt/sybase that may need to be added in the SHLIB_PATH.</description>
    <pubDate>Thu, 06 Mar 2008 22:51:52 GMT</pubDate>
    <dc:creator>TTr</dc:creator>
    <dc:date>2008-03-06T22:51:52Z</dc:date>
    <item>
      <title>/usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156909#M726477</link>
      <description>&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;/usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/sybase/04/OCS-12_5/lib/libblk.sl&lt;BR /&gt;/usr/lib/dld.sl: Permission denied&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) env|grep SYBASE&lt;BR /&gt;SYBASE=/opt/sybase/04&lt;BR /&gt;SYBASE_DSPROC=dataserver1s25&lt;BR /&gt;SYBASE_ASE=ASE-12_5&lt;BR /&gt;SYBASE_OCS=OCS-12_5&lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) cd *X/creconv/opt&lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) rm *.o&lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) make -f *mak_opt&lt;BR /&gt;        aCC +DA2.0N -D_RWCONFIG=8s -c -Aa -O -I../ -I/opt/rw_buildspace_1251/include -I/opt/rw_build&lt;BR /&gt;space_1251/rw/db -I/opt/rw_buildspace_1251/source/sybasect -I/opt/rw_buildspace_1251 -I/opt/sybase/0&lt;BR /&gt;4/OCS-12_5/include -I../../lib  -I../../shared -I../../dbinserter -I../../dbconnection -D_RWBUILD_db&lt;BR /&gt;t +w +W229 +W361 +W392 +W431 +W655 +W684 +W818 +W819 +W849 +W889 -AA +ESnolit -O  ../creconv.c&lt;BR /&gt;        aCC +DA2.0N -o creconv creconv.o /opt/rw_buildspace_1251/lib/rwctl8s.o ../../shared/opt/shar&lt;BR /&gt;ed.a ../../lib/opt/pflib.a ../../dbconnection/opt/DBConnection.a ../../dbinserter/opt/DBInserter.a -&lt;BR /&gt;L/opt/rw_buildspace_1251/lib -lctl8s -ldbt8s -lnetwork8s -ltls8s -lstd8s  -L/opt/sybase/04/OCS-12_5/&lt;BR /&gt;lib -lblk -lct -lcs -lcomn -ltcl -lintl -lcl /usr/lib/libCsup.a /usr/lib/libf.a /usr/lib/libstream.a&lt;BR /&gt; -lm -lc +w +W229 +W361 +W392 +W431 +W655 +W684 +W818 +W819 +W849 +W889 -Wl,+vnocompatwarnings -AA +&lt;BR /&gt;ESnolit -O -Wl,+s +nostl&lt;BR /&gt;(sys19:aubainr:&amp;gt;) &lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) creconv&lt;BR /&gt;/usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/sybase/04/OCS-12_5/lib/libblk.sl&lt;BR /&gt;/usr/lib/dld.sl: Permission denied&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) ll /opt/sybase/04/OCS-12_5/lib/libblk.sl&lt;BR /&gt;-rw-r--r--   1 sybase     sybase      180224 Aug 17  2006 /opt/sybase/04/OCS-12_5/lib/libblk.sl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(sys19:aubainr:&amp;gt;) ll /opt/sybase/04/OCS-12_5/             &lt;BR /&gt;total 22&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        1024 Oct 30  2006 bin&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        1024 Oct 31  2006 config&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        3072 Oct 31  2006 devlib&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        1024 Oct 30  2006 include&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        3072 Oct 31  2006 lib&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        1024 Oct 30  2006 lib3p&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase        1024 Oct 30  2006 lib3p64&lt;BR /&gt;drwxr-xr-x   7 sybase     sybase          96 Oct 30  2006 sample&lt;BR /&gt;drwxr-xr-x   3 sybase     sybase          96 Oct 30  2006 sybhelp&lt;BR /&gt;drwxr-xr-x   2 sybase     sybase          96 Oct 30  2006 xappdefaults&lt;BR /&gt;(sys19:aubainr:&amp;gt;) &lt;BR /&gt;</description>
      <pubDate>Thu, 06 Mar 2008 22:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156909#M726477</guid>
      <dc:creator>Richard Aubain</dc:creator>
      <dc:date>2008-03-06T22:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156910#M726478</link>
      <description>What about your SHLIB_PATH? It should contain the /opt/sybase/OCS-12_5/lib in it in addition to the existing settings. Also there may be other library paths under /opt/sybase that may need to be added in the SHLIB_PATH.</description>
      <pubDate>Thu, 06 Mar 2008 22:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156910#M726478</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-03-06T22:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156911#M726479</link>
      <description>Well, you don't give a version for HP-UX.&lt;BR /&gt;&lt;BR /&gt;Assuming not v3, from mmap(2):&lt;BR /&gt;The mmap() function will fail if:&lt;BR /&gt;&lt;BR /&gt;EACCES&lt;BR /&gt;&lt;BR /&gt;    The fildes argument is not open for read, regardless of the protection specified, or fildes is not open for write and PROT_WRITE was specified for a MAP_SHARED type mapping, or PROT_EXECUTE was set for a MAP_SHARED mapping operation and the underlying file does not have execute permission. &lt;BR /&gt;&lt;BR /&gt;Note that your library is -rw-r--r-- so you need to chmod +x at the least (or other options if you want just group or all users, etc.) Shared libraries are, unsurprisingly mapped with MAP_SHARED, by the way.&lt;BR /&gt;&lt;BR /&gt;11i v3 has corrected this to conform with UNIX 2003 (see &lt;A href="http://docs.hp.com/en/5991-6469/ch09s16.html" target="_blank"&gt;http://docs.hp.com/en/5991-6469/ch09s16.html&lt;/A&gt; ).</description>
      <pubDate>Fri, 07 Mar 2008 02:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156911#M726479</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-03-07T02:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156912#M726480</link>
      <description>Our System is:&lt;BR /&gt;HP-UX sys19 B.11.11 U 9000/800 136901597 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;The SYBASE env. is also set in PATH and SHLIB_PATH&lt;BR /&gt;&lt;BR /&gt;When reverting back to our previous sybase setup environment (32 bit) the same RWX settings are used and works although the extension is different.&lt;BR /&gt;&lt;BR /&gt;Does the .sl file need chmod "x" wheras the .a file does not?&lt;BR /&gt;&lt;BR /&gt;ll /opt/sybase/05/OCS-12_5/lib/*blk*&lt;BR /&gt;-rw-r--r--   1 sybase     sybase      204120 Jan 13  2004 /opt/sybase/05/OCS-12_5/lib/libblk.a&lt;BR /&gt;-rw-r--r--   1 sybase     sybase      216446 Jan 14  2004 /opt/sybase/05/OCS-12_5/lib/libblk_r.a&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2008 16:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156912#M726480</guid>
      <dc:creator>Richard Aubain</dc:creator>
      <dc:date>2008-03-07T16:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156913#M726481</link>
      <description>I confirm you that .sl have to be executable.&lt;BR /&gt;&lt;BR /&gt;.a don't need to be executable because code and data that are needed are copied into the executable during the link edition.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2008 18:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156913#M726481</guid>
      <dc:creator>Mounaam</dc:creator>
      <dc:date>2008-03-07T18:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156914#M726482</link>
      <description>Many thanks to all..</description>
      <pubDate>Fri, 07 Mar 2008 20:10:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156914#M726482</guid>
      <dc:creator>Richard Aubain</dc:creator>
      <dc:date>2008-03-07T20:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/lib/dld.sl: Call to mmap() failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156915#M726483</link>
      <description>First some of the basics.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The SYBASE env. is also set in PATH and SHLIB_PATH&lt;BR /&gt;&lt;BR /&gt;What is "echo $SHLIB_PATH"?&lt;BR /&gt;&lt;BR /&gt;Mounaam is correct, the ".a" does not need to be executable, only readable; ".sl" needs to be executable. In your case ".sl" does not exist.&lt;BR /&gt;&lt;BR /&gt;Also in your listings you show two environments, /opt/sybase/04 and /opt/sybase/05 (note the 04 and 05). Is that a typo or you have two servers or two installations in the same server? &lt;BR /&gt;&lt;BR /&gt;Now there is bug note in &lt;A href="http://download.sybase.com/pdfdocs/dcsr1107e/dcmssrb2.pdf" target="_blank"&gt;http://download.sybase.com/pdfdocs/dcsr1107e/dcmssrb2.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;bottom of pages 9 and 12. I am not sure it applies to you but it clearly says at one point sybase changed from using the .a library to using the .sl library.&lt;BR /&gt;&lt;BR /&gt;So if you have an early release of sybase, you need the .sl library. This means that  the "make" will create it at some point (which means your environment settings are wrong) or you have to find it from sybase.&lt;BR /&gt;&lt;BR /&gt;If you have a later release of sybase which does not need the .sl library. This does not agree with the error.&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Mar 2008 12:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-lib-dld-sl-call-to-mmap-failed/m-p/4156915#M726483</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-03-08T12:50:16Z</dc:date>
    </item>
  </channel>
</rss>

