tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firefox 3 pkg: configure vs. configure.in



I love playing with this pkg w/o understanding any background ;-)

Is it ok that buildlink creates a symlink for /usr/pkg/lib/libsqlite3.so
in work/.buildlink/lib/libsqlite3.so (I suppose that means linking against
an external libsqlite3) while firefox builds it's own version in
./mozilla/db/sqlite3/src/libsqlite3.so (and uses internal symlinks to that
during the build)?

I'm not sure if this is related, but I get:

c++ -o ssltunnel -DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE  
-I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion 
-Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wno-long-long -O2 -pipe -fno-strict-aliasing -Dunix 
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2  ssltunnel.o    -lpthread 
-Wl,-R/usr/pkg/lib/firefox3  -Wl,-rpath-link,../../../dist/bin  
-L../../../dist/bin -L../../../dist/lib -L../../../dist/lib -lplds4 -lplc4 
-lnspr4 -pthread -L../../../dist/bin -L../../../dist/lib -lcrmf -lsmime3 -lssl3 
-lnss3 -lnssutil3 -lsoftokn3  -lm   -Wl,--export-dynamic   
ld: warning: libsqlite3.so, needed by ../../../dist/bin/libsoftokn3.so, not 
found (try using -rpath or -rpath-link)
../../../dist/bin/libsoftokn3.so: undefined reference to `sqlite3_bind_int'
[..]
../../../dist/bin/libsoftokn3.so: undefined reference to `sqlite3_exec'
make[4]: *** [ssltunnel] Error 1
make[4]: Leaving directory 
`/usr/pkgobj/www/firefox3/work/mozilla/testing/mochitest/ssltunnel'
make[3]: *** [libs] Error 2

Martin


Home | Main Index | Thread Index | Old Index