Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417523 - net-libs/webkit-gtk-1.8.1[webgl] tries to link to libdl
Summary: net-libs/webkit-gtk-1.8.1[webgl] tries to link to libdl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 21:13 UTC by Alexis Ballier
Modified: 2012-09-13 05:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2012-05-25 21:13:20 UTC
while its fine and needed on linux, on freebsd dlopen libs are in the libc.

  CXXLD  libwebkitgtk-3.0.la
libtool: link: warning: `/usr/lib/gcc/x86_64-gentoo-freebsd9.0/4.6.3/../../../libiconv.la' seems to be moved
/usr/libexec/gcc/x86_64-gentoo-freebsd9.0/ld: cannot find -ldl
collect2: ld returned 1 exit status

in configure.ac:

if test "$enable_webgl" = "yes" ||  test "$with_accelerated_compositing" = "opengl" ; then
    AC_CHECK_HEADERS([GL/gl.h], [], AC_MSG_ERROR([OpenGL header not found]))
    AC_CHECK_HEADERS([GL/glx.h], [], AC_MSG_ERROR([GLX header not found]))
    OPENGL_LIBS="-lGL -ldl"
fi


ChangeLog:

2011-09-28  Martin Robinson  <mrobinson@igalia.com>

        Fix the WebKit2 WebGL build.

        * configure.ac: Add -ldl to the OPENGL_LIBS.



I didnt check much more, i'm opening this for tracking it more than anything else
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-13 05:28:03 UTC
Should be fixed in 1.8.3-r{2,3}00. Patch submitted upstream at https://bugs.webkit.org/show_bug.cgi?id=96602

>*webkit-gtk-1.8.3-r300 (13 Sep 2012)
>*webkit-gtk-1.8.3-r200 (13 Sep 2012)
>
>  13 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  -files/webkit-gtk-1.8.0-svgimagebuffer-clip.patch,
>  -webkit-gtk-1.8.1-r200.ebuild, -webkit-gtk-1.8.1-r201.ebuild,
>  -webkit-gtk-1.8.1-r300.ebuild, -webkit-gtk-1.8.1-r301.ebuild,
>  +webkit-gtk-1.8.3-r200.ebuild, +webkit-gtk-1.8.3-r300.ebuild,
>  +files/webkit-gtk-1.8.3-libdl.patch:
>  Version bump with security fixes. Fix freebsd buuild failure (bug #417523,
>  thanks to Alexis Ballier). Drop old.