[Bug 10360] New: Configure is not linking to libhal or libpng12 even after providing . so symlinks
http://bugs.winehq.org/show_bug.cgi?id=10360 Summary: Configure is not linking to libhal or libpng12 even after providing .so symlinks Product: Wine Version: 0.9.48. Platform: PC-x86-64 OS/Version: other Status: NEW Severity: major Priority: P2 Component: wine-binary AssignedTo: wine-bugs(a)winehq.org ReportedBy: scott(a)open-vote.org System: Ubuntu 7.10 amd64 Using this procedure to configure Wine: make distclean mkdir -p `pwd`/lib32 ln -s /usr/lib32/libX11.so.6 `pwd`/lib32/libX11.so ln -s /usr/lib32/libXext.so.6 `pwd`/lib32/libXext.so ln -s /usr/lib32/libfreetype.so.6 `pwd`/lib32/libfreetype.so ln -s /usr/lib32/libfontconfig.so.1 `pwd`/lib32/libfontconfig.so ln -s /usr/lib32/libGL.so.1 `pwd`/lib32/libGL.so ln -s /usr/lib32/libGLU.so.1 `pwd`/lib32/libGLU.so ln -s /usr/lib32/libXrender.so.1 `pwd`/lib32/libXrender.so ln -s /usr/lib32/libXinerama.so.1 `pwd`/lib32/libXinerama.so ln -s /usr/lib32/libXi.so.6 `pwd`/lib32/libXi.so ln -s /usr/lib32/libXrandr.so.2 `pwd`/lib32/libXrandr.so ln -s /usr/lib32/liblcms.so.1 `pwd`/lib32/liblcms.so ln -s /usr/lib32/libcrypto.so.0.9.8 `pwd`/lib32/libcrypto.so ln -s /usr/lib32/libssl.so.0.9.8 `pwd`/lib32/libssl.so ln -s /usr/lib32/libxml2.so.2 `pwd`/lib32/libxml2.so ln -s /usr/lib32/libjpeg.so.62 `pwd`/lib32/libjpeg.so ln -s /usr/lib32/libXcomposite.so.1 `pwd`/lib32/libXcomposite.so ln -s /usr/lib32/libcups.so.2 `pwd`/lib32/libcups.so ln -s /usr/lib32/libXcursor.so.1 `pwd`/lib32/libXcursor.so ln -s /usr/lib32/libsane.so.1 `pwd`/lib32/libsane.so ln -s /usr/lib32/libhal.so.1 `pwd`/lib32/libhal.so ln -s /usr/lib32/libpng12.so.0 `pwd`/lib32/libpng12.so CC="gcc -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure If I then check include/configure.h, I get the following unlinked files: /* Define to the soname of the libhal library. */ /* #undef SONAME_LIBHAL */ /* Define to the soname of the libpng library. */ /* #undef SONAME_LIBPNG */ These should be working - there are 32 bit versions of each located in /usr/lib32 and they are being given a .so symlink like configure requires. I should note that I am also missing 32 bit versions of libcapi20 and libjack, however this is due to Ubuntu not having 32 bit versions of them, which should be fixed by Hardy. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Detlef Riekenberg <wine.dev(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev(a)web.de --- Comment #1 from Detlef Riekenberg <wine.dev(a)web.de> 2007-11-08 16:20:44 --- ldd /usr/lib/libhal.so (ldd `pwd`/lib32/libhal.so) libhal.so works on top of libdbus-1.so, but that library is missing in your list -- By by ... Detlef -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #2 from Scott Ritchie <scott(a)open-vote.org> 2007-11-08 17:56:38 --- Nice catch. Unfortunately, libdbus isn't in Ubuntu's ia32-libs package - I'll add it to the request list for Hardy. Hal will remain broken until then. What about libpng12 though? That seems to have all its dependencies satisfied: ldd /usr/lib32/libpng12.so.0 linux-gate.so.1 => (0xffffe000) libz.so.1 => /usr/lib32/libz.so.1 (0xf7ec1000) libm.so.6 => /lib32/libm.so.6 (0xf7e9c000) libc.so.6 => /lib32/libc.so.6 (0xf7d51000) /lib/ld-linux.so.2 (0x56555000) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Hans Leidekker <hans(a)it.vu.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans(a)it.vu.nl --- Comment #3 from Hans Leidekker <hans(a)it.vu.nl> 2007-11-09 02:28:27 --- Check config.log for clues about libpng12 not being detected. I see libldap are libgphoto2 are not in your list, are those missing from ia32-libs too? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #4 from Scott Ritchie <scott(a)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 */ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #5 from Scott Ritchie <scott(a)open-vote.org> 2007-11-09 05:05:15 --- I managed to fix png support by changing the symlink from libpng12.so to libpng.so. Now the only mystery left is openldap and a few header files that I don't seem to have in config.h -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #6 from Hans Leidekker <hans(a)it.vu.nl> 2007-11-09 05:16:30 --- You'll need both libldap_r and liblber for the configure check to succeed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #7 from Scott Ritchie <scott(a)open-vote.org> 2007-11-09 13:24:25 --- Created an attachment (id=9048) --> (http://bugs.winehq.org/attachment.cgi?id=9048) Current config.h Thanks. With the ldap and png fixes, here is my current config.h. Other than capi, jack, and hal, could someone tell me if I'm missing anything I should have? This is how the Ubuntu 0.9.49 package will be built. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #8 from Hans Leidekker <hans(a)it.vu.nl> 2007-11-09 14:35:15 --- libxslt would be useful too. Other than that your list looks good to me. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #9 from Detlef Riekenberg <wine.dev(a)web.de> 2007-11-09 17:47:07 --- ./configure --verbose Fix all packages, when possible. -- By by ... Detlef -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Scott Ritchie <scott(a)open-vote.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Scott Ritchie <scott(a)open-vote.org> 2007-11-10 02:41:06 --- Thank you everyone. I'll personally make sure libcapi20, libjack, and libdbus-1 get into Ubuntu Hardy's 32 bit libraries. The 0.9.49 package now has libxslt, libpng, and libldap working perfectly. Instructions are on the wiki too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Dan Kegel <dank(a)kegel.com> 2008-01-28 05:40:46 --- Closing all RESOLVED FIXED bugs older than four weeks. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_binary |-unknown -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Stephan Hermann <sh(a)sourcecode.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sh(a)sourcecode.de --- Comment #12 from Stephan Hermann <sh(a)sourcecode.de> 2008-01-30 08:22:34 --- Well, the bug report needs to be reopened, because the fix for the libpng.so issue is to fix configure.ac/configure to recognize the real name of libpng which is libpng12. Regards, \sh Index: wine-0.9.54/configure.ac =================================================================== --- wine-0.9.54.orig/configure.ac 2008-01-27 16:39:56.937728807 +0100 +++ wine-0.9.54/configure.ac 2008-01-27 16:40:23.362712195 +0100 @@ -1162,7 +1162,7 @@ dnl **** Check for libpng **** if test "$ac_cv_header_png_h" = "yes" then - WINE_CHECK_SONAME(png,png_create_read_struct,,,,[[libpng[[0-9]]*]]) + WINE_CHECK_SONAME(png12,png_create_read_struct,,,,[[libpng[[0-9]]*]]) fi WINE_NOTICE_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"], [libpng development files not found, PNG won't be supported.]) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #13 from Stephan Hermann <sh(a)sourcecode.de> 2008-01-30 08:26:13 --- Created an attachment (id=10532) --> (http://bugs.winehq.org/attachment.cgi?id=10532) patch from ubuntu to fix libpng12 finding issue -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Scott Ritchie <scott(a)open-vote.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #14 from Scott Ritchie <scott(a)open-vote.org> 2008-01-30 08:27:24 --- Reopening due to the issue with configure and libpng12 - we have a patch for this in Ubuntu now, and it should go upstream. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #15 from Austin English <austinenglish(a)gmail.com> 2008-01-30 13:58:27 --- (In reply to comment #13)
Created an attachment (id=10532) --> (http://bugs.winehq.org/attachment.cgi?id=10532) [details] patch from ubuntu to fix libpng12 finding issue
Please send your patch in git format to wine-patches(a)winehq.org -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #16 from Alexandre Julliard <julliard(a)winehq.org> 2008-02-04 08:04:49 --- The patch is wrong, you need a libpng.so symlink, and the WINE_CHECK_SONAME regexp will then determine the proper soname. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #17 from Dan Kegel <dank(a)kegel.com> 2008-02-07 05:30:09 --- The Ubuntu packages at winehq.org are broken because of this in that they don't support png, so let's get a resolution going... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #18 from Stephan Hermann <sh(a)sourcecode.de> 2008-02-07 06:10:52 --- (In reply to comment #16)
The patch is wrong, you need a libpng.so symlink, and the WINE_CHECK_SONAME regexp will then determine the proper soname.
This is totally wrong. The png lib is named libpng12.so.* and not libpng.so Therefore the check against libpng12.so should be the default...I don't know any distro which ships libpng.so symlink anyhow. Regards, \sh -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #19 from Scott Ritchie <scott(a)open-vote.org> 2008-02-07 07:15:52 --- \sh: apparently, Ubuntu does (in i386): http://packages.ubuntu.com/cgi-bin/search_contents.pl?searchmode=filelist&wo... However, it doesn't seem to work. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #20 from Alexandre Julliard <julliard(a)winehq.org> 2008-02-07 07:25:55 --- Most likely it's because the 32-bit version doesn't have a symlink. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #21 from Austin English <austinenglish(a)gmail.com> 2008-02-07 11:37:07 --- (In reply to comment #20)
Most likely it's because the 32-bit version doesn't have a symlink.
On feisty, in today's git: $ ./configure --verbose | grep png checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for -lpng... libpng12.so.0 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 --- Comment #22 from Scott Ritchie <scott(a)open-vote.org> 2008-05-13 19:08:29 --- We've been working around this in the packages, I'm tempted to close this as wontfix unless Alexandre wants to make configure check for both. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #23 from Alexandre Julliard <julliard(a)winehq.org> 2008-05-14 04:08:47 --- (In reply to comment #22)
We've been working around this in the packages, I'm tempted to close this as wontfix unless Alexandre wants to make configure check for both.
We can't hardcode the version number as it may not match the headers, we'd have to hardcode the headers too; but I don't see a reason to do that, we should be able to support future png versions too. And since there needs to be a symlink for the header I don't think it's too much to require a symlink for the library too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10360 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #24 from Austin English <austinenglish(a)gmail.com> 2008-09-17 08:51:26 --- Closing WONTFIX. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org