FS#6293 - mpd --update-db fails with symbol lookup error

Attached to Project: Arch Linux
Opened by name withheld (Gullible Jones) - Sunday, 28 January 2007, 01:55 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 12 February 2007, 09:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When mpd --create-db is run, either as root or as a user, it fails with this message:

mpd: symbol lookup error: mpd: undefined symbol: AudioSpecificConfig
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 18 February 2007, 10:15 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Sunday, 28 January 2007, 10:02 GMT
I didn't get such error when created my db as mpd user. :-/
Comment by Mark (eidolon) - Thursday, 01 February 2007, 00:30 GMT
I can confirm I had this same problem until I used abs to build mpd from source. Afterwords it worked fine as user.
Comment by Alexander Rink (freigeist) - Sunday, 11 February 2007, 18:15 GMT
Same problem here...
Comment by Alexander Rink (freigeist) - Sunday, 11 February 2007, 18:22 GMT
Rebuilding from aur solved the problem here too
Comment by Aaron Griffin (phrakture) - Monday, 12 February 2007, 22:30 GMT
Odd, are you sure this happens as a user? I do not run mpd as root (for obvious reasons - it's not needed), and use mpd quite a bit, but have never seen this. Could someone provide steps to reproduce this? Does it have to do with the rc.d script specifically? Do you still get this error if you DO NOT run /etc/rc.d/mpd and instead run mpd manually as a user?
Comment by Slash Bunny (Slash) - Saturday, 17 February 2007, 19:29 GMT
Not sure when exactly this happened. My computer was down for a couple of weeks and I hadn't updated the database in a long time. Perhaps a kernel update or some other more low-level update?

Anyways, this doesn't just happen when creating database as root. It happens when trying to update as a user too (I use mpc to update). So it isn't a problem with the rc script or anything like that. I noticed new music wasn't in my database and checked the error log to find the error above. I had been using mpd-svn, so I went to rebuild it. Couldn't get it to build (another problem for another time). So I figured since extra has 0.12.1, that is good enough. I installed mpd from extra. Same error when trying to update as a user. So I rebuilt mpd via ABS and now it works without problems.

Somewhat odd that you can't reproduce it, phrak. I don't think I have made any significant changes to any system configuration in a long time.
Comment by Roman Kyrylych (Romashka) - Saturday, 17 February 2007, 20:45 GMT
Hm, so it seems that mpd requires a rebuild (which should be really soon because of http://bugs.archlinux.org/task/6130#comment14423
Report back if new mpd fixed your issue.
Comment by Slash Bunny (Slash) - Sunday, 18 February 2007, 05:33 GMT
It appears to have worked. I didn't have any new files to update, but I didn't get the error.

Loading...