Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #456

will linker choose static before dynamic library?

From "Orson Cart" <ex-privat@parts.org>
Subject will linker choose static before dynamic library?
Newsgroups comp.os.linux.development.apps
Message-ID <4f5b2f79$1@x-privat.org> (permalink)
Date 2012-03-10 11:39 +0100
Organization X-Privat NNTP Server - http://www.x-privat.org

Show all headers | View raw


I was trying to build a supposedly well-behaved package, and got lots
of undefined reference errors.
The reason was that I had libX11.a from an attempt to build a crap
package that uses this obsolete library.
Now I also have libX11.so, so I renamed libX11.a and retried the
make.
All goes smoothly!
So if a developer assumes they are using the .so library,
do they get bitten, or can they use flags to shun the static relic?

Back to comp.os.linux.development.apps | Previous | Next | Find similar


Thread

will linker choose static before dynamic library? "Orson Cart" <ex-privat@parts.org> - 2012-03-10 11:39 +0100

csiph-web