unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Charlie Allom <charlie@mediasp.com>
To: notmuch@notmuchmail.org
Cc: Ali Polatel <alip@exherbo.org>
Subject: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings)
Date: Mon, 23 Apr 2012 10:39:33 +0100	[thread overview]
Message-ID: <20120423093933.GQ954@spodder.com> (raw)
In-Reply-To: <CAMP44s3gNrDnsqpdiHJAhJOkM1SYKMUTNL2LUO4QEUCPiFZARA@mail.gmail.com>

Hello, Has anyone seen this on OS X?

I can't see what the linker must be doing.

10:36 capslock:notmuch/bindings/ruby% ruby extconf.rb
checking for notmuch.h in ../../lib... yes
checking for notmuch_database_create() in -lnotmuch... yes
creating Makefile
10:36 capslock:notmuch/bindings/ruby% make
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c database.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c directory.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c filenames.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c init.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c message.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c messages.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c query.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c status.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c tags.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c thread.c
/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c threads.c
/opt/local/bin/gcc-apple-4.2 -dynamic -bundle -undefined suppress -flat_namespace -o notmuch.bundle database.o directory.o filenames.o init.o message.o messages.o query.o status.o tags.o thread.o threads.o -L. -L/opt/local/lib -L/opt/local/lib -L. -L/opt/local/lib -arch x86_64  -arch x86_64  -lruby -lnotmuch  -lpthread -ldl -lobjc
ld: duplicate symbol _notmuch_rb_cDatabase in directory.o and database.o for architecture x86_64
collect2: ld returned 1 exit status
make: *** [notmuch.bundle] Error 1
10:37 capslock:notmuch/bindings/ruby%

--
 +442077294797
 http://mediasp.com/

  parent reply	other threads:[~2012-04-23  9:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  1:12 [ANN] New awesome vim plug-in using Ruby bindings Felipe Contreras
2012-04-23  3:41 ` Adam Wolfe Gordon
2012-04-23 11:53   ` Felipe Contreras
2012-04-23 13:28     ` Adam Wolfe Gordon
2012-04-23  9:39 ` Charlie Allom [this message]
2012-04-23 12:48   ` ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings) Felipe Contreras
2012-04-23 13:11     ` Charlie Allom
2012-04-23 12:05 ` [ANN] New awesome vim plug-in using Ruby bindings Felipe Contreras
2012-04-25 22:29 ` Felipe Contreras
2012-04-28 10:40   ` Alex Ghitza
2012-04-28 12:44     ` Felipe Contreras
2012-04-28 22:52       ` Alex Ghitza
2012-05-14 18:24         ` Felipe Contreras
2012-05-15  3:15           ` Karl Harris
2012-05-15  9:04             ` Felipe Contreras
2012-05-23 22:03             ` Felipe Contreras
2012-05-02 20:41 ` Anton Khirnov
2012-05-04 11:55   ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120423093933.GQ954@spodder.com \
    --to=charlie@mediasp.com \
    --cc=alip@exherbo.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).