Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87899 - dev-libs/libusb-0.1.10a compilation fails if libosp.so.3 symlink is missing
Summary: dev-libs/libusb-0.1.10a compilation fails if libosp.so.3 symlink is missing
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-04 05:57 UTC by Thomas Krüger
Modified: 2005-04-28 12:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Krüger 2005-04-04 05:57:51 UTC
libusb-0.1.10a compilations fails if /usr/lib/ligosp.so if not symlinked to libosp.so

Reproducible: Always
Steps to Reproduce:
1. check if /usr/lib/libosp.so.3 doesn't NOT exist
2. emerge dev-libs/libusb-0.1.10a





Checking and/or creating the symlink before compilation may be the one solution.
Comment 1 Chan Min Wai 2005-04-19 20:42:46 UTC
libusb-0.1.10a

is looking for libosp.so.3 where I have is libosp.so.4

Need help
Comment 2 Thomas Krüger 2005-04-20 00:28:39 UTC
Create a symlink:

ln -s /usr/lib/libosp.so /usr/lib/libosp.so.3
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2005-04-20 02:01:04 UTC
you have problems with your local install. run revdep-rebuild to make sure there aren't any broken reverse dependencies.
Comment 4 Robert Forsman 2005-04-28 12:03:06 UTC
revdep-rebuild isn't installed on my system.  Perhaps the people suggesting that should mention what ebuild provides the revdep-rebuild tool.

adding symlinks between different major versions of the library is a bad idea.

There are many other bugs about a missing libosp.so.3.  The solution seems to be to recompile the tool that is compiled against the now-missing libosp.so.3.  ldd will reveal if a particular binary is dynamically linked against libosp.  I use the epm tool (from the epm package) to figure out what package owns the malfunctioning tool so I can rebuild it:

epm -qf /usr/bin/openjade

Look at the command that was issued just before the error to figure out which tool was dynamically linked against the missing library.