On Tue, Sep 19, 2006, Adam D. Morley wrote:
> On Tue, Sep 19, 2006 at 08:10:49PM +0200, Ralf S. Engelschall wrote:
> > On Tue, Sep 19, 2006, Adam D. Morley wrote:
> >
> > > [...]
> > > Ah. At least I know my perl-dbi is broken:
> >
> > This should now be also fixed in OpenPKG-CURRENT. Please take the latest
> > and greatest "perl-dbi" from there in the meantime.
>
> Ok. I grabbed
>
> perl-dbi-5.8.8-20060919.src.rpm
>
> from ftp.openpkg.org in current/SRC
>
> and built. I get:
>
> [root perl-dbi]# /opt/openpkg/bin/perl -e 'use DBI; use DBD::SQLite;' Can't
> load
> '/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBD/SQLite/SQLite.so'
> for module DBD::SQLite: ld.so.1: perl: fatal: relocation error: file
> /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBD/SQLite/SQLite.so:
> symbol sqlite3_version: referenced symbol not found at
> /opt/openpkg/lib/perl/5.8.8/sun4-solaris/DynaLoader.pm line 230.
> at -e line 1
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
>
> But sqlite built fine (see attached log). Was there a second 0919 I was
> supposed to use, or do I need to upgrade perl-openpkg too? I did
> twiddle perl-dbi.spec so it wouldn't error on build:
> [...]
> /opt/openpkg/bin/cc -Wl,-E -G -L/opt/openpkg/lib SQLite.o dbdimp.o -o
> blib/arch/auto/DBD/SQLite/SQLite.so \
> \
> [...]
Ops, for unknown reasons there is no -lsqlite3 at all on this line.
Can you show me the output of the command
$ /opt/openpkg/bin/pkg-config sqlite3 --libs
on your side?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]