Mantis - Resin
Viewing Issue Advanced Details
432 minor always 10-24-05 00:00 02-10-06 11:40
jdane  
 
normal  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.18  
0000432: EGREP not defined in libtool on Tiger
RSN-478
when building resin, the following error appears:

> make
...

/Users/jdane/tools/resin3/libtool --silent --mode=link cc -module -o mod_caucho.la -avoid-version -rpath /usr/libexec/httpd mod_caucho.lo ../common/stream.lo ../common/config.lo ../common/memory.lo
/Users/jdane/tools/resin3/libtool: line 3661: Mach-O dynamically linked shared library: command not found

*** Warning: linker path does not have real file for library -lc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mod_caucho. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

I found that in the generated libtool script, the symbol EGREP is never defined, causing the error noted above. adding a definition for EGREP seemed to solve the problem.
Mac OS 10.4 (TIger)

There are no notes attached to this issue.