At 05:14 PM 2/27/2004 +0800, Peter wrote: [...]
No, I made a new installation of the latest gutenbrowser-0.6.8.3 into
/usr/local. The program is not included in the slackware package it used to be
in SUSE as kgutenbook(browser?) that's where I encountered it for the first
time. It was rather buggy.
Are you saying you got current gutenbrowser source from its upstream site and compiled it yourself? If so, the details of the candidate explanation change a bit, but library mismatch still suggests itself. I'd **guess** (this is partly from the leading "q", partly from seeing this library in /usr/local) that the version of libqt.so.2 that your Slackware install is using is out of date and does not include the required function call ... the fact that it is found it /usr/local rencourages me to think it is not part of the standard Slackware install so could be the source of an error.
I'm also inclined to suspect that you are compiling using header files that do not match this library; otherwise, the compile itself (more exactly, the link step) should error out.
The current (or near current, anyway) version of libqt that I see in my Debian installs is:
lrwxrwxrwx 1 root root 14 Jan 5 2003 /usr/lib/libqt.so.3 -> libqt.so.3.1.1
-rw-r--r-- 1 root root 6011396 Dec 20 2002 /usr/lib/libqt.so.3.1.1
You should probably follow the symlink pointers in the RH setup to find out what it is really using, then make sure your Slackware install has the same version installed (as well as its -dev counterpart, or whatever either Slackware or upstrream calls the package that provides the #include header files) by following its symlink trail, and getting a newer version if needed. Then try compiling again.
If that is not it, then the basic idea is probably still right, but I've guessed the wrong library. So check the others in the same way. All the big-picture differences between the two versions of gutenbrowser are in X libraries, and offhand I do not know why that should be so, at least not without more detail on how you installed gutenbrowser.
If I'm mistaken and you did not compile gutenbrowser from upstream source yourself, you are going to have to say more than "I made a new installation" for me to understand what you did.
Now the libs requirements in SW and RH are very different from each other for
gutenbrowser. How can that be for the same program. All the libs needed by
gutenbrowser in RH are present in SW. Why are they then not used? And there is
no "not found" running ldd. I added the end of strace gutenbrowser.
[EMAIL PROTECTED] said:
> you can grep "qInitNetworkProtocols__Fv" in the various include directories
(the RH versions)
Yielded negative
ldd /usr/local/bin/gutenbrowser gives:
cat gutbrowslibsSlackWare:
libqt.so.2 => /usr/local/qt/lib/libqt.so.2 (0x40016000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40515000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x40523000)
libstdc++-libc6.2-2.so.3 => /usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.s
o.3 (0x405c7000)
libm.so.6 => /lib/libm.so.6 (0x4060d000)
libc.so.6 => /lib/libc.so.6 (0x40630000)
libstdc++-libc6.1-1.so.2 => /usr/i486-slackware-linux/lib/libstdc++-libc6.1-1.s
o.2 (0x40766000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
cat gutbrowslibsRedHat: libqt.so.2 => /usr/lib/qt-2.3.1/lib/libqt.so.2 (0x40029000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x404f1000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x404ff000) libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x405df000) libm.so.6 => /lib/i686/libm.so.6 (0x40621000) libc.so.6 => /lib/i686/libc.so.6 (0x40643000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4077b000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40784000) libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x4079b000) libpng.so.2 => /usr/lib/libpng.so.2 (0x407aa000) libz.so.1 => /usr/lib/libz.so.1 (0x407cc000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x407da000) libmng.so.1 => /usr/lib/libmng.so.1 (0x407f8000) libdl.so.2 => /lib/libdl.so.2 (0x4083c000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40840000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40849000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40851000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40876000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40896000)
strace gutenbrowser ends:
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=24253, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0
x40502000
read(5, "# $Xorg: compose.dir,v 1.3 2000/"..., 4096) = 4096
close(5) = 0
munmap(0x40502000, 4096) = 0
access("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", R_OK) = 0
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=20412, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0
x40502000
read(5, "# $Xorg: iso8859-1,v 1.3 2000/08"..., 4096) = 4096
read(5, "\n<Multi_key> <a> <underscore>\t\t:"..., 4096) = 4096
read(5, "\t: \"\\303\"\tAtilde\n<Multi_key> <mi"..., 4096) = 4096
read(5, "\t: \"\\355\"\tiacute\n<Multi_key> <i>"..., 4096) = 4096
read(5, "te\n<Multi_key> <Y> <apostrophe>\t"..., 4096) = 4028
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40502000, 4096) = 0
brk(0) = 0x811c000
brk(0x811d000) = 0x811d000
write(3, "\2\0\4\0:[EMAIL PROTECTED]:\0\0\0\0\10\0\0"..., 56) = 56
read(3, 0xbffff3f8, 32) = -1 EAGAIN (Resource temporarily
unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\0006\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\350\353"..., 32) =
32
write(3, "\24\0\6\0:\0\0\0\27\0\0\0\0\0\0\0\0\0\0\0\0 \0\0", 24) = 24
read(3, 0xbffff490, 32) = -1 EAGAIN (Resource temporarily
unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\0007\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\350\353"..., 32) =
32
brk(0) = 0x811d000
brk(0x8120000) = 0x8120000
brk(0) = 0x8120000
brk(0x8121000) = 0x8121000
writev(2, [{"gutenbrowser", 12}, {": ", 2}, {"relocation error", 16}, {": ",
2},
{"gutenbrowser", 12}, {": ", 2}, {"undefined symbol: qInitNetworkPr"..., 43},
{
"", 0}, {"", 0}, {"\n", 1}], 10gutenbrowser: relocation error: gutenbrowser:
und
efined symbol: qInitNetworkProtocols__Fv
) = 90
exit_group(127) = ?
- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs