http://bugs.winehq.org/show_bug.cgi?id=10360
--- Comment #4 from Scott Ritchie scott@open-vote.org 2007-11-09 04:56:31 --- Here's what config.log has to say about png:
configure:15115: gcc -m32 -o conftest -g -O2 -L/lib32 -L/usr/lib32 -L/home/scott/src/wine-0.9.48/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32 conftest.c -lpng >&5 /usr/bin/ld: skipping incompatible /usr/bin/../lib/libpng.so when searching for -lpng /usr/bin/ld: skipping incompatible /usr/bin/../lib/libpng.a when searching for -lpng /usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for -lpng /usr/bin/ld: skipping incompatible /usr/lib/libpng.a when searching for -lpng /usr/bin/ld: cannot find -lpng collect2: ld returned 1 exit status
ln -s /usr/lib32/libldap.so.2 `pwd`/lib32/libldap.so ln -s /usr/lib32/libldap_r.so.2 `pwd`/lib32/libldap_r.so
As for OpenLDAP, even after I handlink it to both config.h gives this:
/* Define if you have the OpenLDAP development environment */ /* #undef HAVE_LDAP */
/* Define to 1 if you have the `ldap_count_references' function. */ /* #undef HAVE_LDAP_COUNT_REFERENCES */
/* Define to 1 if you have the `ldap_first_reference' function. */ /* #undef HAVE_LDAP_FIRST_REFERENCE */
/* Define to 1 if you have the <ldap.h> header file. */ #define HAVE_LDAP_H 1
/* Define to 1 if you have the `ldap_next_reference' function. */ /* #undef HAVE_LDAP_NEXT_REFERENCE */
/* Define to 1 if you have the `ldap_parse_reference' function. */ /* #undef HAVE_LDAP_PARSE_REFERENCE */