Subject: problems with 'psi' on 1.6.1 i386
To: None <netbsd-users@netbsd.org>
From: Steve Bellovin <smb@research.att.com>
List: netbsd-users
Date: 09/12/2003 13:00:10
I'm having a weird problem trying to build and/or run 'psi' on one of 
my 1.6.1 machines.  It's running fine on another 1.6.1 machine.  I 
tried using pkg_tarup to build psi, psi-ssl, qt3-libs, and qt3-tools, 
and I copied them over and installed them on the ailing machine.  But 
when I try to run psi using an SSL-protected connection, I'm told

	File not found: /home/smb/.psi/libqssl.so
	File not found: /usr/pkg/share/psi/libqssl.so

On the machine where it works, though, libqssl is in
/usr/pkg/qt3/lib/libqssl.so.  My pkgsrc is 100% up-to-date, as are all 
of my installed packages according to pkg_chk.

I tried building psi (and in particular those four packages) from 
source, but that's failing, too, and I don't know if it's related or 
not.  The failure occurs when trying to build qt3-tools, per the text 
enclosed below.  I suspect there's something in some config file 
somewhere that needs to be fixed on the ailing machine, but I have no 
idea what.




*** [buildlink2] Warning: libtool detected -L/usr/pkgsrc/x11/qt3-tools/work/qt-x
11-free-3.1.2/lib
*** [buildlink2] Warning: libtool detected -L/usr/pkgsrc/x11/qt3-tools/work/qt-x
11-free-3.1.2/lib
c++ -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -fno-exceptio
ns -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.
o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-sha
red-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widge
tdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o  -L
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib -L/usr/pkgsrc/x11/qt3-tools/work/.
buildlink-x11/lib -L/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/lib -L/usr/
pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib /usr/pkg/qt3/lib/libqt-mt.so -L/usr
/pkg/lib -L/usr/X11R6/lib -lstdc++ -lgcc_pic /usr/pkg/lib/libpng.so /usr/lib/lib
z.so /usr/pkg/lib/libGLU.so /usr/pkg/lib/libGL.so -lXi -lXmu -lXrender -lXft /us
r/pkg/lib/libfreetype.so -lz -lXext -lX11 -lm -lICE -lSM /usr/pkg/lib/libpthread
.so -Wl,--rpath -Wl,/usr/pkg/qt3/lib -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -W
l,/usr/pkg/qt3/lib -Wl,--rpath -Wl,/usr/pkg/lib
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternAddInteger'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternAddBool'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternGetBool'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcFreeTypeCharSet'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcNameUnparse'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcNameConstant'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcObjectSetDestroy'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternDuplicate'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcCharSetHasChar'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcFontList'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcUtf16ToUcs4'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcUtf8ToUcs4'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternVaBuild'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternGetDouble'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcCharSetAddChar'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternGetString'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcInit'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternGetInteger'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternGetCharSet'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternCreate'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternAddString'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternGet'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternAddDouble'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcConfigSubstitute'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcObjectSetCreate'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternDestroy'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcCharSetCount'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcNameRegisterObjectTypes'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcObjectSetAdd'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternAdd'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcStrCmpIgnoreCase'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcPatternAddCharSet'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcConfigGetBlanks'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcFreeTypeCharIndex'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcNameParse'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternGetFTFace'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternGetMatrix'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcCharSetCreate'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcPatternPrint'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcFontMatch'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcCharSetDestroy'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.so: undefined referen
ce to `FcFontSetDestroy'
/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.so: undefined reference to 
`FcDefaultSubstitute'
collect2: ld returned 1 exit status
gmake[3]: *** [../../../bin/uic] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/to
ols/designer/uic'
gmake[2]: *** [sub-uic] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/to
ols/designer'
gmake[1]: *** [sub-designer] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/to
ols'
gmake: *** [sub-tools] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/psi-ssl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/psi-ssl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/psi-ssl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/psi
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/psi



		--Steve Bellovin, http://www.research.att.com/~smb