Bug 57826

Summary: nautilus didn't start
Product: [Retired] Red Hat Raw Hide Reporter: Joachim Kunze <jkunze>
Component: nautilusAssignee: Alexander Larsson <alexl>
Status: CLOSED DUPLICATE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: tjarls, tmokros
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-13 16:23:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Kunze 2001-12-26 16:37:56 UTC
Description of Problem:

nautilus couldn't be launched

Version-Release number of selected component (if applicable):
nautilus-1.0.6-1
fam-2.6.6-2

Actual Results:
nautilus: relocation error: /usr/lib/libfam.so.0: undefined symbol:
_ZTVN10__cxxabiv117__class_type_infoE

Comment 1 Havoc Pennington 2001-12-28 15:21:46 UTC
This has to be some weird toolchain bug rather than a Nautilus/fam issue.

Comment 2 Todd Mokros 2001-12-30 02:17:00 UTC
I made a comment on a recent fam bug, but I'll duplicate my comment here:

I'm having the same problem.  I have nautilus-1.0.6-2 and fam-2.6.6-2 installed.
 When I try to start nautilus it gives the following error:
nautilus: relocation error: /usr/lib/libfam.so.0: undefined symbol:
_ZTVN10__cxxabiv117__class_type_infoE

It appears that this symbol should be found in libstdc++.so.4. `ldd
/usr/lib/libfam.so.0` shows:
	libc.so.6 => /lib/i686/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

no reference to libstdc++ there, and since nautilus is C not C++, libstdc++
doesn't get linked in.  /usr/bin/fam doesn't have this problem since it's c++.

My guess is either the c++ code in libfam shouldn't be there, or libfam.so.0
needs to be linked with libstdc++.

Comment 3 Todd Mokros 2001-12-30 02:26:57 UTC
the following command allows nautilus to start:
LD_PRELOAD=/usr/lib/libstdc++.so.4 nautilus
so it looks like fam needs to be linked against libstdc++.  However, nautilus
can't load any of the sidebars this way, but I don't know if this is because of
the LD_PRELOAD or some other issue.  I'll wait for a good version of fam.  If I
get around to it, I might look at fixing fam myself.  As a side note, I did a
local compile of the plain fam-2.6.7 source and it had the same problem.

Comment 4 Todd Mokros 2001-12-30 02:45:11 UTC
This looks like a libtool problem, the link part of the build of libfam is here:
/bin/sh ../libtool --mode=link g++  -g -O2   -o libfam.la -rpath /usr/lib
-export-symbols fam.sym Client.lo fam.lo  

rm -fr .libs/libfam.la .libs/libfam.* .libs/libfam.*

gcc -shared  Client.lo fam.lo   -Wl,-soname -Wl,libfam.so.0
-Wl,-retain-symbols-file -Wl,fam.sym -o .libs/libfam.so.0.0.0

so, for some reason libtool is changing g++ to gcc.

Comment 5 Havoc Pennington 2002-01-13 16:23:51 UTC
I think alex was working on this issue

Comment 6 Alexander Larsson 2002-01-13 19:17:53 UTC

*** This bug has been marked as a duplicate of 57672 ***