This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: library not present in ldd after g++ compiled and linked my sources
Hi Florian,
On Wed, 2013-01-09 at 12:56 +0100, Florian Weimer wrote:
> On 01/09/2013 11:42 AM, michaelr wrote:
>
> > i run into a strange problem which i can't solve alone. The complete
> > projects builds fine (no errors or warnings) but the programm will
> > not start afterwards because one library (-lboost_date_time) is simply
> > not present when i run ldd on it.
>
> What's the error message when you try to start the program?
>
> (Not sure if this is actually a GCC problem, though.)
>
the message is: /usr/local/apache/modules/mod_wscmi.so undefined symbol:
_ZNK5boost9gregorian10greg_month15as_short_stringEv
it's undefined because the complete library is not linked into the
binary i think.