Operating System - HP-UX
1752808 Members
5900 Online
108789 Solutions
New Discussion

Re: Error: ld: Unsatisfied symbol

 
Dennis Handly
Acclaimed Contributor

Re: Error: ld: Unsatisfied symbol

>I found the solution but not sure why it wasn't working
>-L$(SECDIR)/lib -l:libnaicsec2.a
>-L$(SECDIR)/lib -lnaicsec2

The first line says it only wants an archive lib. The second will first select the shlib then the archive if no shlib.