KDevelop/gcc linking to libraries I don't want with SDL

Richard Garand richard at garandnet.net
Wed Dec 19 01:41:30 GMT 2001

Hash: SHA1

I'm making a game in KDevelop using the SDL, and the first two people who 
tried it out reported that the binary I sent them was missing a library. I 
got the output of ldd on my computer and the binary one of the people made on 
their computer, and it uses several libraries that I don't specify in the 
options that no one else has. When I watch the output during the build, the 
two final gcc commands (with all the object files) show the options to use 
these libraries.

I'm guessing that KDevelop is finding that libSDL.so uses these libraries (it 
does on my system) and assumes that I need them. Is there any way to disable 
this and only use libSDL directly? These are the four libraries shown from 
ldd on another system, and they are all used by libSDL on my system but not 
on another system that has the problem:

libasound.so.1 => not found
libesd.so.0 => not found
libXxf86dga.so.1 => not found
libXv.so.1 => not found
- -- 
Richard Garand   - r i c h a r d @ g a r a n d n e t . n e t
(L)ICQ: 12190132 - http://www.garandnet.net
"...systems wrongly configured with Microsoft SQL Server software..." -- ZDNet
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list