[racket-dev] OT: ld static linking + linux version numbers -> ??

From: John Clements (clements at brinckerhoff.org)
Date: Wed Aug 31 19:53:06 EDT 2011


I have an autoconf script that's failing to detect a certain library, and I've tracked it down to a failure of

ld -lasound foo.c

..which tells me that it can't find -lasound.  Digging around in /usr/lib, I see that there's a libasound.so.2, but not a libasound.so.  I just created a symbolic link from libasound.so to libasound.so.2, and that seems to work, but that *can't* be the general solution. Can it?

Put differently: is there a way to specify a library version using an ld "-l" flag?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110831/4966b34a/attachment.p7s>

Posted on the dev mailing list.