On Thu, Sep 08, 2005, Andy wrote:

> >what you can do as a workaround
> >is to selectively use packages from newer OpenPKG versions. In your
> >situation especially the "openpkg", "binutils" and "gcc" packages from
> >OpenPKG 2.4.
>
> The new packages compiled fine, however sasl still failed with the same error.
>
>
> >Alternatively directly follow the error message advice and
> >insert -fPIC into the CFLAGS of the sasl.spec file.
>
> I think I managed to unpack, edit and repack the src.rpm correctly (I can see 
> the
> -fPIC option being used when compiling the sasl source) however it still fails
> with the same error as before :(
>
> Looking closer...
>
> /kolab/bin/ld: /kolab/lib/libdb.a(db_err.o): relocation R_X86_64_32 against `a
> local symbol' can not be used when making a shared object; recompile with 
> -fPIC
>
> ...is recompiling sasl with -fPIC actaully the correct course of action? Or 
> is it
> libdb.a which needs to be recompiled with -fPIC instead?

Yes, in this case you also have to recompile "db" with -fPIC.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to