#10 ✓resolved
VirtualFunction

Symbol Lookup Error

Reported by VirtualFunction | July 2nd, 2008 @ 07:18 PM | in 4.0

/usr/bin/ruby: symbol lookup error: /usr/lib/ruby/gems/1.8/gems/RedCloth-3.20/lib/redcloth_scan.so: undefined symbol: red_block

(Program exited with code 0177)

I seem to get this when I try and use RedCloth from a fresh install on my laptop, irrespective of what I do.

The 3.20 is only because I've downloaded a tar ball from git hub instead of doing a git clone

Comments and changes to this ticket

  • VirtualFunction

    VirtualFunction July 2nd, 2008 @ 07:21 PM

    Also, you might want to poke why (I think he's responsible for this) because doing a "gem install RedCloth --source http://code.whytheluckystiff.net" seems to give me the following...

    jase@jase-laptop:~/projects/typeface$ sudo gem install RedCloth --source http://code.whytheluckystiff.net

    [sudo] password for jase:

    ERROR: While executing gem ... (ArgumentError)

    string contains null byte

  • Jason Garber

    Jason Garber July 7th, 2008 @ 03:04 PM

    What OS are you running on your laptop? I'd like to try and duplicate.

  • VirtualFunction

    VirtualFunction July 8th, 2008 @ 04:17 AM

    Same as my PC, Ubuntu x64. I also got it on 32bit x86 Ubuntu. I can't remember exactly what triggered it, but I think it happens when you download a tarball snapshot from github as opposed to doing a git clone.

    I can probably give you access to the computer again if you want. I'll maybe catch you on AIM again later (probably tomorrow, I'm just about to catch a plane home in a couple of hours)

  • Jason Garber

    Jason Garber July 10th, 2008 @ 10:41 AM

    • State changed from “new” to “hold”

    Per our AIM chat, I've tried to replicate it on Ubuntu using the GitHub tarball and it works for me. Since you're down in London for a few days and can't give me access to your box, I'm going to press on. When you get back, try it again from the tarball and let me know if you still have problems. Thanks!

  • Jason Garber

    Jason Garber July 16th, 2008 @ 10:46 AM

    IM conversation with Jason Earl:

    bq. OK, this is what I'm doing ... I've removed all previous redcloth gems....

    wget -O redcloth.tar.gz http://github.com/jgarber/redclo...

    tar -xzf red*

    cd jgar*

    rake install

    When I do

    irb

    and enter

    require 'rubygems'

    require 'redcloth'

    I now seem to get :

    NameError: uninitialized constant RedCloth::Formatters

    from /usr/lib/ruby/gems/1.8/gems/RedCloth-3.20/lib/formatters/html.rb:1

    I've fixed the requiring order of formatters and also fixed the version not being present when you download from a tarball. Perhaps the unititialized constant problem was obscuring the symbol lookup error he reported before, or maybe it's fixed now.

  • Jason Garber

    Jason Garber July 16th, 2008 @ 11:19 AM

    • State changed from “hold” to “open”

    Jason Earl reports he's still getting the symbol lookup error.

  • Jason Garber

    Jason Garber July 16th, 2008 @ 01:16 PM

    • State changed from “open” to “resolved”

    (from [5c35ecd86b7efeb2c97d55a0ce74d28fa8374877]) Add C source files to the gem file list

    The C source files need to be explicitly named so they are generated before the install task if they don't already exist. [#10 state:resolved]

    http://github.com/jgarber/redclo...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages