Bug 195708 - synergyc: error while loading shared libraries: libstdc++.so.5
Summary: synergyc: error while loading shared libraries: libstdc++.so.5
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: synergy
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-16 18:19 UTC by Mark Sobell
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-22 15:37:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark Sobell 2006-06-16 18:19:23 UTC
Description of problem:
synergyc will not run

Version-Release number of selected component (if applicable):
synergy.i386 0:1.3.1-1.fc5 (from extras)

How reproducible:
always

Steps to Reproduce:
1. Use yum to install synergy
2. run synergyc
3.
  
Actual results:
synergyc: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory


Expected results:
should run w/o error

Additional info:

Comment 1 Jesse Keating 2006-06-16 18:23:11 UTC
Most likely the synergy package is missing a Requires: on this library.

Comment 2 Mark Sobell 2006-06-16 18:57:21 UTC
FC5 has /usr/lib/libstdc++.so.6 installed.

The rpm posted on sourceforge
(http://sourceforge.net/project/showfiles.php?group_id=59275&package_id=58013)
fails with

rpm -Uvh *rpm
error: Failed dependencies:
        libstdc++-libc6.2-2.so.3 is needed by synergy-1.3.1-1.i386


Comment 3 Jesse Keating 2006-06-16 19:19:09 UTC
You need compat-libstdc++-296 installed, as that is the package that provides
/usr/lib/libstdc++-libc6.2-2.so.3

The upstream package from sourceforge would need a Requires:
libstdc++-libc6.2-2.so.3 or some such.

Comment 4 Mark Sobell 2006-06-16 21:32:03 UTC
After playing with this for a while, it turns out I needed to install

compat-libstdc++-33.i386

Then synergyc worked.

Thanks Jesse.

Comment 5 Matthias Saou 2006-06-22 09:08:24 UTC
I can't reproduce here on FC5 i386 :

$ ls /usr/lib/libstdc++*
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so   /usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so  /usr/lib/libstdc++.so.6
/usr/lib/libstdc++-libc6.1-1.so.2         /usr/lib/libstdc++.so.6.0.8

[dude@python2 dude]$ sudo rpm -Uvh synergy-1.3.1-1.fc5.i386.rpm
Preparing...                ########################################### [100%]
   1:synergy                ########################################### [100%]
[dude@python2 dude]$ synergyc
synergyc: a server address or name is required
Try `synergyc --help' for more information.

Can you please try to run :
rpm -q --requires synergy | grep libstd
(should return :
libstdc++.so.6
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(GLIBCXX_3.4))

Comment 6 Mark Sobell 2006-06-22 15:00:11 UTC
$ rpm -q --requires synergy | grep libstd
libstdc++.so.6
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(GLIBCXX_3.4)


Comment 7 Matthias Saou 2006-06-22 15:17:47 UTC
Hmmm... could you try "synergyc --version" and "which synergyc"... this seems
like the typical case where you might have an older synergyc binary lying around
which gets found first in your $PATH...

Comment 8 Mark Sobell 2006-06-22 15:34:12 UTC
$ whereis synergyc
synergyc: /usr/bin/synergyc /usr/local/bin/synergyc

Thanks Matthias -- sorry for the trouble.

Comment 9 Matthias Saou 2006-06-22 15:37:07 UTC
No problem :-)


Note You need to log in before you can comment on or make changes to this bug.