Thanks for helping jeff, but it haven't worked yet. I searched my libssl.so in my /usr/lib and I didn't find. Does someone have any idea? I have installed the libssl-dev, libssl0.9.8.
Thanks for helping. > Date: Thu, 23 Aug 2012 21:18:37 -0400 > Subject: Re: OpenSSL on beagleboard > From: [email protected] > To: [email protected] > > On Thu, Aug 23, 2012 at 9:06 PM, Paulo Roberto <[email protected]> > wrote: > > Hello, I am using the package libssl-dev on ubuntu in my beagleboard xm, and > > I have to run two C algorithms using the openSSL library.. > > Although I can't compile using the command: gcc test.c -lssl -o test. It > > seems the compiler isn't recognizing the "-lssl" command. > > Does someone know how to solve this? > > Do I have to set some path, or something like that? > You specify linker commands (such as libraries) at the very end of the > compiler drive command. From the g++ man pages (around line 25): > "...the placement of the -l option is significant." > > gcc test.c -o test -lssl > > You might also want to add -Wl,-Bstatic unless you want to do the > shared object thing. > > Jeff > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected]
