Bug 430354 - enchant makes a shared library which cannot link against non-pic libhspell.a
Summary: enchant makes a shared library which cannot link against non-pic libhspell.a
Keywords:
Status: CLOSED DUPLICATE of bug 313231
Alias: None
Product: Fedora
Classification: Fedora
Component: hspell
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Dan Kenigsberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-26 19:50 UTC by Caolan McNamara
Modified: 2008-01-27 03:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-01-27 03:37:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Caolan McNamara 2008-01-26 19:50:21 UTC
Description of problem:

rebuilding enchant on x86_64 will result in R_X86_64_32 relocation error.

Here's a standalone example...

gcc --shared -fpic -o testme.so test.c -lhspell

where test.c is...

#include <stdlib.h>
#include <hspell.h>

void test(void)
{
    hspell_check_word (NULL, NULL, NULL);
}

This can be worked around by either dropping the enchant hspell backend, or as a
quick-fix rebuilding hspell with -fpic added to the CFLAGS or with a
libhspell.so like http://bugs.gentoo.org/attachment.cgi?id=100512&action=view does

Comment 1 Kevin Kofler 2008-01-27 03:37:30 UTC

*** This bug has been marked as a duplicate of 313231 ***


Note You need to log in before you can comment on or make changes to this bug.