Re: Wrong libudev version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 12, 2014 at 4:13 PM, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> Hi,
>
> I'm trying to compile an application[1].  The compilation succeeds, but
> fails at the last linking step like this.
>
> LINK(target) out/Release/Brackets
> /usr/bin/ld: warning: libudev.so.0, needed by Release/libcef.so, not found (try using -rpath or -rpath-link)
> LINK(target) out/Release/Brackets: Finished
>
> When I search with `repoquery -f \*/libudev\*', I get back systemd-libs
> and systemd-devel; both of which are installed.  systemd-libs provides
> /usr/lib64/libudev.so.1, and systemd-devel provides
> /usr/lib64/libudev.so, which is a symlink to the actual library.  I'm
> not sure what I'm doing wrong.

CEF in this case seems to be the Chromium Embedded Framework.  The
buildsystem for brackets grabs a binary version of CEF from an Adobe
server.   Presumably this is built on one of Debian or Ubuntu with
libudev.so.0.

The "proper" way to fix it would be to build CEF on your own [1],
which would give you a copy of CEF linked to the proper version of
udev.  You can then plop the libcef.so you built in place of the
Adobe-provided binary and use that, and linking should work as normal.

However, building anything chromium-related is...fun to say the least.
 I wouldn't judge you if you just ran 'ln -sf libudev.so.1
libudev.so.0' and hoped it doesn't segfault.  :-)

-T.C.

[1] https://code.google.com/p/chromiumembedded/wiki/BranchesAndBuilding
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux