[Buildroot] [PATCH 1/1] libssh2: fix library search path issues when zlib support enabled

Arnout Vandecappelle arnout at mind.be
Wed Jul 2 06:18:08 UTC 2014


On 30/06/14 14:33, Alexandre COFFIGNAL wrote:
> Thomas,
> 
> here contents of output/build/libssh2-1.4.3/config.log  :


 The log doesn't give much interesting information.

 However, I see in the configure script at line 14539:

    eval additional_libdir=\"$libdir\"

and a bit lower, at line 14616:

            dir="$additional_libdir"
                                    if test -n "$acl_shlibext"; then
              if test -f "$dir/$libname$shrext"; then
                found_dir="$dir"
                found_so="$dir/$libname$shrext"

 Since libdir is /usr/lib, it will indeed find libz there.

 I guess, Thomas, that on your machine, libz.so is in /usr/lib64 so configure
doesn't find it there.


 But basically that means this configure script is truly broken, not just for
libz but for any use of AC_LIB_HAVE_LINKFLAGS...


 Perhaps AUTORECONF will help?

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F



More information about the buildroot mailing list