skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
Does anybody know about this error, and how it can be fixed: I installed the required devel packages and the compilation went fine but i could see a message at the bottom(skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt) .Is it severe or can be ignored? gcc -g -o haproxy src/haproxy.o src/sessionhash.o src/base64.o src/protocol.o src/uri_auth.o src/standard.o src/buffer.o src/log.o src/task.o src/chunk.o src/channel.o src/listener.o src/time.o src/fd.o src/pipe.o src/regex.o src/cfgparse.o src/server.o src/checks.o src/queue.o src/frontend.o src/proxy.o src/peers.o src/arg.o src/stick_table.o src/proto_uxst.o src/connection.o src/proto_http.o src/raw_sock.o src/appsession.o src/backend.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o src/lb_map.o src/lb_fas.o src/stream_interface.o src/dumpstats.o src/proto_tcp.o src/session.o src/hdr_idx.o src/ev_select.o src/signal.o src/acl.o src/sample.o src/memory.o src/freq_ctr.o src/auth.o src/compression.o src/payload.o src/hash.o src/pattern.o src/map.o src/ev_poll.o src/ev_epoll.o src/ssl_sock.o src/shctx.o ebtree/ebtree.o ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o ebtree/ebsttree.o ebtree/ebimtree.o ebtree/ebistree.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL -DUSE_SYSCALL_FUTEX -DUSE_PCRE -I/usr/include -DCONFIG_HAPROXY_VERSION=\1.5.2\ -DCONFIG_HAPROXY_DATE=\2014/07/12\ \ -DSBINDIR='/usr/local/sbin' \ -c -o src/haproxy-systemd-wrapper.o src/haproxy-systemd-wrapper.c gcc -g -o haproxy-systemd-wrapper src/haproxy-systemd-wrapper.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
Re: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
This means that you have incompatible (from the point of view of ld) versions of libcrypt.so and libc.so that would have otherwise been first preference to resolve the dependencies, but since the compilation succeeded those apparently were found somewhere else. If haproxy starts up and is able to serve requests, you should be OK, but I would still check out why you have incompatible versions installed. A good place to start is file /usr/lib/libc.so On Thu, Jul 17, 2014 at 10:55 AM, Kuldip Madnani k.madnan...@gmail.com wrote: Does anybody know about this error, and how it can be fixed: I installed the required devel packages and the compilation went fine but i could see a message at the bottom(skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt) .Is it severe or can be ignored? gcc -g -o haproxy src/haproxy.o src/sessionhash.o src/base64.o src/protocol.o src/uri_auth.o src/standard.o src/buffer.o src/log.o src/task.o src/chunk.o src/channel.o src/listener.o src/time.o src/fd.o src/pipe.o src/regex.o src/cfgparse.o src/server.o src/checks.o src/queue.o src/frontend.o src/proxy.o src/peers.o src/arg.o src/stick_table.o src/proto_uxst.o src/connection.o src/proto_http.o src/raw_sock.o src/appsession.o src/backend.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o src/lb_map.o src/lb_fas.o src/stream_interface.o src/dumpstats.o src/proto_tcp.o src/session.o src/hdr_idx.o src/ev_select.o src/signal.o src/acl.o src/sample.o src/memory.o src/freq_ctr.o src/auth.o src/compression.o src/payload.o src/hash.o src/pattern.o src/map.o src/ev_poll.o src/ev_epoll.o src/ssl_sock.o src/shctx.o ebtree/ebtree.o ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o ebtree/ebsttree.o ebtree/ebimtree.o ebtree/ebistree.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL -DUSE_SYSCALL_FUTEX -DUSE_PCRE -I/usr/include -DCONFIG_HAPROXY_VERSION=\1.5.2\ -DCONFIG_HAPROXY_DATE=\2014/07/12\ \ -DSBINDIR='/usr/local/sbin' \ -c -o src/haproxy-systemd-wrapper.o src/haproxy-systemd-wrapper.c gcc -g -o haproxy-systemd-wrapper src/haproxy-systemd-wrapper.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc -- Sasha Pachev Fast Running Blog. http://fastrunningblog.com Run. Blog. Improve. Repeat.
Re: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
What minimum version of libcrypt.so and libc.so is required to perfectly compile haproxy 1.5.2? On Thu, Jul 17, 2014 at 2:17 PM, Sasha Pachev sa...@asksasha.com wrote: This means that you have incompatible (from the point of view of ld) versions of libcrypt.so and libc.so that would have otherwise been first preference to resolve the dependencies, but since the compilation succeeded those apparently were found somewhere else. If haproxy starts up and is able to serve requests, you should be OK, but I would still check out why you have incompatible versions installed. A good place to start is file /usr/lib/libc.so On Thu, Jul 17, 2014 at 10:55 AM, Kuldip Madnani k.madnan...@gmail.com wrote: Does anybody know about this error, and how it can be fixed: I installed the required devel packages and the compilation went fine but i could see a message at the bottom(skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt) .Is it severe or can be ignored? gcc -g -o haproxy src/haproxy.o src/sessionhash.o src/base64.o src/protocol.o src/uri_auth.o src/standard.o src/buffer.o src/log.o src/task.o src/chunk.o src/channel.o src/listener.o src/time.o src/fd.o src/pipe.o src/regex.o src/cfgparse.o src/server.o src/checks.o src/queue.o src/frontend.o src/proxy.o src/peers.o src/arg.o src/stick_table.o src/proto_uxst.o src/connection.o src/proto_http.o src/raw_sock.o src/appsession.o src/backend.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o src/lb_map.o src/lb_fas.o src/stream_interface.o src/dumpstats.o src/proto_tcp.o src/session.o src/hdr_idx.o src/ev_select.o src/signal.o src/acl.o src/sample.o src/memory.o src/freq_ctr.o src/auth.o src/compression.o src/payload.o src/hash.o src/pattern.o src/map.o src/ev_poll.o src/ev_epoll.o src/ssl_sock.o src/shctx.o ebtree/ebtree.o ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o ebtree/ebsttree.o ebtree/ebimtree.o ebtree/ebistree.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL -DUSE_SYSCALL_FUTEX -DUSE_PCRE -I/usr/include -DCONFIG_HAPROXY_VERSION=\1.5.2\ -DCONFIG_HAPROXY_DATE=\2014/07/12\ \ -DSBINDIR='/usr/local/sbin' \ -c -o src/haproxy-systemd-wrapper.o src/haproxy-systemd-wrapper.c gcc -g -o haproxy-systemd-wrapper src/haproxy-systemd-wrapper.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc -- Sasha Pachev Fast Running Blog. http://fastrunningblog.com Run. Blog. Improve. Repeat.
Re: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
Kuldip - haproxy should compile just fine with any reasonably recent version of libc/libcrypt. I think your problem is that you possibly have an extra libc.so (in addition to the one that is actually used by your system) that is for an incompatible architecture or something of that kind. What kind of system are you compiling on, and what is the output of file /usr/lib/libc.so ? Does your haproxy binary start? What is the output of ldd path/to/haproxy ? On Thu, Jul 17, 2014 at 1:27 PM, Kuldip Madnani k.madnan...@gmail.com wrote: What minimum version of libcrypt.so and libc.so is required to perfectly compile haproxy 1.5.2? On Thu, Jul 17, 2014 at 2:17 PM, Sasha Pachev sa...@asksasha.com wrote: This means that you have incompatible (from the point of view of ld) versions of libcrypt.so and libc.so that would have otherwise been first preference to resolve the dependencies, but since the compilation succeeded those apparently were found somewhere else. If haproxy starts up and is able to serve requests, you should be OK, but I would still check out why you have incompatible versions installed. A good place to start is file /usr/lib/libc.so On Thu, Jul 17, 2014 at 10:55 AM, Kuldip Madnani k.madnan...@gmail.com wrote: Does anybody know about this error, and how it can be fixed: I installed the required devel packages and the compilation went fine but i could see a message at the bottom(skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt) .Is it severe or can be ignored? gcc -g -o haproxy src/haproxy.o src/sessionhash.o src/base64.o src/protocol.o src/uri_auth.o src/standard.o src/buffer.o src/log.o src/task.o src/chunk.o src/channel.o src/listener.o src/time.o src/fd.o src/pipe.o src/regex.o src/cfgparse.o src/server.o src/checks.o src/queue.o src/frontend.o src/proxy.o src/peers.o src/arg.o src/stick_table.o src/proto_uxst.o src/connection.o src/proto_http.o src/raw_sock.o src/appsession.o src/backend.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o src/lb_map.o src/lb_fas.o src/stream_interface.o src/dumpstats.o src/proto_tcp.o src/session.o src/hdr_idx.o src/ev_select.o src/signal.o src/acl.o src/sample.o src/memory.o src/freq_ctr.o src/auth.o src/compression.o src/payload.o src/hash.o src/pattern.o src/map.o src/ev_poll.o src/ev_epoll.o src/ssl_sock.o src/shctx.o ebtree/ebtree.o ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o ebtree/ebsttree.o ebtree/ebimtree.o ebtree/ebistree.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL -DUSE_SYSCALL_FUTEX -DUSE_PCRE -I/usr/include -DCONFIG_HAPROXY_VERSION=\1.5.2\ -DCONFIG_HAPROXY_DATE=\2014/07/12\ \ -DSBINDIR='/usr/local/sbin' \ -c -o src/haproxy-systemd-wrapper.o src/haproxy-systemd-wrapper.c gcc -g -o haproxy-systemd-wrapper src/haproxy-systemd-wrapper.o -lcrypt -lz -lssl -lcrypto -L/usr/lib -lpcreposix -lpcre /usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc -- Sasha Pachev Fast Running Blog. http://fastrunningblog.com Run. Blog. Improve. Repeat. -- Sasha Pachev Fast Running Blog. http://fastrunningblog.com Run. Blog. Improve. Repeat.