pkgsrc-Bugs archive

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

Re: pkg/37688 (qt4-tools library linking problem on Linux)



The following reply was made to PR pkg/37688; it has been noted by GNATS.

From: Silas Silva <silasdb%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/37688 (qt4-tools library linking problem on Linux)
Date: Mon, 10 Aug 2009 00:28:17 -0300

 > /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `dlerror'
 > /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `dlclose'
 > /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `dlopen'
 > /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `dlsym'
 > collect2: ld returned 1 exit status
 > make[3]: *** [../../../bin/qt3to4] Error 1
 
 This seems to be fixed if the following patch is applied against
 x11/qt4-libs/Makefile.common (the diff goes inline, since I don't know
 if Gnats accepts attached files):
 
 --- Makefile.common.orig       2009-08-07 14:17:07.000000000 -0300
 +++ Makefile.common    2009-08-07 14:17:40.000000000 -0300
 @@ -79,6 +79,8 @@ QMAKE_RANLIB=                ${RANLIB}
  .  if exists(/usr/lib/libresolv.dylib)
  LDFLAGS+=             -lresolv
  .  endif
 +.elif ${OPSYS} == "Linux"
 +LDFLAGS+=             -ldl
  .endif
  
  QMAKE_RANLIB?=                ${TRUE}
 
 -- 
 Silas Silva
 


Home | Main Index | Thread Index | Old Index