On Tue, Sep 19, 2006 at 09:23:56PM +0200, Ralf S. Engelschall wrote: > 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?
No: /opt/openpkg/bin/pkg-config sqlite3 --libs bash: /opt/openpkg/bin/pkg-config: No such file or directory Likely because I didn't have pkgconfig installed --- it doesn't seem to be listed as a requirement for perl-dbi or sqlite. Now that I've installed it, I get: [root perl-dbix]# /opt/openpkg/bin/pkg-config sqlite3 --libs -L/opt/openpkg/lib -lsqlite3 -lrt Can you add pkgconfig as a requirement for perl-dbi? It seems like it's important now that with_dbd_sqlite is now set to yes. The good news: now that the annoying Solaris bug was fixed in -CURRENT, and after installing pkgconfig, perl-dbix builds! Yah! This is great. Thanks a bunch. -- adam ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org