bradybd / pdsh

Automatically exported from code.google.com/p/pdsh
GNU General Public License v2.0
0 stars 0 forks source link

Use libgenders.a when compiling with --enable-static-modules #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I compile pdsh-31 (and earlier) on my Solaris 10 host, it appears that 
while the modules a statically linked, the pdsh binary is still dependent on 
the libgenders.so.  If pdsh could be compiled to only depend on the usual 
Solaris shared libraries, the binary could be more "mobile".

Original issue reported on code.google.com by chris.da...@gmail.com on 21 Feb 2014 at 4:57

GoogleCodeExporter commented 9 years ago
Yes, unfortunately the static-modules literally means just that, modules will 
be built statically. Every other shared library will be linked dynamically, 
i.e. the binary itself will not be built statically. 

Unfortunately, I don't have much time to look at this now, but would be happy 
to accept a patch. Or I can put this on the todo list.

One thing you could try is going through your local copy and changing the 
Makefile directly in src/modules to link with libgenders.a instead of 
-lgenders...

Original comment by mark.gro...@gmail.com on 24 Feb 2014 at 2:48