Skip to content

Error: "Package javascriptcoregtk-4.0 was not found in the pkg-config search path." #21

Description

@touei

os info:CentOS-7-x86_64

I have installed requirements

[root@localhost package]# rpm -qa | grep gtk
libwebkit2gtk-2.4.9-6.el7.x86_64
gtk3-devel-3.14.13-20.el7.x86_64
gtk3-3.14.13-20.el7.x86_64
gtk2-2.24.28-8.el7.x86_64
webkitgtk3-devel-2.4.9-6.el7.x86_64
webkitgtk3-2.4.9-6.el7.x86_64

When I do

go get github.com/sourcegraph/webloop

I get the following error message

[root@localhost package]# go get github.com/sourcegraph/webloop/
# pkg-config --cflags javascriptcoregtk-4.0
Package javascriptcoregtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-4.0' found
pkg-config: exit status 1
# github.com/gotk3/gotk3/gtk
could not determine kind of name for C.gtk_paned_get_wide_handle
could not determine kind of name for C.gtk_paned_set_wide_handle
could not determine kind of name for C.gtk_scrolled_window_get_overlay_scrolling
could not determine kind of name for C.gtk_scrolled_window_set_overlay_scrolling

package javascriptcoregtk-4.0 is not found

[root@localhost package]# find / -name "*javascriptcoregtk*"
/usr/lib64/pkgconfig/javascriptcoregtk-3.0.pc
/usr/lib64/libjavascriptcoregtk-3.0.so.0
/usr/lib64/libjavascriptcoregtk-3.0.so.0.16.17
/usr/lib64/libjavascriptcoregtk-3.0.so
[root@localhost package]# 

How to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions