seems like i forgot to mention that you have to compile matrixssl before the monkey plugin:
cd matrixssl-3-3-1-open/ make On Thu, Aug 23, 2012 at 7:00 PM, Luna <[email protected]> wrote: > [****@****liana_ssl]$ gcc -g liana_ssl.c -shared -o monkey-liana_ssl.so > -I../../src/include/ -I/home/username/matrixssl-3-3-1-open/ -fPIC -DPOSIX > -L/home/username/matrixssl-3-3-1-open -lmatrixssl > > /usr/bin/ld: cannot find -lmatrixssl > collect2: ld returned 1 exit status > > If I don't include -lmatrixssl no error message comes out. > > -----Original Message----- From: Eduardo Silva > Sent: Thursday, August 23, 2012 7:14 PM > > To: Luna > Cc: [email protected] > Subject: Re: [Monkey] liana_ssl > > please copy/paste the full output of the gcc command. > > On Thu, Aug 23, 2012 at 6:02 PM, Luna <[email protected]> wrote: >> >> It stops right there, I don't matrixssl does not compile a file like that. >> >> /usr/bin/ld: cannot find -lmatrixssl >> collect2: ld returned 1 exit status >> >> >> -----Original Message----- From: Eduardo Silva >> Sent: Wednesday, August 22, 2012 11:34 PM >> To: Luna >> Cc: [email protected] >> Subject: Re: [Monkey] liana_ssl >> >> Hi, >> >> On Wed, Aug 22, 2012 at 6:51 PM, Luna <[email protected]> wrote: >>> >>> >>> Hi I been trying to compile monkey with liana_ssl, I notice on the make >>> it >>> requires matrixssl. I go download matrixssl and try to compile or maybe >>> monkey just need the headers its not clear on this part. Then again I >>> never >>> did understand some things in Linux. In the folder of liana_ssl I check >>> the >>> path in the makefile where it had /usr/include/matrixssl for the >>> matrixssl >>> so I copy the header files there. Unfortunately it does not compile >>> right >>> I >>> gotton to the point where ld is looking –lmatrixssl so I’m stumped at >>> this >>> matrixssl does not even compile a binary like that. I’m using Red Hat >>> EPEL >>> 6 i386 without liana_ssl it compiles correctly and I can use monkey. For >>> my >>> test I need monkey with ssl support. Can somebody help me out here. >>> Mostly >>> is there a way to properly compile and place the headers so monkey can >>> use >>> them correctly >>> >> >> Hi, >> >> i understand, matrixssl is a pain, it don't have a clean way to >> install the binaries and headers in the system. We will move to a more >> friendly SSL library shortly. >> >> I just tested the following workaround: >> >> 1) get monkey-1.1.1, configure like: ./configure --debug , then 'make' >> 2) get matrixssl 3.3.1, after unpack it you should have something >> like: /home/foo/matrixssl-3-3-1-open/ >> 3) go into monkey directory: monkey-1.1.1/plugins/liana_ssl >> 4) compile the plugin with the following command: >> >> gcc -g liana_ssl.c -shared -o monkey-liana_ssl.so >> -I../../src/include/ -I/home/foo/matrixssl-3-3-1-open/ -fPIC -DPOSIX >> -L/home/foo/matrixsssl-3-3-1-open -lmatrixssl >> >> (make sure to replace /home/foo/matrixssl-3-3-1-open/ with the >> proper directory from where you have matrixssl) >> >> 5) after that you will have a file called monkey-liana_ssl.so, thats >> your plugin :) >> >> 6) Edit monkey-1.1.1/conf/plugins.load and make sure the >> monkey-liana_ssl.so plugin is loaded >> >> please let me know if it works, >> >> best >> >> >> -- >> Eduardo Silva >> http://edsiper.linuxchile.cl >> http://www.monkey-project.com >> _______________________________________________ >> Monkey mailing list >> [email protected] >> http://lists.monkey-project.com/listinfo/monkey > > > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl > http://www.monkey-project.com > _______________________________________________ > Monkey mailing list > [email protected] > http://lists.monkey-project.com/listinfo/monkey -- Eduardo Silva http://edsiper.linuxchile.cl http://www.monkey-project.com _______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
