Operating System - HP-UX
1753510 Members
5466 Online
108795 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.