Re: How to include Libs and Flags in ./configure

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/15 Raghavendra Prasad <[email protected]>:
>  With the option --with-libs="-lTOS -lCTIfce -lCIfce -lm"  I get an error

*what* error?

> I have stored all these libraries in  "net-snmp-5.4.1"
> directory, is this the property directory to store?

No - probably not.

You would normally install the libraries into the main filesystem
(e.g.  /usr/local/lib or /usr/lib),  so that the agent can find them
both when compiling *and* when running.


> I have another shared library "NEEDELIB=libTOS.so", how do I include
> this in ./configure step?, I tried putting libTOS.so inside
> "--with-libs=" in addition to to the above.

The incantation that you are using already include '-lTOS'
which will pick up the libTOS.so library.  Why do you need
to specify it again?


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.