On 11/07/07, Need Help <[EMAIL PROTECTED]> wrote: > Now, if I repeat the entire process from the beginning again but use the > "--disable-shared" option in the configure (see below), then the > "lib(xxxxxx).so" > "lib(xxxxxx).so.15", "lib(xxxxxx).so.15.0.0" files are not produced. > .... Why does "--disable-shared" > cause these files not to be produced?
Because these are shared libraries "--disable-shared" is saying that you don't want to use shared libraries. If you tell the system not to generate shared libraries, then it won't produce the shared libraries. > When I try to start my subAgent without these files existing, then I get > an error indicating the need for these files to exist. If the shared libraries exist when you compile the sub-agent, then it will typically expect to use them at run time. If you re-compile the sub-agent when there are only the static libraries (.a) present, then it should be fine. Alternatively, you can probably compile the subagent to use static libraries by default - see the documentation for your compiler for details. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
