ld prints misleading errors about being unable to read symbols from .so files in /usr/lib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
I was trying to build Brogue and encountered this error:
mg@
gcc -O3 -o bin/brogue src/brogue/
/usr/bin/ld: src/platform/
/usr/bin/ld: note: 'SDL_GetAppState' is defined in DSO /usr/lib/
/usr/
collect2: ld returned 1 exit status
make: *** [bin/brogue] Error 1
The last message (about /usr/lib/libSDL) made me doubt the integrity of my system ("Invalid operation" while reading brings to mind disk failures). Apparently it doesn't mean anything: libSDL is just fine, my disk is just fine, and all I need to do is edit the Makefile and add -lSDL in the proper place to get it to link.
Can the misleading error message please be removed?
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: binutils 2.21.53.
ProcVersionSign
Uname: Linux 3.0.0-13-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Nov 9 03:11:05 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
LANGUAGE=
LC_CTYPE=
PATH=(custom, user)
LANG=lt_LT.UTF-8
SHELL=/bin/bash
SourcePackage: binutils
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (26 days ago)
is this still seen with 2.23 in quantal?