<?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 Problem about Library in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-about-library/m-p/3680381#M102848</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I wrote a program. Two files: utilities.C and aeact.C. Then I use the following commands to get the executable file:&lt;BR /&gt;aCC -AA +DAportable -I/opt/ftam/include -g -c utilities.C&lt;BR /&gt;aCC -AA +DAportable -I/opt/ftam/include -g -c aeact.C&lt;BR /&gt;aCC -AA -o aeact aeact.o utilities.o -lmap -lmapftam -mt&lt;BR /&gt;&lt;BR /&gt;When I run the program aeact, the output is unexpected like the following:&lt;BR /&gt;/usr/lib/dld.sl: Unresolved symbol: log_instance (data)  from /opt/ftam/shlib/libmapftam.4&lt;BR /&gt;/usr/lib/dld.sl: Unresolved module for symbol: ft_aeactivation (code)  from aeact&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;&lt;BR /&gt;I use gdb to debug the executable, it coredump at the first call of the library mapftam.&lt;BR /&gt;&lt;BR /&gt;Then I wrote another program in c, and use:&lt;BR /&gt;aCC -Ae +DAportable -g -o myaeact  myaeact.c -lmapftam -lmap to build the executable, it works well.&lt;BR /&gt;&lt;BR /&gt;What can I do to fix the problem of aeact program? Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Fei</description>
    <pubDate>Mon, 28 Nov 2005 21:11:00 GMT</pubDate>
    <dc:creator>Fei Rao</dc:creator>
    <dc:date>2005-11-28T21:11:00Z</dc:date>
    <item>
      <title>Problem about Library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-about-library/m-p/3680381#M102848</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I wrote a program. Two files: utilities.C and aeact.C. Then I use the following commands to get the executable file:&lt;BR /&gt;aCC -AA +DAportable -I/opt/ftam/include -g -c utilities.C&lt;BR /&gt;aCC -AA +DAportable -I/opt/ftam/include -g -c aeact.C&lt;BR /&gt;aCC -AA -o aeact aeact.o utilities.o -lmap -lmapftam -mt&lt;BR /&gt;&lt;BR /&gt;When I run the program aeact, the output is unexpected like the following:&lt;BR /&gt;/usr/lib/dld.sl: Unresolved symbol: log_instance (data)  from /opt/ftam/shlib/libmapftam.4&lt;BR /&gt;/usr/lib/dld.sl: Unresolved module for symbol: ft_aeactivation (code)  from aeact&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;&lt;BR /&gt;I use gdb to debug the executable, it coredump at the first call of the library mapftam.&lt;BR /&gt;&lt;BR /&gt;Then I wrote another program in c, and use:&lt;BR /&gt;aCC -Ae +DAportable -g -o myaeact  myaeact.c -lmapftam -lmap to build the executable, it works well.&lt;BR /&gt;&lt;BR /&gt;What can I do to fix the problem of aeact program? Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Fei</description>
      <pubDate>Mon, 28 Nov 2005 21:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-about-library/m-p/3680381#M102848</guid>
      <dc:creator>Fei Rao</dc:creator>
      <dc:date>2005-11-28T21:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about Library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-about-library/m-p/3680382#M102849</link>
      <description>Rao,&lt;BR /&gt;&lt;BR /&gt;To resolve dependencies that are not present in the default "/usr/lib" directory searched by the link-editor (ld) specify the full path to the mapftam shared library with the -L option as:&lt;BR /&gt;&lt;BR /&gt;# aCC -AA -o aeact aeact.o utilities.o -L/opt/ftam/shlib -lmap -lmapftam&lt;BR /&gt;&lt;BR /&gt;regards!</description>
      <pubDate>Tue, 29 Nov 2005 00:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-about-library/m-p/3680382#M102849</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-11-29T00:19:44Z</dc:date>
    </item>
  </channel>
</rss>

