[sword-devel] renderText broken post r3331?

Troy A. Griffitts scribe at crosswire.org
Thu Mar 19 18:20:22 MST 2015


Daniel,

My guess is that you have a libsword.so in /usr/lib or /usr/lib64 or 
someplace else causing problems.

Troy



On 03/19/2015 02:47 PM, Daniel Sheffield wrote:
> Indeed it is <face palm>.
> But I double checked: -lsword doesn't work but -lsword-1.7.3 does... 
> is that normal?
>
> --
> In the beginning Kibo created the Internet. Now the Internet was 
> formless, and empty. Randomness was upon the face of computing, and 
> the Spirit of ARPA moved upon the face of the computers. Then Kibo 
> said, "Let there be data": and there was data. Kibo saw the data, and 
> it was good, so Kibo divided the data from the randomness, and Kibo 
> named the data Information, and the randomness Clueless. And the 
> Information and the Clueless were the first Network.
>
> On Fri, Mar 20, 2015 at 10:28 AM, David "Judah's Shadow" Blue 
> <yudahsshadow at gmx.com <mailto:yudahsshadow at gmx.com>> wrote:
>
>     Is one not a symlink to the other?
>
>     On March 19, 2015 3:19:40 PM EDT, Daniel Sheffield
>     <d.j.yotta at gmail.com <mailto:d.j.yotta at gmail.com>> wrote:
>
>         Okay, at first it looked like 'make install' only copied the
>         libsword-1.7.3.so <http://libsword-1.7.3.so> and not the
>         libsword.so <http://libsword.so>. I was linking against
>         libsword.so <http://libsword.so> which didn't have the
>         definitions of renderText. When I linked against
>         libsword-1.7.3.so <http://libsword-1.7.3.so> - it was fine. I
>         removed all the sword libs on my /usr/local/lib dir and did
>         'make install' again from HEAD. Both the libsword.so
>         <http://libsword.so> and libsword-1.7.3.so
>         <http://libsword-1.7.3.so> were installed to /usr/local/lib.
>         However, I get compile errors if I use ld -lsword instead of
>         ld -lsword-1.7.3. I would rather use -lsword - I thought they
>         would/should be identical? Let me know if this behaviour is
>         expected. On Thu 19Mar15 05:02:33PM, Daniel Sheffield wrote:
>
>             I still seem to be getting the compile error on HEAD. I'm
>             linking against the correct headers I'm sure... Though
>             there is a chance that I've messed something up because I
>             have it both installed (make install) and in my source
>             tree as an external. I did re-install each time though, so
>             I would have thought any modified headers would have been
>             updated... Let me know if you have any ideas. I will
>             hopefully be able to check the header declaration and the
>             corresponding definition tomorrow... On Wed 18Mar15
>             09:12:35AM, Peter von Kaehne wrote:
>
>                 I had committed with a typo - a missing paranthesis. I
>                 am sorry for that. When I saw it and fixed it to
>                 commit, Karl had overtaken me. So, it is fixed at the
>                 HEAD again. Again, my apologies. Peter On Wed,
>                 2015-03-18 at 00:48 -0700, Troy A. Griffitts wrote:
>
>                     Dear Daniel, My guess is that you may be compiling
>                     against one set of headers and linking with a
>                     libsword compiled with another set. The renderText
>                     method was overloaded with a const and non-const
>                     version. My guess is that you are failing to link
>                     because your code was compiled against the single
>                     non-const method header. Could be wrong, but
>                     without more information this is my best guess to
>                     help. On March 18, 2015 12:41:21 AM MST, Daniel
>                     Sheffield <d.j.yotta at gmail.com
>                     <mailto:d.j.yotta at gmail.com>> wrote: Hi all,
>                     Getting undefined reference to renderText at
>                     compile time since r3331. I see commit r3332 -
>                     perhaps this introduced the change? using HEAD: my
>                     project doesn't compile r3331: my project
>                     compiles. I'm not sure if this is my bad or if
>                     definition of renderText is getting missed out of
>                     libsword post r3331...
>                     ------------------------------------------------------------------------
>                     sword-devel mailing list:
>                     sword-devel at crosswire.org
>                     <mailto:sword-devel at crosswire.org>
>                     http://www.crosswire.org/mailman/listinfo/sword-devel
>                     Instructions to unsubscribe/change your settings
>                     at above page 
>
>                 ------------------------------------------------------------------------
>                 sword-devel mailing list: sword-devel at crosswire.org
>                 <mailto:sword-devel at crosswire.org>
>                 http://www.crosswire.org/mailman/listinfo/sword-devel
>                 Instructions to unsubscribe/change your settings at
>                 above page 
>
>             -- In the beginning Kibo created the Internet. Now the
>             Internet was formless, and empty. Randomness was upon the
>             face of computing, and the Spirit of ARPA moved upon the
>             face of the computers. Then Kibo said, "Let there be
>             data": and there was data. Kibo saw the data, and it was
>             good, so Kibo divided the data from the randomness, and
>             Kibo named the data Information, and the randomness
>             Clueless. And the Information and the Clueless were the
>             first Network. 
>
>
>     -- 
>     Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
>     _______________________________________________
>     sword-devel mailing list: sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>
>     http://www.crosswire.org/mailman/listinfo/sword-devel
>     Instructions to unsubscribe/change your settings at above page
>
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150319/a187b25c/attachment.html>


More information about the sword-devel mailing list