[blfs-dev] WebKitGTK+-1.10.2 on LFS 7.3

Armin K. krejzi at email.com
Thu Mar 28 23:03:40 PDT 2013


On 03/28/2013 11:30 PM, Wayne Blaszczyk wrote:
> On 28/03/13 03:21, Ken Moffat wrote:
>> On Wed, Mar 27, 2013 at 06:52:34PM +1100, Wayne Blaszczyk wrote:
>>> Hi,
>>>
>>> Has anyone successfully built WebKitGTK on LFS 7.3?
>>>
>>> I get the following error:
>>>
>>> make[1]: Entering directory `/sources/webkitgtk-1.10.2'
>>> /bin/mkdir -p ./.deps/DerivedSources
>>>    CXXLD  Programs/WebKitPluginProcess
>>> /usr/bin/ld:
>>> Source/WebKit2/Platform/unix/Programs_WebKitPluginProcess-SharedMemoryUnix.o:
>>> undefined reference to symbol 'shm_unlink@@GLIBC_2.2.5'
>>> /usr/bin/ld: note: 'shm_unlink@@GLIBC_2.2.5' is defined in DSO
>>> /lib64/librt.so.1 so try adding it to the linker command line
>>> /lib64/librt.so.1: could not read symbols: Invalid operation
>>> collect2: error: ld returned 1 exit status
>>> make[1]: *** [Programs/WebKitPluginProcess] Error 1
>>> make[1]: Leaving directory `/sources/webkitgtk-1.10.2'
>>> make: *** [all] Error 2
>>>
>>> Not sure what it is meant by adding it to the linker.
>>> Also not sure how far away the 1.12 release is.
>>>
>>> Thanks,
>>> Wayne.
>>
>>   I can't help with your first questions, but for "adding it to the
>> linker"  it means that you need to add "-lrt" to the linkage.  I
>> don't have the tarball here (and I probably don't have the deps
>> anyway), but maybe try passing this in LDFLAGS when you configure,
>> i.e.
>>   LDFLAGS=-lrt ./configure ...
>>
>>   Fedora moved to 2.0.0 (not 1.12 :) a few hours ago.  I guess that is
>> part of gnome-3.8.  If so, many of the other packages probably need
>> to be updated before you can build 2.0.
>>
>> ĸen
>>
>
> Thanks Ken,
>
> That fixed my problem. I'll try out version 2 once I've complete this build.
>
> Regards,
> Wayne.
>

Please note that WebKitGTK+ 2.0 doesn't support GStreamer 0.10 and thus 
GTK+2 apps that use GStreamer 0.10 can't work with WebKitGTK+2.0 GTK+2 
version. Also, WebkitGTK+2.0.0 needs newer libraries, so you'd need to 
upgrade core ones including GLib, libsoup, maybe GTK+3 and so on.



More information about the blfs-dev mailing list