Re: net-snmp cross compile

This is a discussion on Re: net-snmp cross compile within the SNMP Coders forums, part of the Networking and Network Related category; 2008/5/9 Tewen Hsieh <tewen.hsieh@itas.com.tw>: > I have tried --disable-shared in my ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Days Ago
Dave Shield
 
Posts: n/a
Default Re: net-snmp cross compile

2008/5/9 Tewen Hsieh <tewen.hsieh@itas.com.tw>:
> I have tried --disable-shared in my configure phase.
>
> ./configure --disable-shared --target=mips-linux
> --with-cc=mips2_fp_be-gcc --host=mips --with-endianness=big
> --prefix=/not/usr/ --with-install-prefix=/tmp
>
>
>
> But it still shows "./snmpd: error while loading shared libraries:
> libcrypto.so.0.9.7: cannot open shared object file: No such file or
> directory.


Which versions of the crypto library do you have installed?
What does "locate libcrypto" report?

If it doesn't mention 'libcrypto.a', then you may need to install
the openssl-devel RPM (or similar).



> Parameter "--disable-shared" seems unuseful!


The linker can only link in the static libraries that it can find.
If you don't have a static version of the crypto library available,
then it will have to use the dynamic version.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:37 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0