You dont have the 64 bit zlib-devel package, install it

On 26-Apr-09, at 2:59 PM, Chris Chen wrote:

Hi Brian, thanks for your quick reply, here is error when "make"

Creating mod_sofia.la
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
gcc -shared .libs/mod_sofia_la-mod_sofia.o .libs/mod_sofia_la- sofia.o .libs/mod_sofia_la-sofia_glue.o .libs/mod_sofia_la- sofia_presence.o .libs/mod_sofia_la-sofia_reg.o .libs/mod_sofia_la- sofia_sla.o -Wl,--whole-archive /usr/src/freeswitch/libs/sofia-sip/ libsofia-sip-ua/.libs/libsofia-sip-ua.a -Wl,--no-whole-archive - Wl,--rpath -Wl,/usr/src/freeswitch/.libs -Wl,--rpath -Wl,/usr/local/ freeswitch/lib /usr/src/freeswitch/.libs/libfreeswitch.so -L/usr/src/ freeswitch/libs/apr/.libs -L/usr/src/freeswitch/libs/srtp -L/usr/ kerberos/lib64 -lssl -lcrypto -ldl -lz -lrt -lpthread -lncurses - Wl,-soname -Wl,mod_sofia.so -o .libs/mod_sofia.so
make[5]: *** [mod_sofia.la] Error 1
make[4]: *** [all] Error 2
make[3]: *** [mod_sofia-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
 +-------- FreeSWITCH Build Complete -----------+
 + FreeSWITCH has been successfully built.      +
 + Install by running:                          +
 +                                              +
 +               make install                   +
 +----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Do you think what can be done to correct the error:
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz

Your helps are greatly appreciated.
Thanks,


On Sun, Apr 26, 2009 at 2:51 PM, Brian West <br...@freeswitch.org> wrote: You're missing the REAL reason it failed... the libtool warning wasn't really what failed. Please do not make -j and do just "make" and see what really fails.

/b

On Apr 26, 2009, at 1:45 PM, Chris Chen wrote:

Making all in nua
         LTCOMPILE nua.lo
         LTCOMPILE nua_common.lo
         LTCOMPILE nua_stack.lo
         LTCOMPILE nua_server.lo
         LTCOMPILE nua_client.lo
         LTCOMPILE nua_extension.lo
         LTCOMPILE nua_dialog.lo
         LTCOMPILE outbound.lo
         LTCOMPILE nua_params.lo
         LTCOMPILE nua_register.lo
         LTCOMPILE nua_registrar.lo
         LTCOMPILE nua_session.lo
         LTCOMPILE nua_options.lo
         LTCOMPILE nua_message.lo
         LTCOMPILE nua_publish.lo
         LTCOMPILE nua_subnotref.lo
         LTCOMPILE nua_notifier.lo
         LTCOMPILE nua_event_server.lo
         LTCOMPILE nua_tag.lo
         LTCOMPILE nua_tag_ref.lo
         LINK libnua.la
         LINK libsofia-sip-ua.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
make[7]: *** [all-recursive] Error 1
Making all in packages
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ libsofia-sip-ua.la] Error 2
make[3]: *** [mod_sofia-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
 +-------- FreeSWITCH Build Complete -----------+
 + FreeSWITCH has been successfully built.      +
 + Install by running:                          +
 +                                              +
 +               make install                   +
 +----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.com





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to