[hobbit] Missing libpcre and libgcc in compiled binaries

Matthew Epp matthew.epp at us.army.mil
Tue Jul 17 18:53:08 CEST 2007


sladewig wrote:
> When you ran configure did it have:
> Checking for PCRE ...
> Found PCRE include files in /usr/local/include
> Found PCRE libraries in /usr/local/lib

Yes.

> OR...
> in /usr/local/lib/ is there a libpcre.so or just a libpcre.a ?
> If its just a libpcre.a file its a static lib and it won't show up as 
> being part of a dynamic dependancy as the code will be linked it directly.

Both.
$ls -l /usr/local/lib|grep pcre
-rw-r--r--    1 root     other      460740 Jul 12  2006 libpcre.a
-rwxr-xr-x    1 root     other         792 Jul 12  2006 libpcre.la
-rwxr-xr-x    1 root     other      433948 Jul 12  2006 libpcre.so.0.0.1
lrwxrwxrwx    1 root     other          31 Jul 16 17:30 libpcre.so.1 -> 
/usr/local/lib/libpcre.so.0.0.1
-rw-r--r--    1 root     other      495576 Jul 12  2006 libpcrecpp.a
-rwxr-xr-x    1 root     other        1213 Jul 12  2006 libpcrecpp.la
-rwxr-xr-x    1 root     other      495492 Jul 12  2006 libpcrecpp.so.0.0.0
-rw-r--r--    1 root     other       15688 Jul 12  2006 libpcreposix.a
-rwxr-xr-x    1 root     other         853 Jul 12  2006 libpcreposix.la
-rwxr-xr-x    1 root     other       20988 Jul 12  2006 
libpcreposix.so.0.0.0

So, you think it's seeing the libpcre.a and just building it statically? 
In that case, wouldn't the binary be slightly larger like the original 
build I had?



More information about the Xymon mailing list