pkgsrc-Bugs archive

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

Re: pkg/29389



Synopsis: package games/fillets-ng fails to build

Responsible-Changed-From-To: pkg-manager->linux-pkg-people
Responsible-Changed-By: wiz%netbsd.org@localhost
Responsible-Changed-When: Sun, 10 Apr 2005 07:47:17 +0000
Responsible-Changed-Why:
Linux pkgsrc problem.


State-Changed-From-To: feedback->analyzed
State-Changed-By: wiz%netbsd.org@localhost
State-Changed-When: Sun, 10 Apr 2005 07:47:17 +0000
State-Changed-Why:
Here's the problem:
configure:3470: gcc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include/SDL 
-I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY    
+-I/usr/include -I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include -I/usr/local/include   
         
+-I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/pkg/include/freetype2 
-DGLX_GLXEXT_LEGACY -I/usr/include                        
+-I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include  -Wl,-R/usr/X11R6/lib 
-L/usr/X11R6/lib         
+-L/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3 
-Wl,-R/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3 -L/usr/pkg/gcc34/lib       
+-Wl,-R/usr/pkg/gcc34/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib                                             
+-L/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/ 
-Wl,-R/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/ conftest.c -llualib      
+-llua -L/usr/local/lib  -lintl -lm >&5                                         
                                                  
/usr/pkgsrc/games/fillets-ng/work/.x11-buildlink/lib/liblualib.so: undefined 
reference to `dlerror'                               
/usr/pkgsrc/games/fillets-ng/work/.x11-buildlink/lib/liblualib.so: undefined 
reference to `dlclose'                               
/usr/pkgsrc/games/fillets-ng/work/.x11-buildlink/lib/liblualib.so: undefined 
reference to `dlopen'                                
/usr/pkgsrc/games/fillets-ng/work/.x11-buildlink/lib/liblualib.so: undefined 
reference to `dlsym'                                 

i.e. the lua5 package needs some work on Linux, so that
lublualib.so is linked against libdl.

You could try adding
.include "../../mk/dlopen.buildlink3.mk"
to lang/lua/Makefile, reinstalling lua, and then
building fillets-ng again, but I guess this will not
be enough and someone using pkgsrc on Linux will have
to come up with a fix.






Home | Main Index | Thread Index | Old Index