Bug 532663 - dso versioning problems
Summary: dso versioning problems
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: csound
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-03 11:47 UTC by Daniel Drake
Modified: 2009-12-10 04:31 UTC (History)
2 users (show)

Fixed In Version: 5.10.1-14.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-03 17:53:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix (3.45 KB, patch)
2009-11-23 17:11 UTC, Daniel Drake
no flags Details | Diff

Description Daniel Drake 2009-11-03 11:47:21 UTC
As reported at: http://dev.laptop.org/ticket/9583

csound-python installs /usr/lib/python2.6/site-packages/_csnd.so which is linked against libcsnd.so.5.2 which does not appear to be provided by any package, making the _snd python module unusable

/usr/lib/libcsnd.so is provided by the csound-python subpackage, but this is a bug in itself (unversioned .so files should only be installed by -devel packages)

Looks like the java subpackage also installs an unversioned .so file

Test case: python -c "import _csnd" should not return an error

Comment 1 Peter Robinson 2009-11-03 11:58:34 UTC
What version of csound are you using?

Comment 2 Daniel Drake 2009-11-03 12:17:48 UTC
5.10.1-13.fc11

Comment 3 Peter Robinson 2009-11-03 13:23:06 UTC
It should work fine. I've had confirmation from a couple of people that it does.

Comment 4 Daniel Drake 2009-11-03 13:35:14 UTC
Strange, somehow I tried to reproduce it on my regular F11 system and it worked OK because /usr/lib/libcsnd.so.5.2 was present as a symlink to libcsnd.so

However, /usr/lib/libcsnd.so.5.2 did not belong to any package ???

I removed csound and python-csound and that symlink. Then I can reproduce:

# rpm -e csound csound-python
# rm -f /usr/lib/libcsnd.so.5.2
# yum install python-csound
# python -c "import _csnd"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libcsnd.so.5.2: cannot open shared object file: No such file or directory

So, try and clean csound from your system and then try again.

Comment 5 Daniel Drake 2009-11-23 17:11:34 UTC
Created attachment 373173 [details]
fix

heres a fix

Comment 6 Peter Robinson 2009-12-03 15:19:16 UTC
just testing and building now

Comment 7 Peter Robinson 2009-12-03 17:32:09 UTC
dsd: the attached file is a diff of a diff. Any chance you can upload the original patch?

Comment 8 Peter Robinson 2009-12-03 17:33:18 UTC
Actually, don't worry. I see what you've done :-)

Comment 9 Peter Robinson 2009-12-03 17:53:24 UTC
Fixed in rawhide build 5.10.1-14. Will push new builds to F-12 and F-11 shortly.

Comment 10 Fedora Update System 2009-12-03 18:16:44 UTC
csound-5.10.1-14.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/csound-5.10.1-14.fc11

Comment 11 Fedora Update System 2009-12-03 18:16:55 UTC
csound-5.10.1-14.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/csound-5.10.1-14.fc12

Comment 12 Fedora Update System 2009-12-10 04:09:46 UTC
csound-5.10.1-14.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2009-12-10 04:31:38 UTC
csound-5.10.1-14.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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