From: Jerome J. <Jer...@fe...> - 2000-12-08 10:03:55
|
version : ucd-snmp version 4.2 system : SunOS 5.7 Generic_106541-11 sun4u sparc SUNW,Ultra-250 protocol : AgentX Hello, first off, thanks very much. Wes Hardaker wrote: > > >>>>> On Wed, 06 Dec 2000 18:11:27 +0100, Jerome Jargot <Jer...@fe...> said: > > Jerome> The ucd-snmp/agent/.libs/snmpd is a binary which seems to use > Jerome> the dynamic libraries: > > Jerome> - ucd-snmp/agent/.libs/libucdagent-0.4.2.so > Jerome> - ucd-snmp/agent/.libs/libucdmibs-0.4.2.so > Jerome> - ucd-snmp/snmplib/.libs/libsnmp-0.4.2.so > > Jerome> Is it true ? > > Jerome> So, could it be possible to remove all lib*.a, lib*.la, > Jerome> lib*.lai ? (will the master agent be working after that ?) > > You should not delete anything from the build tree. libtool makes use > of these files when you run "make install". (a binary will be > installed, not the shell script) I do not need to install the master agent and subagents onto the SUN I'm using for compilation. I produce a master agent and some subagents, that are standard for my company (FERMA). But project workers will customize our products later on, for clients, and they are going to produce additional subagents. The main line is that I deliver a unix package (pkgadd command), for already created agents, and the ucd-snmp directory that allows additionnal subagents to be created by project workers. ??? What are the things done during 'make install' that need *.lai and *.la and *.a to install the binary ? ??? > > Note that by default the package is built with both static and shared > libraries. To turn one or the other off, use --disable-static or > --disable-shared when running configure. OK, very usefull. > Jerome> After compiling a subagent, does it use the same dynamic > Jerome> libraries ? i.e.: if I copy the 3 libraries into > Jerome> /usr/stuff/lib, does the master agent AND subagents run well > Jerome> using LD_LIBRARY_PATH=/usr/stuff/lib ? > > In theory. "make install" is the proper way to go to ensure that > things work (and it'll tell you what you need to do if anything). > I need to make my own install. Thanks very much again for all. Jerome |