<?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: Error: ld: Unsatisfied symbol in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144796#M683231</link>
    <description>I think in my make file this line is not working&lt;BR /&gt;&lt;BR /&gt;validate: validate.cpp $(OBJECTS)&lt;BR /&gt;        $(CC) $(CFLAGS) $(INCLUDES) $@.cpp $(OBJECTS) $(LIBS) $(DEFINES) $(LDOPTS) -o $@&lt;BR /&gt;#       chatr -s +b disable +s enable $@&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Because the next two lines are&lt;BR /&gt;mv $(EXES) ../bin/&lt;BR /&gt;        mv $(OBJECTS) ../obj/&lt;BR /&gt;&lt;BR /&gt;but after it errors out I see all the object files r seating in the src folder and it wasn't moved to obj or bin like those to lines...</description>
    <pubDate>Thu, 04 Dec 2008 21:33:14 GMT</pubDate>
    <dc:creator>Anwarul Kabir</dc:creator>
    <dc:date>2008-12-04T21:33:14Z</dc:date>
    <item>
      <title>Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144795#M683230</link>
      <description>Whats does this error means?&lt;BR /&gt;&lt;BR /&gt;splbatdv@hp66ap23|[/app/dvlp/splbatdv/splbatch/build/exe/validate/src] &amp;gt; make&lt;BR /&gt;        aCC +DD64 -AA -z -g -mt -DSTD_AA +Z -I/oracle/product/10.2.0/rdbms/public  -I/oracle/product/10.2.0/network/public  -I.  -I../inc  -I../../../lib/db_ob/inc  -I../../../lib/utility/inc  -I../../../lib/xml/inc  -I/app/dvlp/common/xerces/include/  -I/app/dvlp/common/Secure/C++/inc  -c reporter.cpp&lt;BR /&gt;        aCC +DD64 -AA -z -g -mt -DSTD_AA +Z -I/oracle/product/10.2.0/rdbms/public  -I/oracle/product/10.2.0/network/public  -I.  -I../inc  -I../../../lib/db_ob/inc  -I../../../lib/utility/inc  -I../../../lib/xml/inc  -I/app/dvlp/common/xerces/include/  -I/app/dvlp/common/Secure/C++/inc  -c db_reporter.cpp&lt;BR /&gt;        aCC +DD64 -AA -z -g -mt -DSTD_AA +Z -I/oracle/product/10.2.0/rdbms/public  -I/oracle/product/10.2.0/network/public  -I.  -I../inc  -I../../../lib/db_ob/inc  -I../../../lib/utility/inc  -I../../../lib/xml/inc  -I/app/dvlp/common/xerces/include/  -I/app/dvlp/common/Secure/C++/inc  -c transaction_error_table.cpp&lt;BR /&gt;        aCC +DD64 -AA -z -g -mt -DSTD_AA +Z -I/oracle/product/10.2.0/rdbms/public  -I/oracle/product/10.2.0/network/public  -I.  -I../inc  -I../../../lib/db_ob/inc  -I../../../lib/utility/inc  -I../../../lib/xml/inc  -I/app/dvlp/common/xerces/include/  -I/app/dvlp/common/Secure/C++/inc validate.cpp reporter.o  db_reporter.o  transaction_error_table.o -L/oracle/product/10.2.0/lib -lclntsh   -L../../../lib/xml/lib -lxml  -L../../../lib/db_ob/lib -ldb_ob  -L../../../lib/utility/lib -lutility  -L/app/dvlp/common/xerces/lib -lxerces-c  -L/app/dvlp/common/Secure/C++/lib -l:libnaicsec2.a  -Wl,-B,immediate,+n -o validate&lt;BR /&gt;ld: Unsatisfied symbol "EVP_CipherInit_ex" in file /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]&lt;BR /&gt;ld: Unsatisfied symbol "EVP_CIPHER_CTX_cleanup" in file /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]&lt;BR /&gt;ld: Unsatisfied symbol "EVP_des_ede3_ecb" in file /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]&lt;BR /&gt;ld: Unsatisfied symbol "EVP_CIPHER_CTX_init" in file /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]&lt;BR /&gt;ld: Unsatisfied symbol "EVP_CipherUpdate" in file /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]&lt;BR /&gt;ld: Unsatisfied symbol "EVP_CipherFinal_ex" in file /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]&lt;BR /&gt;6 errors.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am clue less where to look. I am converting this running application from 32bit HP to 64bit HP box and still can't able to compile the application.&lt;BR /&gt;&lt;BR /&gt;As you can see this one is trying to access a shared library and giving me the error. I can't even look at the library as its a .a file.&lt;BR /&gt;&lt;BR /&gt;So please help.</description>
      <pubDate>Thu, 04 Dec 2008 21:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144795#M683230</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-04T21:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144796#M683231</link>
      <description>I think in my make file this line is not working&lt;BR /&gt;&lt;BR /&gt;validate: validate.cpp $(OBJECTS)&lt;BR /&gt;        $(CC) $(CFLAGS) $(INCLUDES) $@.cpp $(OBJECTS) $(LIBS) $(DEFINES) $(LDOPTS) -o $@&lt;BR /&gt;#       chatr -s +b disable +s enable $@&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Because the next two lines are&lt;BR /&gt;mv $(EXES) ../bin/&lt;BR /&gt;        mv $(OBJECTS) ../obj/&lt;BR /&gt;&lt;BR /&gt;but after it errors out I see all the object files r seating in the src folder and it wasn't moved to obj or bin like those to lines...</description>
      <pubDate>Thu, 04 Dec 2008 21:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144796#M683231</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-04T21:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144797#M683232</link>
      <description>Attached is the make file</description>
      <pubDate>Thu, 04 Dec 2008 21:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144797#M683232</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-04T21:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144798#M683233</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You should be able to use 'nm' to see the symbols in your *.a" archive.  see the manpages for more information.  Another useful resource is:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/9482/linkhelp.html" target="_blank"&gt;http://docs.hp.com/en/9482/linkhelp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 04 Dec 2008 21:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144798#M683233</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-04T21:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144799#M683234</link>
      <description>&amp;gt;I am clueless where to look. I am converting this running application from 32bit HP to 64bit HP box and still can't able to compile the application.&lt;BR /&gt;&lt;BR /&gt;Going from 32 to 64 won't have this problem unless you forgot to compile a lib.&lt;BR /&gt;Also you are able to compile fine, you just can't link.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;As you can see this one is trying to access a shared library and giving me the error.&lt;BR /&gt;&lt;BR /&gt;I see an archive lib.  And you are linking with +n, so it isn't an ordering problem.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I can't even look at the library as its a .a file.&lt;BR /&gt;&lt;BR /&gt;Why not?  As JRF says, you can use nm(1).&lt;BR /&gt;&lt;BR /&gt;If you want to search for those symbols you can use:&lt;BR /&gt;nm -pxAN /app/dvlp/common/Secure/C++/lib/lib* |&lt;BR /&gt;   grep -e EVP_CipherInit_ex -e EVP_CIPHER_CTX_cleanup&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Because the next two lines are ... but after it errors out I see all the object files are seating in the src directory&lt;BR /&gt;&lt;BR /&gt;Those mv lines aren't executed if the link fails.</description>
      <pubDate>Fri, 05 Dec 2008 00:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144799#M683234</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-05T00:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144800#M683235</link>
      <description>So I did the grep command and I can see its returning me the symbols so now what?&lt;BR /&gt;&lt;BR /&gt;splbatdv@hp66ap23|[/app/dvlp/common/Secure/C++/lib] &amp;gt; nm -pxAN /app/dvlp/common/Secure/C++/lib/lib* |&lt;BR /&gt;&amp;gt; grep -e EVP_CipherInit_ex -e EVP_CIPHER_CTX_cleanup&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2-old.a[PropertiesDao.o]:EVP_CipherInit_ex&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2-old.a[PropertiesDao.o]:EVP_CIPHER_CTX_cleanup&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2-old.sl:EVP_CipherInit_ex&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2-old.sl:EVP_CIPHER_CTX_cleanup&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]:EVP_CipherInit_ex&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2.a[PropertiesDao.o]:EVP_CIPHER_CTX_cleanup&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2.sl:EVP_CipherInit_ex&lt;BR /&gt;0x0000000000000000 U  /app/dvlp/common/Secure/C++/lib/libnaicsec2.sl:EVP_CIPHER_CTX_cleanup</description>
      <pubDate>Fri, 05 Dec 2008 13:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144800#M683235</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-05T13:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144801#M683236</link>
      <description>Actually I am getting five of them back one is missing&lt;BR /&gt;&lt;BR /&gt;nm -pxAN libnaicsec2.a | grep -e EVP_CipherInit_ex -e EVP_CIPHER_CTX_init -e EVP_des_ede3_ecb -e EVP_CIPHER_CIX_cleanup -e EVP_CipherUpdate -e EVP_CipherFinal_ex&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;0x0000000000000000 U  libnaicsec2.a[PropertiesDao.o]:EVP_CipherInit_ex&lt;BR /&gt;&lt;BR /&gt;0x0000000000000000 U  libnaicsec2.a[PropertiesDao.o]:EVP_CipherUpdate&lt;BR /&gt;&lt;BR /&gt;0x0000000000000000 U  libnaicsec2.a[PropertiesDao.o]:EVP_CipherFinal_ex&lt;BR /&gt;&lt;BR /&gt;0x0000000000000000 U  libnaicsec2.a[PropertiesDao.o]:EVP_CIPHER_CTX_init&lt;BR /&gt;&lt;BR /&gt;0x0000000000000000 U  libnaicsec2.a[PropertiesDao.o]:EVP_des_ede3_ecb&lt;BR /&gt;&lt;BR /&gt;Only EVP_CIPHER_CIX_cleanup  symbol is missing. Can one missing symbol cause the error for others? and What do i need to do to fix this...</description>
      <pubDate>Fri, 05 Dec 2008 13:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144801#M683236</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-05T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144802#M683237</link>
      <description>&amp;gt;I am getting five of them back one is missing&lt;BR /&gt;&lt;BR /&gt;You should get all that you search for.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;nm -pxAN libnaicsec2.a | grep -e EVP_CipherInit_ex -e EVP_CIPHER_CTX_init -e EVP_des_ede3_ecb -e EVP_CIPHER_CIX_cleanup -e EVP_CipherUpdate -e EVP_CipherFinal_ex&lt;BR /&gt;&lt;BR /&gt;You are suppose to add every lib to nm so you can find where it is defined.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Only EVP_CIPHER_CIX_cleanup symbol is missing.&lt;BR /&gt;&lt;BR /&gt;You have a typo for EVP_CIPHER_CTX_cleanup.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can one missing symbol cause the error for others?&lt;BR /&gt;&lt;BR /&gt;Possibly only for dld and shlibs.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What do I need to do to fix this?&lt;BR /&gt;&lt;BR /&gt;Find the lib where these are defined.  Where do you think they should be defined?&lt;BR /&gt;Take a look at your 32 bit application, where it works.</description>
      <pubDate>Fri, 05 Dec 2008 23:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144802#M683237</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-05T23:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144803#M683238</link>
      <description>I fixed the typo and now i am getting all 6 missing symbols. Now what should I do? &lt;BR /&gt;&lt;BR /&gt;Unfortunately I can't see the application running as I don't have access to that box...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2008 15:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144803#M683238</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-09T15:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144804#M683239</link>
      <description>I found the solution but not sure why it wasn't working&lt;BR /&gt;&lt;BR /&gt;changed this&lt;BR /&gt;Replace this line&lt;BR /&gt;-L$(SECDIR)/lib -l:libnaicsec2.a&lt;BR /&gt;With this line&lt;BR /&gt;-L$(SECDIR)/lib -lnaicsec2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in the make file and it started to work...</description>
      <pubDate>Tue, 09 Dec 2008 21:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144804#M683239</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-09T21:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ld: Unsatisfied symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144805#M683240</link>
      <description>&amp;gt;I found the solution but not sure why it wasn't working&lt;BR /&gt;&amp;gt;-L$(SECDIR)/lib -l:libnaicsec2.a&lt;BR /&gt;&amp;gt;-L$(SECDIR)/lib -lnaicsec2&lt;BR /&gt;&lt;BR /&gt;The first line says it only wants an archive lib.  The second will first select the shlib then the archive if no shlib.</description>
      <pubDate>Tue, 09 Dec 2008 22:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-ld-unsatisfied-symbol/m-p/5144805#M683240</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-09T22:34:07Z</dc:date>
    </item>
  </channel>
</rss>

