Federico Fern�ndez Cruz wrote:

> Hi all!
>
>    I'm having problems with the correct use of shared libraries on Linux.
>
>    If I use [-lsmime3 -lnss3] I get a lot of errors complaining about 
> unreferenced symbols. Then I'm forced to add another libraries but 
> that doesn't solve the problem because I get another unreferenced 
> symbols. After all I get a huge link line with almost all libraries on 
> it.
>
>
>    What is the problem? How can I solve it?
>
>    I'm using NSS 3.3 on RH 7.1 and NSS compilation worked with no 
> problems. 

What symbols are missing?

The correct order is  -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4 .
That's the way our test applications link. You should be able to drop 
either ssl3 or smime3 if you aren't using SSL or S/MIME-pkcs7-pkcs12 
respectively.  plc4, plds4, and nspr4 are all NSPR libraries.

bob

>
>
>
>    Thanks in advance.
>


Reply via email to