* Build failure when building ruby bindings on Fedora
@ 2015-11-27 11:55 Jonathan Underwood
2015-12-02 22:08 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Underwood @ 2015-11-27 11:55 UTC (permalink / raw)
To: notmuch
Hi,
I am attempting to build 0.21 on Fedora rawhide and am hitting the
following failure when building the ruby bindings - seems to be an
unresolved symbol error during linking. Any help appreciated.
Thanks,
Jonathan
gcc -shared -o notmuch.so messages.o tags.o filenames.o threads.o
status.o query.o directory.o message.o init.o thread.o database.o -L.
-L/usr/lib64 -L. -Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector
-rdynamic -Wl,-export-dynamic -Wl,--no-undefined -m64
../../lib/libnotmuch.so -lruby -lpthread -ldl -lcrypt -lm -lc
/usr/bin/ld: messages.o: relocation R_X86_64_PC32 against undefined
symbol `rb_eRuntimeError' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build failure when building ruby bindings on Fedora
2015-11-27 11:55 Build failure when building ruby bindings on Fedora Jonathan Underwood
@ 2015-12-02 22:08 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2015-12-02 22:08 UTC (permalink / raw)
To: Jonathan Underwood, notmuch
Jonathan Underwood <jonathan.underwood@gmail.com> writes:
> Hi,
>
> I am attempting to build 0.21 on Fedora rawhide and am hitting the
> following failure when building the ruby bindings - seems to be an
> unresolved symbol error during linking. Any help appreciated.
>
This looks very similar to a problem reported a few months ago with ruby on
Fedora:
http://mid.gmane.org/20150630063942.GM24926@chitra.no-ip.org
I'm not 100% sure, but it seems like there is a problem with the
Makefiles generated by Ruby on Fedora.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-02 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27 11:55 Build failure when building ruby bindings on Fedora Jonathan Underwood
2015-12-02 22:08 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).