Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol _ruby_errinfo on MacOSX 10.9 #81

Open
albertz opened this issue Nov 22, 2013 · 5 comments
Open

undefined symbol _ruby_errinfo on MacOSX 10.9 #81

albertz opened this issue Nov 22, 2013 · 5 comments

Comments

@albertz
Copy link

albertz commented Nov 22, 2013

 env LD_RUN_PATH=/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE cc   -L. -L/usr/local/lib -L. -L/usr/local/lib  -L/usr/local/lib     -o Vim objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/gui.o objects/gui_beval.o objects/pty.o objects/gui_macvim.o objects/MMBackend.o objects/MacVim.o   objects/if_perl.o objects/if_perlsfio.o objects/if_python.o   objects/if_ruby.o objects/os_macosx.o objects/os_mac_conv.o  objects/netbeans.o  objects/main.o objects/memfile.o -framework Cocoa -framework Carbon       -lm -lncurses  -liconv -framework Cocoa   -fstack-protector -L/usr/local/lib  -L/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE -lperl -framework Python   -framework Ruby   
Undefined symbols for architecture x86_64:
  "_ruby_errinfo", referenced from:
      _error_print in if_ruby.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Vim] Error 1

My configure:

./configure --with-features=huge --enable-cscope --enable-pythoninterp --enable-rubyinterp --enable-perlinterp
@b4winckler
Copy link
Collaborator

This has been patched upstreams.

@aeonaut
Copy link

aeonaut commented May 14, 2014

Still getting this error on 10.9.2 (as well as the 'sigalstack' error) ... is this patch available?

@aeonaut
Copy link

aeonaut commented Aug 6, 2014

Hi Miguel, thank you -- but now I'm getting a new error:

Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_readfile in fileio.o
_buf_write_bytes in fileio.o
_my_iconv_open in mbyte.o
_string_convert_ext in mbyte.o
(maybe you meant: _my_iconv_open)
"_iconv_close", referenced from:
_readfile in fileio.o
_buf_write in fileio.o
_utf_find_illegal in mbyte.o
_my_iconv_open in mbyte.o
_convert_setup_ext in mbyte.o
"_iconv_open", referenced from:
_my_iconv_open in mbyte.o
(maybe you meant: _my_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [Vim] Error 1

(Haven't looked into it yet.)

On Fri, Jun 6, 2014 at 6:00 AM, Miguel Ferreira notifications@github.com
wrote:

@aeonaut https://github.com/aeonaut pull the patches from upstream and
then build again:

git remote add upstream https://github.com/b4winckler/macvim.git
git pull --rebase upstream mastercd src
./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope
make


Reply to this email directly or view it on GitHub
#81 (comment).

https://www.google.com/search?tbm=isch&hl=en&source=hp&biw=1436&bih=806&q=columbia+engineering#hl=en&tbm=isch&q=large+hadron+collider&spell=1&sa=X&ei=G8tNUcnrB-Hg0gGut4H4Ag&ved=0CE8QvwUoAA&bav=on.2,or.r_cp.r_qf.&bvm=bv.44158598,d.dmQ&fp=d9f5d979378254d8&biw=1436&bih=762
Ryan Corbett Turner
M.S., Computer Science, 2012
rct@caa.columbia.edu <rct@caa.olumbia.edu%3Cemail>

@miguelaferreira
Copy link

Hi aeonaut,

I don’t remember very well how it turned out in the end anymore, but I seem to remember that there were some conflicts to resolve during the rebase.
In the end I got a binary from the web and used that.

Good luck

On 06 Aug 2014, at 13:45, aeonaut notifications@github.com wrote:

Hi Miguel, thank you -- but now I'm getting a new error:

Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_readfile in fileio.o
_buf_write_bytes in fileio.o
_my_iconv_open in mbyte.o
_string_convert_ext in mbyte.o
(maybe you meant: _my_iconv_open)
"_iconv_close", referenced from:
_readfile in fileio.o
_buf_write in fileio.o
_utf_find_illegal in mbyte.o
_my_iconv_open in mbyte.o
_convert_setup_ext in mbyte.o
"_iconv_open", referenced from:
_my_iconv_open in mbyte.o
(maybe you meant: _my_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [Vim] Error 1

(Haven't looked into it yet.)

On Fri, Jun 6, 2014 at 6:00 AM, Miguel Ferreira notifications@github.com
wrote:

@aeonaut https://github.com/aeonaut pull the patches from upstream and
then build again:

git remote add upstream https://github.com/b4winckler/macvim.git
git pull --rebase upstream mastercd src
./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope
make


Reply to this email directly or view it on GitHub
#81 (comment).

https://www.google.com/search?tbm=isch&hl=en&source=hp&biw=1436&bih=806&q=columbia+engineering#hl=en&tbm=isch&q=large+hadron+collider&spell=1&sa=X&ei=G8tNUcnrB-Hg0gGut4H4Ag&ved=0CE8QvwUoAA&bav=on.2,or.r_cp.r_qf.&bvm=bv.44158598,d.dmQ&fp=d9f5d979378254d8&biw=1436&bih=762
Ryan Corbett Turner
M.S., Computer Science, 2012
rct@caa.columbia.edu <rct@caa.olumbia.edu%3Cemail>

Reply to this email directly or view it on GitHub.

@aeonaut
Copy link

aeonaut commented Aug 7, 2014

Will try that -- much obliged

On Wed, Aug 6, 2014 at 2:29 PM, Miguel Ferreira notifications@github.com
wrote:

Hi aeonaut,

I don’t remember very well how it turned out in the end anymore, but I
seem to remember that there were some conflicts to resolve during the
rebase.
In the end I got a binary from the web and used that.

Good luck

On 06 Aug 2014, at 13:45, aeonaut notifications@github.com wrote:

Hi Miguel, thank you -- but now I'm getting a new error:

Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_readfile in fileio.o
_buf_write_bytes in fileio.o
_my_iconv_open in mbyte.o
_string_convert_ext in mbyte.o
(maybe you meant: _my_iconv_open)
"_iconv_close", referenced from:
_readfile in fileio.o
_buf_write in fileio.o
_utf_find_illegal in mbyte.o
_my_iconv_open in mbyte.o
_convert_setup_ext in mbyte.o
"_iconv_open", referenced from:
_my_iconv_open in mbyte.o
(maybe you meant: _my_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [Vim] Error 1

(Haven't looked into it yet.)

On Fri, Jun 6, 2014 at 6:00 AM, Miguel Ferreira <
notifications@github.com>
wrote:

@aeonaut https://github.com/aeonaut pull the patches from upstream
and
then build again:

git remote add upstream https://github.com/b4winckler/macvim.git
git pull --rebase upstream mastercd src
./configure --with-features=huge --enable-rubyinterp
--enable-pythoninterp --enable-perlinterp --enable-cscope
make


Reply to this email directly or view it on GitHub
#81 (comment).

<
https://www.google.com/search?tbm=isch&hl=en&source=hp&biw=1436&bih=806&q=columbia+engineering#hl=en&tbm=isch&q=large+hadron+collider&spell=1&sa=X&ei=G8tNUcnrB-Hg0gGut4H4Ag&ved=0CE8QvwUoAA&bav=on.2,or.r_cp.r_qf.&bvm=bv.44158598,d.dmQ&fp=d9f5d979378254d8&biw=1436&bih=762>

Ryan Corbett Turner
M.S., Computer Science, 2012
rct@caa.columbia.edu <rct@caa.olumbia.edu%3Cemail>

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#81 (comment).

https://www.google.com/search?tbm=isch&hl=en&source=hp&biw=1436&bih=806&q=columbia+engineering#hl=en&tbm=isch&q=large+hadron+collider&spell=1&sa=X&ei=G8tNUcnrB-Hg0gGut4H4Ag&ved=0CE8QvwUoAA&bav=on.2,or.r_cp.r_qf.&bvm=bv.44158598,d.dmQ&fp=d9f5d979378254d8&biw=1436&bih=762
Ryan Corbett Turner
M.S., Computer Science, 2012
rct@caa.columbia.edu <rct@caa.olumbia.edu%3Cemail>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants