bugGnash - The GNU Flash player - Bugs: bug #15602, cannot find -lGLU

 
 

bug #15602: cannot find -lGLU

Submitted by:  None
Submitted on:  Wed 01 Feb 2006 03:44:01 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 06 Feb 2006 03:12:13 PM UTC, comment #7:

The library names change to make them more unique.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 06 Feb 2006 10:31:38 AM UTC, comment #6:

Doing a rm -rf gnash and a new build seems that the link problem is gone.

Anonymous
Mon 06 Feb 2006 08:44:36 AM UTC, comment #5:

Compiles fine now, thanks.

However gnash won't run:
gnash: error while loading shared libraries: libgnashbackend.so.0: cannot open shared object file: No such file or directory

$ ldd `which gnash`
linux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7f51000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7e32000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7db3000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0xb7d6c000)
libgnashbackend.so.0 => not found
libgnashserver.so.0 => not found
libgnashasobjs.so.0 => not found
libgnashgeo.so.0 => not found
libgnashbase.so.0 => not found
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d33000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7d21000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7c56000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7c48000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7c36000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7c32000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7bc6000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7b4d000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7b1b000)
librt.so.1 => /lib/tls/librt.so.1 (0xb7b13000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7a5b000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7a38000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7a2f000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7913000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb790a000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb78e3000)
libmikmod.so.2 => /usr/lib/libmikmod.so.2 (0xb78a3000)
/lib/ld-linux.so.2 (0xb7f56000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb789e000)

Also I see this while doing ./configure :

Configurable options are:
Intel 810 LOD bias hack disabled (default)
MP3 (libmad) support disabled (default). Use --enable-mp3 to enable
POSIX Threads support enabled
Web server support disabled (default)

if test xno = xyes; then
DOCBOOK_TRUE=
DOCBOOK_FALSE='#'
else
DOCBOOK_TRUE='#'
DOCBOOK_FALSE=
fi
DMalloc support disabled (default)
XML and XMLSocket enabled (default)
Firefox plugin enabled (default)
GNOME help disabled (default)
Unit testing support enabled (default)

Configured paths for i686-pc-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2

Anonymous
Fri 03 Feb 2006 07:29:26 PM UTC, comment #4:

I just checked in a fix for this. The paths for the X11 libraries weren't being added, they are now.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Fri 03 Feb 2006 08:26:54 AM UTC, comment #3:

$sh -x configure |& tee gnash.log
don't work, so I did:

$ sh -x ./configure > gnash.log 2>&1

gnash.log is attached

Anonymous
Thu 02 Feb 2006 03:48:31 PM UTC, comment #2:

Can you please rerun configure like this to get me all the debug output ? "sh -x configure [other options] |& tee gnash.log". That'll give me the detail I need. /usr/X11R6/lib is in the search path and shuold have been added to LDFLAGS, so I'll need to see what didn't happen.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 02 Feb 2006 10:25:17 AM UTC, comment #1:

I get it working with:

make LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"

Anonymous
Wed 01 Feb 2006 03:44:01 PM UTC, original submission:

I get this error while compiling the current CVS (using a Slackware 10.2):

/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ljpeg -L/usr/local/lib -logg -logg -L/usr/lib -lxml2 -lz -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -I/usr/include/SDL -D_REENTRANT -lSDL_mixer -lGL -lGLU -o libgbackend.la -rpath /usr/local/lib render_handler_ogl.lo sound_handler_sdl.lo
g++ -shared -nostdlib /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crti.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/crtbeginS.o .libs/render_handler_ogl.o .libs/sound_handler_sdl.o -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/. -ljpeg -L/usr/local/lib /usr/lib/libogg.so -L/usr/lib /usr/lib/libxml2.so -lz /usr/lib/libSDL.so -lpthread /usr/lib/libSDL_mixer.so -lGL -lGLU -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6 -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../.. /usr/lib/./libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/crtendS.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crtn.o -Wl,-rpath -Wl,/usr/lib -Wl,-soname -Wl,libgbackend.so.0 -o .libs/libgbackend.so.0.0.0
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[2]: *** [libgbackend.la] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2

Output of configure:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml2... yes
checking for firefox-config... no
checking for mozilla-config... mozilla-config
checking for Firefox/Mozilla SDK... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for library file name specifics... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for mallinfo... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XmuCvtStringToOrientation in -lXmu... no
checking for XInput_find_display in -lXi... no
checking for XDisableAccessControl in -lX11... no
checking for zlib header... /usr/include
checking for zlib library... /usr/lib
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_mem_init in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_crc_read in -lpng... no
checking for libpng library... -L/usr/local/lib
checking for ming-config... no
checking for doxygen... /usr/bin/doxygen
checking ogg.h usability... no
checking ogg.h presence... no
checking for ogg.h... no
checking for libogg header... checking for ogg_sync_init in -logg... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 0.11.0... yes
checking for SDL_mixer header... /usr/include/SDL
checking for sdl_mixer library... /usr/lib
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glBegin in -lGL... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbase/Makefile
config.status: creating libgeometry/Makefile
config.status: creating server/Makefile
config.status: creating backend/Makefile
config.status: creating utilities/Makefile
config.status: creating plugin/Makefile
config.status: creating plugin/mozilla-sdk/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/Doxyfile
config.status: creating testsuite/Makefile
config.status: creating testsuite/actionscript.all/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Configurable options are:
Intel 810 LOD bias hack disabled (default)
MP3 (libmad) support disabled (default). Use --enable-mp3 to enable
POSIX Threads support enabled
Web server support disabled (default)
DMalloc support disabled (default)
XML and XMLSocket enabled (default)
Firefox plugin enabled (default)
GNOME help disabled (default)

Configured paths for i686-pc-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2
XML libs are: -L/usr/lib -lxml2 -lz -lm
PNG flags are: default include path
PNG libs are: -L/usr/local/lib
JPEG flags are: default include path
JPEG libs are: -ljpeg
OGG flags are: default include path
OGG libs are: -logg -logg
OPENGL flags are: default include path
Opengl libs are: -lGL -lGLU
SDL flags are: -I/usr/include/SDL -D_REENTRANT
SDL libs are: -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
SDL_Mixer flags are: -I/usr/include/SDL
SDL_Mixer libs are: -lSDL_mixer
Firefox flags are: -I/usr/include/mozilla-1.7.12/java -I/usr/include/mozilla-1.7.12/plugin -I/usr/include/mozilla-1.7.12 -I/usr/include/mozilla-1.7.12/nspr
Firefox libs are: -L/usr/lib/mozilla-1.7.12
POSIX Threads flags are: default include path
POSIX Threads libs are: -lpthreads

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #2066:  gnash.log.gz added by None (47KiB - application/x-tar)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 06 Feb 2006 03:12:13 PM UTCrsavoyeStatusReady For Test=>Fixed
  Open/ClosedOpen=>Closed
Fri 03 Feb 2006 07:29:26 PM UTCrsavoyeStatusNeed Info=>Ready For Test
Fri 03 Feb 2006 08:29:16 AM UTCNoneAttached File-=>Added gnash.log.gz, #3361
Thu 02 Feb 2006 03:48:31 PM UTCrsavoyeStatusNone=>Need Info
  Assigned toNone=>rsavoye

Back to the top


Powered by Savane 3.1-cleanup1