Link openssl to ns3

370 views
Skip to first unread message

Mo Amin

unread,
Aug 21, 2014, 2:54:47 AM8/21/14
to ns-3-...@googlegroups.com
I need to link openssl to ns3.19. I add this line to wscript file conf.env.append_value('LINKFLAGS','-lcrypto') it works fine on Mac but on ubuntu 14.04 gives me error in linker I tried to install openssl sudo apt-get install openssl libssl-dev  it is already installed

Thanks

dilraj singh

unread,
Sep 9, 2014, 7:04:14 AM9/9/14
to ns-3-...@googlegroups.com
Hi Amin,
Can you please share the information that how the WSCRIPT is changed and which particular WSCRIPT needs to be chnaged to access the OPENSSL in ns3 from /usr/include/openssl.

Thanks in Advance.

Dilraj
Message has been deleted

Mo Amin

unread,
Nov 7, 2014, 7:48:23 PM11/7/14
to ns-3-...@googlegroups.com
Hi Dilraj

This is the config function in WSCRIPT 

def configure(conf):
     conf.env.append_value('CXXFLAGS', ['-Wall', '-g', '-O0'])
     conf.env.append_value('LIBDIR',  ['/Users/Mo/Documents/*/openssl'])
     conf.env.append_value('INCLUDEDIR' , ['/Users/Mo/Documents/*/openssl'])
     conf.env.append_value('LINKFLAGS' , ['-lcrypto'])

Amir Reda

unread,
Nov 8, 2014, 2:01:43 AM11/8/14
to ns-3-...@googlegroups.com
sear amin
salmo alkom
i attached the wscript file which uses cryptopp and openssl
but i was using ns3.15 hope this will be helpful

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.



--
Warmest regards and best wishes for a good health,urs sincerely
mero
wscript
Reply all
Reply to author
Forward
0 new messages