NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cannot compile with mysq.h



On Sun, Dec 27, 2015 at 05:16:15PM +0100, Saskia wrote:
> Im trying to compile my c program that uses mysql. I have to link with
> -lcrypto even though I don't need SSL or encryption and on NetBSD 7.0 I
> simply cannot compile my program, I get this error:
> 
> warning: RC5 is a patented algorithm; link against libcrypto_rc5
> 
> Does this mean I can no longer write c programs (for non commercial usage)
> that uses mysql?
> How should I link my program? I used $(mysql_config --libs) and the line
> -lcrypto is causing the problem.
> 
> Any help would be appriciated.

Has the subject line anything to do with this?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Home | Main Index | Thread Index | Old Index