[Bug 231361] weechat failing to load ruby.so after recent updates
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 14 15:29:11 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231361
Bug ID: 231361
Summary: weechat failing to load ruby.so after recent updates
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: twasson at gmail.com
I recently restarted weechat for the first time in awhile (1-2 months), and now
it can't load ruby.so because of:
Error: unable to load plugin "/usr/local/lib/weechat/plugins/ruby.so"
/usr/local/lib/weechat/plugins/ruby.so: Undefined symbol "ruby_version"
`strings /usr/local/lib/weechat/plugins/ruby.so` reveals that ruby_version is
in the file. I first saw this with the binary pkg installation, but I've
rebuilt weechat from source from the ports tree and that didn't resolve the
problem. I also updated to 11.2-RELEASE after I first saw this, which also had
no effect, incidentally. ktrace revealed nothing useful, and I'm not sure what
I should look for with dtrace.
`nm -D /usr/local/lib/weechat/plugins/ruby.so`, however, reveals that the
symbol is present but undefined. I tried editing linker flags in the cmake
script but couldn't figure out how to make clang disable undefined symbols.
I mailed freebsd-ports about this and received a confirmation of this issue on
CURRENT with weechat 2.2 and ruby 2.4.4 from Kubilay Kocak.
I suspect this is more likely to be a FreeBSD-specific problem than a general
weechat problem, as I see no reports (other than a random pastebin paste) of
this anywhere online.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list