Bug 532663

Summary: dso versioning problems
Product: [Fedora] Fedora Reporter: Daniel Drake <dsd>
Component: csoundAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: paul, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.1-14.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-03 17:53:24 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:
Attachments:
Description Flags
fix none

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.