pkgsrc-Users archive

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

Re: qt4 and libSM.so.6.0



On Wed, 30 Jul 2008, Iain Hibbert wrote:

> I noticed recently (I don't know how old this issue is but it didn't
> happen with qt3 when I used that previously) that when I build a program
> with qt4 locally, it won't run because libSM.so.6.0 is not found
>
> eg with the source archive
>
>     http://homepages.rya-online.net/plunky/btpin-qt-1.3.tar.gz
>
> (QTDIR=/usr/pkg/qt4)
> % qmake
> % make
> g % ./bpin-qt Shared object
> "libSM.so.6" not found

for the record, I fixed this by adding

QMAKE_RPATHDIR += $$QMAKE_LIBDIR_X11

to my btpin-qt.pro file which added "-Wl,-R/usr/X11R6/lib" to the
Makefile.

iain


Home | Main Index | Thread Index | Old Index